Learning scikit-learn: Machine Learning in Python
Use the Amazon App to scan ISBNs and compare prices.
Incorporating machine learning in your applications is becoming essential. As a programmer this book is the ideal introduction to scikit-learn for your Python environment, taking your skills to a whole new level.
Overview
- Use Python and scikit-learn to create intelligent applications
- Apply regression techniques to predict future behaviour and learn to cluster items in groups by their similarities
- Make use of classification techniques to perform image recognition and document classification
In Detail
Machine learning, the art of creating applications that learn from experience and data, has been around for many years. However, in the era of big data, huge amounts of information is being generated. This makes machine learning an unavoidable source of new data-based approximations for problem solving.
With Learning scikit-learn: Machine Learning in Python, you will learn to incorporate machine learning in your applications. The book combines an introduction to some of the main concepts and methods in machine learning with practical, hands-on examples of real-world problems. Ranging from handwritten digit recognition to document classification, examples are solved step by step using Scikit-learn and Python.
The book starts with a brief introduction to the core concepts of machine learning with a simple example. Then, using real-world applications and advanced features, it takes a deep dive into the various machine learning techniques.
You will learn to evaluate your results and apply advanced techniques for preprocessing data. You will also be able to select the best set of features and the best methods for each problem.
With Learning scikit-learn: Machine Learning in Python you will learn how to use the Python programming language and the scikit-learn library to build applications that learn from experience, applying the main concepts and techniques of machine learning.
What you will learn from this book
- Set up scikit-learn inside your Python environment
- Classify objects (from documents to human faces and flower species) based on some of their features, using a variety of methods from Support Vector Machines to Naïve Bayes
- Use Decision Trees to explain the main causes of certain phenomenon such as the Titanic passengers survival
- Predict house prices using regression techniques
- Display and analyse groups in your data using dimensionality reduction
- Make use of different tools to preprocess, extract, and select the learning features
- Select the best parameters for your models using model selection
- Improve the way you build your models using parallelization techniques
Approach
The book adopts a tutorial-based approach to introduce the user to Scikit-learn.
Who this book is written for
If you are a programmer who wants to explore machine learning and data-based methods to build intelligent applications and enhance your programming skills, this the book for you. No previous experience with machine-learning algorithms is required.
Customers who viewed this item also viewed
What other items do customers buy after viewing this item?
Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Product details
- Publisher : Packt Publishing (November 25, 2013)
- Language : English
- Paperback : 118 pages
- ISBN-10 : 1783281936
- ISBN-13 : 978-1783281930
- Item Weight : 7.7 ounces
- Dimensions : 7.5 x 0.27 x 9.25 inches
- Best Sellers Rank: #2,889,210 in Books (See Top 100 in Books)
- #757 in Software Design Tools
- #809 in Machine Theory (Books)
- #3,111 in Python Programming
- Customer Reviews:
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Pros:
free software (if you can get it to run on your computer...not very easy)
book is very affordable
Cons:
software is devilishly hard to get working (I had to get a commercial version to make it work on Win7X64)
authors code is loaded with errors, you MUST find an errata list and keep it with you as you read (if you run the code)
even the errata list from the publisher is incomplete I found several additional errors and I ran every problem
authors explanation of ML and software is mushy, feels like he's giving you a quick demo in his office on a few interesting ML problems
Most of these follow-along-with-me books have these same problems, I've read many, so I was prepared for frustration but if you're not a coder or if you're new to installing software I'd suggest reading the scikit example pages that you can find on the interwebs.
I really, really want to use these methods to help pick winning stocks so I'm highly motivated to hammer through the problems and make it work; great starting point for me. Your mileage may vary.
The book is very coherence and deductive.
Also, the ipython notebooks are awesome!
Very recommended even as a review on machine learning
"Machine Learning in Python" by Bowles, published in 2015 by Wiley, 360 pages, $25 for the cheapest hard-copy now available from Amazon (including shipping)
"Designing Machine Learning Systems with Python" by Julian, 2016, Packt, 232 pages, $42
"Mastering Python for Data Science" by Madhavan, 2015, Packt, 294 pages, $39
"Learning Data Mining with Python" by Layton, 2015, 369 pages, $43
"Python Data Science Cookbook" by Subramanian, 2015, 347 pages, $48
"Data Science From Scratch" by Grus, 2015, 330 pages, $24
"Learning scikit-learn" by Moncecchi and Garreta, 2013, 118 pages, $28
"Building Machine Learning Systems with Python" by Coelho and Richert, 2015, 305 pages, $49
"Python Machine Learning" by Raschka, 2015, 454 pages, $34
I started with Grus and Julian; both left me with mixed feelings, so I decided to revisit them when I surveyed the rest of the field. Madhavan's book was clearly not up to scratch - gone. Here I noticed how much thinner than the rest "Learning scikit-learn" was - another easy elimination? I guess so - I am looking for something more substantial. You don't want to buy the overpriced hardcopy, but the Kindle edition might be a valid choice for some readers. The book is not great, and definitely does not have any edge on "scikit-learn" coverage over books with less specific titles - but is not bad, well above the Packt average.
Top reviews from other countries
As someone already familiar with machine learning (ml) through both other books and Coursera courses I found the focus on implementation and programming and complete lack of maths or theory helpful as I am already quite familiar with the background and maths. My goal in reading this book was only to quickly get up to speed with the Scikit package.
Before reading this book I had significant R, some MATLAB ml experience and with some python experience outside of Scikit. However after reading this book and spending the last 3 days working the examples and a few Kaggle competitions I can say with certainty that Scikit is now my preferred choice for ml and I will be investing significantly more time in it going forwards.
I will be involved in implementing an ml project in work during the next few months and being able to digest this book over a weekend has been tremendously helpful.
So to summarise
This book is great if:
A relatively experienced programmer preferably in Python but it doesn't matter too much. (Python for Data Analysis might be a good read before for those unfamiliar)
You are more than familiar with machine learning, know your supervised vs unsupervised learning algorithms, know your different models, understand what is going on in the background etc...
Want to quickly get a handle on using Scikit with minimal extra material
This book is not for you if:
You want to understand or get into either python or machine learning
You want explanation or understanding of many of the other packages used outside Scikit.




