GokuMohandas / Made-With-ML

Learn how to design, develop, deploy and iterate on production-grade ML applications.
https://madewithml.com
MIT License
37.51k stars 5.95k forks source link

Update 07_Logistic_Regression.ipynb - softmax definition fix #212

Closed matospiso closed 1 year ago

matospiso commented 2 years ago

Changed $\hat{y} = \frac{e^{XW_y}}{\sum_j e^{XW}}$ to $\hat{y} = \frac{e^{XW}}{\sum_j e^{XW_j}}$ in the equation defining softmax (located after the second paragraph).

matospiso commented 2 years ago

I just realised that the same equation is used throughout the notebook and the same change should be applied to those equations as well.