python-machine-learning-book-3rd-edition icon indicating copy to clipboard operation
python-machine-learning-book-3rd-edition copied to clipboard

Errata Page 522 ch15

Open jadeidev opened this issue 4 years ago • 1 comments

@rasbt The following equation on page 522: image Assuming array index of x and w starts at 0 (which is suggested by the fact that the index k starts at 0) the equation will give for y[0] and m=4 and p=0: y[0]=x[4]w[0] + x[3]w[1] + x[2]w[2] + x[1]w[3] thereby skipping x[0] i would suggest the following correction image Likewise image And the example should be corrected to image

jadeidev avatar Feb 06 '21 22:02 jadeidev

Good catch. Sorry about that and thanks for the feedback. We will fix that in the next edition

rasbt avatar Feb 08 '21 00:02 rasbt