GLOBAL RESEARCH SYNDICATE
No Result
View All Result
  • Login
  • Latest News
  • Consumer Research
  • Survey Research
  • Marketing Research
  • Industry Research
  • Data Collection
  • More
    • Data Analysis
    • Market Insights
  • Latest News
  • Consumer Research
  • Survey Research
  • Marketing Research
  • Industry Research
  • Data Collection
  • More
    • Data Analysis
    • Market Insights
No Result
View All Result
globalresearchsyndicate
No Result
View All Result
Home Data Analysis

Python Machine Learning, 3rd Ed

globalresearchsyndicate by globalresearchsyndicate
May 26, 2020
in Data Analysis
0
Python Machine Learning, 3rd Ed
0
SHARES
5
VIEWS
Share on FacebookShare on Twitter

Authors: Sebastian Raschka and Vahid Mirjalili
Publisher: Packt
Date: December 2019
Pages: 770
ISBN: 978-1789955750
Print: 1789955750
Kindle: B07VBLX2W7
Audience: Python devs interested in ML
Rating: 5
Reviewer: Mike James
A new edition of a good book on ML is worth a close look.


This is the third edition of a book I reviewed in 2018 and thought was quite good, so I was interested to see if it could get better. It was already a big book and the new addition adds more than 100 pages.

The basic approach of the book remains the same and it introduces the ideas in a practical way using all of the standard libraries that have accumulated around Python. The third edition includes an upgrade to Tensorflow 2 and material on GANs and reinforcement learning.

This book introduces machine learning in the broad sense. Many of the techniques would have been called statistics not so long ago. It does cover neural networks and deep learning, but this isn’t the only topic. If you are looking for something that focuses on just deep learning then you probably need a different book.

The book assumes that you know Python and don’t need any explanations of how to get a program up and running. It presents a lot of code and practical examples. You can download the code and try things out. The technical level required to read it isn’t that high, but be warned there are lots of equations. This isn’t a deep theory book but it isn’t for the complete beginner either. The ideas are explained reasonably well and as long as you have some idea about math and programming you will get something out of it. The “difficult” math sections are highlighted and you can avoid them on first reading, but I’d advise at least getting to know them a little.

Banner

After the usual introductory chapter on what machine learning is and setting up the Python packages you need, the book moves on to look at the first machine learning technique – the Perceptron. You get to implement one in Python and its near neighbor, but much less well known, Adaline. These two are classical machine learning and represent where it all started. It is also nice to see classic datasets being used – Fisher’s Iris data must have been used to teach a lot of machine learning practitioners over the years!

Chapter 3 uses scikit-learn to investigate some classical techniques – logistic regression, SVM and decision trees. A very nice introduction complete with a discussion of regularization. Chapter 4 is about working with data – always the most difficult and specific aspect of any project. Oddly at the end of the chapter we have a discussion of L1 and L3 regularization and random forests – surely these should be in another chapter?

Chapter 5 is another classical set of techniques that so many machine learning books ignore. Dimension reduction is important but the techniques are far less well known than more recent approaches such as the auto-encoder. After dealing with standard Principle Components Analysis (PCA) we have an account of Linear Discriminant Analysis (LDA) and finally kernel PCA to account for non-linearities. LDA in particular is almost a forgotten approach, but it is a powerful technique that can give you insights into your data. There is no mention of multidimensional scaling as a dimension reduction method, but this is less important.

in Chapter 6 we move on to model evaluation and how to use cross validation and the various forms of performance measurement. Chapter 7 introduces the interesting idea that two or more classifiers are better than one – ensemble learning. Chapter 8 is a sort of case study on using machine learning for sentiment analysis and Chapter 9 converts this into a web application using PythonAnywhere. 

Chapter 10 gets back to the main subject with a closer look at linear regression. The chapter goes into regularized regression, ridge and lasso. It also covers polynomial regression, but not step-wise regression. For some strange reason this most useful technique hardly ever seems to be covered in machine learning books. What is more there is also a step-wise version of discriminant analysis that is also ignored, even though it is very useful in feature selection problems.The chapter ends with a look at decision tree regression and random forest regression.

Chapter 11 is a basic introduction to cluster analysis. It’s not very complete, but enough for you to decide if you might need to use it. If you do then my recommendation for the best book on this topic is still Cluster Analysis 5th Edition by Brian S. Everitt, et al.

Chapter 12 is the start of a block of chapters on neural networks and implementing them in TensorFlow 2. The usefulness of these chapters is varied. Certainly if your main interest is in TensorFlow then you probably need a different book. The best parts are the general discussion of neural networks. If you follow the examples you get to repeat some classic experiments on the MNIST dataset for example. 

The final chapters cover convolutional networks reasonably well and introduce the topic of recurrent neural networks. Both are tough topics but they are explained well. A completely new chapter on Generative Adverserial Networks – GANs corrects an omission from the previous edition. The final chapter is also new and covers the very successful use of reinforcement learning to train neural networks. It goes into the necessary math including Markov decision processes and policy evaluation. The example in this chapter users the OpenAI Gym toolkit.

This is a good book on AI if you want to work in Python. It isn’t focused on neural networks, but the new edition extends the coverage to GANs and reinforcement learning. If you want a book entirely on neural networks then this isn’t it – but I would advise you against being so narrow. If you want a book that covers the broader field with practical examples then this is a book you should consider. I particularly liked the inclusion of traditional statistical methods such as discriminant analysis. Notice that it isn’t exhaustive of the traditional statistical approaches to machine learning and it isn’t exhaustive on neural networks – specifically there’s no coverage of auto-encoders and nothing about differentiable learning, but it can be forgiven these shortcomings as these topics are not mainstream.

Overall it’s a clear and practical introduction to modern machine learning with just enough math to make sure you know what is going on and enough basic explanation if you are having trouble with the math. 

If you are, or want to be, a Python programmer working with a wide range of machine learning techniques, I can recommend Python Machine Learning.

For recommendations of Python books see Books for Pythonistas and Python Books For Beginners in our Programmer’s Bookshelf section.

 

  • Mike James is the author of Programmer’s Python: Everything is an Object published by I/O Press as part of the  I Programmer Library. With the subtitle “Something Completely Different” this is for those who want to understand the deeper logic in the approach that Python 3 takes to classes and objects.

 

To keep up with our coverage of books for programmers, follow @bookwatchiprog on Twitter or subscribe to I Programmer’s Books RSS feed for each day’s new addition to Book Watch and for new reviews.


 

Related Posts

How Machine Learning has impacted Consumer Behaviour and Analysis
Consumer Research

How Machine Learning has impacted Consumer Behaviour and Analysis

January 4, 2024
Market Research The Ultimate Weapon for Business Success
Consumer Research

Market Research: The Ultimate Weapon for Business Success

June 22, 2023
Unveiling the Hidden Power of Market Research A Game Changer
Consumer Research

Unveiling the Hidden Power of Market Research: A Game Changer

June 2, 2023
7 Secrets of Market Research Gurus That Will Blow Your Mind
Consumer Research

7 Secrets of Market Research Gurus That Will Blow Your Mind

May 8, 2023
The Shocking Truth About Market Research Revealed!
Consumer Research

The Shocking Truth About Market Research: Revealed!

April 25, 2023
market research, primary research, secondary research, market research trends, market research news,
Consumer Research

Quantitative vs. Qualitative Research. How to choose the Right Research Method for Your Business Needs

March 14, 2023
Next Post
Genetic genealogy companies Ancestry, 23andMe begin COVID-19 research

Genetic genealogy companies Ancestry, 23andMe begin COVID-19 research

Categories

  • Consumer Research
  • Data Analysis
  • Data Collection
  • Industry Research
  • Latest News
  • Market Insights
  • Marketing Research
  • Survey Research
  • Uncategorized

Recent Posts

  • Ipsos Revolutionizes the Global Market Research Landscape
  • How Machine Learning has impacted Consumer Behaviour and Analysis
  • Market Research: The Ultimate Weapon for Business Success
  • Privacy Policy
  • Terms of Use
  • Antispam
  • DMCA

Copyright © 2024 Globalresearchsyndicate.com

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT
No Result
View All Result
  • Latest News
  • Consumer Research
  • Survey Research
  • Marketing Research
  • Industry Research
  • Data Collection
  • More
    • Data Analysis
    • Market Insights

Copyright © 2024 Globalresearchsyndicate.com