1. 程式人生 > >Book Review: Machine Learning with Python Cookbook

Book Review: Machine Learning with Python Cookbook

Additional Considerations

The only criticism I can place is that I wish there were more topics covered in the content. Some specific areas I would have liked to learn about are coverage of ensemble methods as well as a discussion about xgboost.

In some cases, it might be useful to understand some of the additional libraries in the python eco-system. From a NLP

perspective, I know that NLTK is the standard but have heard good things about spaCy as well so would be curious where it fits in this space. The neural network space is changing rapidly so I think keras was a good choice but it might be interesting to learn about some of the other options like PyTorch.

I am sure there are a lot of other potential topics that were considered so I can imagine it was really tough to decide what was in and out of scope. All of my suggestions are based on topics that sprang to my mind and are meant only as potential ideas for another edition (if that is the plan).

Originally, I had some concerns about using the basic data sets (Titanic, Iris, etc) in most examples. However, now that I have reflected on it, I like that the examples are so self-contained and think it would be much more difficult to create such a great resource if there needed to be more explanation of the data.

Also, it would be nice if the code examples were available online so you could do some quick copying and pasting instead of typing it all in by hand. This may be available so if I find it, I’ll be sure to update it.

The final comment I have is related to the price of the book. The current US list price is $59.99 which may seem steep for a 340 page book. However, I think the book is worth it and encourage those interested to purchase it. The content is great and I see it being very useful to those using pandas + scikit-learn on a frequent basis. It is clear that Chris knows what he is talking about and he explains the details well. I predict that this book will become well broken in as I frequently refer to it.

The second reason it is important to purchase these books is so that authors and publishers know that the python community values this type of content. I can not imagine how long it took Chris to write this book. I can only guess that the royalties will probably not afford him an early retirement any time soon! Still, I do want to make sure he gets at least some compensation for this valuable resource and want to provide encouragement to him for a job well done.