Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Dear Readers,

again, I tried my best to cut all the little typos, errors, and formatting bugs that slipped through the copy editing stage. Even so, while I think it is just human to have a little typo here and there, I know that this can be quite annoying as a reader!

To turn those annoyances into something positive, I will donate $5 to UNICEF USA, the US branch of the United Nations agency for raising funds to provide emergency food and healthcare for children in developing countries, for each little unreported buglet you find!

Also below, I added a small leaderboard to keep track of the errata submissions and errors you found. Please let me know if you don't want to be explicitely mentioned in that list!

  • Amount for the next donation: 30$
  • Amount donated: 0$

Contributor list:

  1. Gogy ($10)
  2. Christian Geier ($5)
  3. Pieter Algra / Carlos Zada ($5)
  4. @gabramson ($5)
  5. Elias Strehle ($5)





Errata

pg. 28

In the code example in the info box (sum([j * j for i, j in zip(a, b)])), it should be i * j, not j * j; otherwise, we would be calculating b^T b, not a^T b.

pg. 55

pg. 91

On the top of the page, it says "Here, p (i | t ) is the proportion of the samples that belong to class c." The "c" should be changed to i.

pg. 136

The print version is incorrectly shows

>>> plt.xticks(range(X_train.shape[1]),
...            feat_labels, rotation=90)

instead of

>>> plt.xticks(range(X_train.shape[1]),
...            feat_labels[indices], rotation=90)

It seems that I did it correctly in the notebook. Also, the list of feature importances and the plot seem to be correct in the book. However, somehow the [indices] array index went missing in the print version.

pg. 155

pg. 221

There's been a mix-up, the epsilon and the 0.25 should be swapped