Jump to ratings and reviews
Rate this book

Machine Learning in Action

Rate this book

The ability to take raw data, access it, filter it, process it, visualize it, understand it, and communicate it to others is possibly the most essential business problem for the coming decades. "Machine learning," the process of automating tasks once considered the domain of highly-trained analysts and mathematicians, is the key to efficiently extracting useful information from this sea of raw data.

Machine Learning in Action is a unique book that blends the foundational theories of machine learning with the practical realities of building tools for everyday data analysis. In it, the author uses the flexible Python programming language to show how to build programs that implement algorithms for data classification, forecasting, recommendations, and higher-level features like summarization and simplification.

384 pages, Paperback

First published December 28, 2011

54 people are currently reading
755 people want to read

About the author

Peter Harrington

2 books2 followers
There are several authors with this name on Goodreads.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
51 (21%)
4 stars
105 (43%)
3 stars
67 (27%)
2 stars
13 (5%)
1 star
4 (1%)
Displaying 1 - 17 of 17 reviews
Profile Image for Andre.
66 reviews24 followers
May 30, 2012
Want to know where, in Portland, OR, to park so that you can walk to the most strip clubs?

Yes, this is a real example in this book (the data set consists of Magic Gardens, Mary's, Dolphin II, etc). I kid you not. As a result, I'll never forget the k-Means algorithm.

Profile Image for Rex.
8 reviews1 follower
June 9, 2012
At first I just liked this book because it had some nice explanations about the basics of machine learning and I was interested in a general overview. Then I encountered single value decomposition and latent semantic analysis and soon found that the Internet only contained dozens of horrible purely academic explanations about the underlying math that were basically impenetrable. This book, on the other hand, had a very clearly worded walk through on a topic that is otherwise scarily difficult to find.
Profile Image for Sebastian Gebski.
1,186 reviews1,335 followers
Read
June 7, 2015
Unfortunately, I can't provide a discrete rating. Due to following reasons:

* usually when things started to get interesting (for a particular algorithm / method) instead of diving into mathematics behind method, author was jumping into Python; for majority of people it really makes sense -> developers are not mathematicians, but I personally dislike Python, so I'd rather prefer some more details so I could more easily map them to other programming language; but I can't blame anyone but myself - author didn't hide the fact that code samples are in Python

* due to other stuff I was doing in the meantime, I wasn't able to do any practice alongside reading the book - and it's a problem, because it's one of the books you can't just read without putting your hands on code; You have to actually touch the described algorithms / methods to make some sense out of them - good example: Adaptive Boosting; sadly I've failed again - I didn't have time for that :(

Anything else to add?

Well, apart from what I've written above:
1. There's a section (3 chapters) about Unsupervised Learning - it's great, because I haven't seen many practical (non-pure statistics) books on the topic recently
2. Some chapters seem a bit out of topic - the Hadoop stuff, Tkinter.

To summarize - I can't give a 'star' rating. And I have a feeling I'll be coming back to this book in a bit more convenient time.
Profile Image for Kursad Albayraktaroglu.
238 reviews24 followers
December 25, 2019
It's been three months since my wife asked me why I was "always reading the same book with the axe guy on the cover"; but I am finally done with this book. It took a lot of effort to finish it by working out all the examples and exercises; but I think it was well worth it. I personally think Harrington's book strikes a very good balance between mathematical and programming aspects of ML; and would be a great introductory book for anyone with working knowledge of Python and preferably some background in statistics.

Since the book heavily depends on Python code examples and exercises, it may not be the best choice for a non-programmer: the author prefers to explain many complex subjects in code, and you will not understand the material if you skip the coding examples. It looks like Paul Wilmott's new book and Andriy Burkov's "The Hundred-Page Machine Learning Book" are better suited for the more mathematically oriented ML learners. For anyone approaching ML from the software development side, Harrington's book is highly recommended.
Profile Image for Suhrob.
493 reviews60 followers
February 9, 2014
A book caught in the uncanny valley...

Harrington strives to give introduction to basic machine learning topics and algorithms by developing them from scratch in python (using numpy and matplotlib but not scipy/scikit-learn). This way he indeed gives more insight than just a completely black box approach but nowhere near as much understanding as a proper mathematical treatment of the algorithms. On the other hand the implementations are rudimentary and in fact for all practical purposes one would just use any state-of-art library instead the introduced basic algorithms.

So the book is neither theoretical (too shallow for that) nor practical (not showing you any of the libraries actually used in practice).

It is written with earnestness and with more care than what's typical for similar programming handbooks, but I have no idea who I could recommend it due its neither-nor nature....
Profile Image for Kai Jiang.
13 reviews9 followers
March 28, 2019
Read this when second year of my Master's. This book is more like a intro or shallow summary for the huge Machine Learning world, yet it comes with easy understanding Python code and just the right amount of math background so you can get the sense very quickly.
Profile Image for Avinash K.
182 reviews31 followers
January 15, 2014
The book is good for the summary information and to get your feet wet! The writing is lucid and not intimidating. So one can start wrapping one's head around the ideas. On the flip side it lacks the required mathematical background. So the book a starter, a decent starter. A good book to have along side is "The Elements of Statistical Learning" statweb.stanford.edu/~tibs/ElemStatLe...
Profile Image for Kiril Kirilov.
110 reviews16 followers
December 23, 2014
I personally think that the Coursera's course is much better way to inform the unprepared mind about the marvelous world of Machine Learning algorithms.
19 reviews1 follower
March 15, 2020
I really love this book but I can not give it a 5, because to fully understand the topics I had to study from other media the mathematics it is not like math and code for example sometimes the author develops an algorithm which has more steps from what is develop and what is presented as the equation. By the other hand it is a very good way to start the topic. I am pretty sure that after you read this book you will understand at Lest when people talk about the topics in a very good and deep way.
Profile Image for Frank.
36 reviews2 followers
September 21, 2018
I don't think this book is for me. It explains algorithms, not that much with math but with code.
Profile Image for Matija.
93 reviews24 followers
August 9, 2015
I wouldn't recommend this book. I read parts of it a few years ago before I knew much about either machine learning or Python, and it didn't help me much - it provides only rudimentary and descriptive information on algorithms, and uses Python in a hacky way (importing *, repurposing libraries, etc.). After rereading it now that I know more on both subjects, I actually see some errors and bad practices in it too. As another reviewer, @Suhrob accurately writes, state-of-the-art algorithm implementations already exist in libraries for Python. Instead, the author provides his own incomplete implementations without enough solid background to justify the whole exercise. The only use I see for it is as a quick reminder on basic descriptive facts about a few machine learning algorithms.
35 reviews1 follower
February 4, 2013
After taking the free Stanford class on machine learning, I was we'll-versed in the theoretic math with very little practical knowledge. I felt this book filled that niche and, for the most part, was very readable. On the downside, I think the annotated listings could have been better and a couple of the examples kind of left me hanging and seemed incomplete.
Profile Image for Michal Paszkiewicz.
Author 2 books8 followers
April 1, 2016
A great introduction to machine learning algorithms and implementations. Personally I would have preferred a bit more maths though.
Profile Image for Rui.
7 reviews
August 2, 2018
Good book overall.

I hope the author has put more effort to the implementation code.
Expect to spend some time debugging the code.
Profile Image for Bahrun Nur.
1 review
September 16, 2014
This is a good book for beginner that wanna know and try Machine Learning algorithm.
Displaying 1 - 17 of 17 reviews

Can't find what you're looking for?

Get help and learn more about the design.