rasbt / python-machine-learning-book

The "Python Machine Learning (1st edition)" book code repository and info resource
MIT License
12.18k stars 4.39k forks source link

Solving little errors while reading the book #59

Closed AlexanderKunkel closed 6 years ago

AlexanderKunkel commented 6 years ago

This is a fix of little errors and warnings i had with Python 3.6.2 and NumPy 1.13.1

pep8speaks commented 6 years ago

Hello @AlexanderKunkel! Thanks for submitting the PR.

Line 111:1: E305 expected 2 blank lines after class or function definition, found 1 Line 133:1: E305 expected 2 blank lines after class or function definition, found 1 Line 164:1: E305 expected 2 blank lines after class or function definition, found 1 Line 334:1: E305 expected 2 blank lines after class or function definition, found 1

Line 178:1: E305 expected 2 blank lines after class or function definition, found 1 Line 600:1: E305 expected 2 blank lines after class or function definition, found 1

rasbt commented 6 years ago

Thanks a lot! While I've updated all the Jupyter Notebooks, I totally forgot about the scripts versions!