nfmcclure / tensorflow_cookbook

Code for Tensorflow Machine Learning Cookbook
https://www.packtpub.com/big-data-and-business-intelligence/tensorflow-machine-learning-cookbook-second-edition
MIT License
6.24k stars 2.41k forks source link

Formatting of 02_linear_svm #71

Closed Nukesor closed 7 years ago

Nukesor commented 7 years ago

Hi!

First of all thanks for the great cookbook. I just looked through a few of you files and noticed a few lines of code that looked kind of messy. I did a little bit of formatting in flake8 style. If you don't like these changes just close the PR. In case you like them, I'll probably add a few more PR's soon.

The code still runs. I did a double check.

Best regards Arne

nfmcclure commented 7 years ago

Thanks! Your formatting on the py files is probably for the best. Sorry it took a bit to get to this. If you're interested in continuing through the py files, any help would be appreciated.