Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page 4 Block of code below second paragraph |
The hashed comments are incorrect. They read: Note from the Author or Editor: |
James Whitehead | Jan 15, 2016 | Mar 10, 2017 |
Printed | Page 7 3rd paragraph |
The statement "For example, Thor (id 4) has no friends in common with Devin (id 7) , . . ." is incorrect. They share the friend Clive (id 5). Note from the Author or Editor: |
Stephen N. Cole | May 17, 2015 | Mar 10, 2017 |
Printed | Page 40 Code |
In the histogram code, please add the following to resolve Counter(): Note from the Author or Editor: |
_j_j | Jun 01, 2016 | Mar 10, 2017 |
Printed | Page 52 Top of page |
The following sentence at the top of the page: Note from the Author or Editor: |
Matt Goldwasser | Feb 10, 2016 | Mar 10, 2017 |
Printed | Page 67 2nd paragraph |
The list x contains second value 1, whereas it should contain second value -1. Note from the Author or Editor: |
Zach Landes | Jul 05, 2015 | Mar 10, 2017 |
Printed, PDF | Page 69 Paragraph #2 |
In the first sentence of paragraph #2, it says: "For our purposes you should think of probability as a way of quantifying the uncertainty associated with events chosen from a some universe of events." ('universe' is italicized) Note from the Author or Editor: |
Anonymous | Dec 14, 2016 | Mar 10, 2017 |
Printed | Page 75 second paragraph |
The sentence "It has the distribution function:" would be improved by substituting "probability density" in place of "distribution". In the preceding section the author introduced the "probability density function" and the "cumulative distribution function". Given that context the reader might incorrectly infer that the equation following the second paragraph is the Normal cumulative distribution function. Note from the Author or Editor: |
Stephen N. Cole | Jan 01, 2016 | Mar 10, 2017 |
Printed | Page 78 the function inverse_normal_cdf at the top of the page |
Values are assigned to low_p and hi_p, but these are never used. Statements that refer to low_p and hi_p should be simplified. Note from the Author or Editor: |
Stephen N. Cole | Mar 27, 2016 | Mar 10, 2017 |
Page 83 1st paragraph |
In: Note from the Author or Editor: |
Luis Miguel Soares | Jun 24, 2015 | Mar 10, 2017 | |
Printed | Page 83 last line |
both 50 should be 500 Note from the Author or Editor: |
Dong Zhou | Apr 16, 2016 | Mar 10, 2017 |
Printed | Page 84 2nd/3rd paragraph |
The title of a section has disappeared between the 2nd and 3rd paragraphs. It should be p-values. This title appears at the end of the 2nd paragraph with its markup before: === Note from the Author or Editor: |
Pierre Nugues | Aug 12, 2015 | Mar 10, 2017 |
Printed | Page 89 1st statement in function beta_pdf |
If beta_pdf is called with [x=0 and alpha<1] or with [x=1 and beta<1], the function crashes, because python does not permit 0 to be raised to a negative power. An easy fix is to change the 1st statement to Note from the Author or Editor: |
Stephen N. Cole | Jun 15, 2016 | Mar 10, 2017 |
Printed | Page 106 2nd code block |
for line in file: Note from the Author or Editor: |
Dong Zhou | Apr 16, 2016 | Mar 10, 2017 |
Printed | Page 108 lines 1 through 14 |
The script in lines 1 through 9 on page 108 is incorrect, because it does not produce the results printed on lines 11 through 14. Instead, the lines of text in bad_csv.txt get merged into a single line of text - as if the f.write("\n") were missing. One way to correct the error is to change the 6th line to "with open('bad_csv.txt', 'w') as f:" (omitting 'b' from open's 2nd argument). This script does not need 'wb', because it does not use the CSV module. Another (less elegant) resolution is to replace line 9 with f.write("\r\n"). Note from the Author or Editor: |
Stephen N, Cole | Nov 27, 2016 | Mar 10, 2017 |
Printed | Page 147 3rd paragraph from bottom |
figure out what do Note from the Author or Editor: |
Dong Zhou | Apr 16, 2016 | Mar 10, 2017 |
Printed | Page 167 2nd paragraph from bottom |
all 'spam' in this paragraph should be 'non-spam' Note from the Author or Editor: |
Dong Zhou | Apr 17, 2016 | Mar 10, 2017 |
Printed | Page 181 Paragaph after "we will understimage beta(1)" |
The predictions would tend to be too small for users who work many hours and too large for users who work few hours, because Beta(2) > 0 and we "forgot" to include it. Note from the Author or Editor: |
J.R. Scally | Jan 21, 2016 | Mar 10, 2017 |
Printed | Page 185 2nd code block |
'unemployed' should be 'work_hours' Note from the Author or Editor: |
Dong Zhou | Apr 18, 2016 | Mar 10, 2017 |
Page 219 backpropagate code listing |
``` Note from the Author or Editor: |
Anonymous | Feb 26, 2016 | Mar 10, 2017 | |
Printed | Page 295 code block for matrix_multiply_mapper and matrix_multiply_reducer |
For the function of matrix_multiply_mapper, two matrix indexes should be passed: the row number of A and column number of B Note from the Author or Editor: |
Dong Zhou | Apr 23, 2016 | Mar 10, 2017 |