data-science-from-scratch
data-science-from-scratch copied to clipboard
code for Data Science From Scratch book
On p. 84, you have a random "=== p-values" at the end of a paragraph. I'm guessing this was meant to be a section heading and there was just a...
I imagine you have already caught this since you've fixed the code on GitHub, but the function definition for `binomial` on p. 79, you define it as `binomial(n, p)`, and...
Hey man, your book is seriously awesome. I just caught one typo I would bring to your attention. On pg. 83, toward the top you say the mean should be...
Missing code for chapter2
I have been reproduced your code and it failed here and I find that the code below is mismatched in dict names ``` from collections import defaultdict # keys are...
In the code to produce picture 1-3 you miss the line code to produce title of the picture. see [code](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/introduction.py#L139) You should add a line `plt.title("Salary by Years Experience")` into...
code to sort people from the most friends to the least friends is missing in introduction.py .
Please add a new comment about `from __future__ import division` When someone is new to Python and he follows your directions step by step then he wiil find his is...
The whitespace in git appears different from the whitespace in the book, and so far the book appears to have it right.
I am trying to run the code on page 121 (with a modification that I had to make, see [my pull request](https://github.com/joelgrus/data-science-from-scratch/pull/112) for details), having already authenticated and saved all...