rasbt / machine-learning-book

Code Repository for Machine Learning with PyTorch and Scikit-Learn
https://sebastianraschka.com/books/#machine-learning-with-pytorch-and-scikit-learn
MIT License
3.64k stars 1.31k forks source link

Typo on Page 38? #64

Closed claudio525 closed 2 years ago

claudio525 commented 2 years ago

I think there is a typo in the last line of the screenshot (bottom of page 38); shouldn't the summation on the right be over the weights/inputs, i.e. $j$ instead of $i$ (training samples)?

Screen Shot 2022-06-07 at 16 18 43
rasbt commented 2 years ago

You are absolutely right, it should be

$$\sum_j wj x^{(i)}{j} + b$$

Will add it to the errata. Thanks for posting!