or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $2.00 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Machine Learning in Action [Paperback]

Peter Harrington
3.6 out of 5 stars  See all reviews (16 customer reviews)

List Price: $44.99
Price: $26.31 & FREE Shipping. Details
You Save: $18.68 (42%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, May 22? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Amazon.com Textbooks Store
Shop the Amazon.com Textbooks Store and save up to 70% on textbook rentals, 90% on used textbooks and 60% on eTextbooks.

Book Description

April 16, 2012

Summary

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

About the Book

A machine is said to learn when its performance improves with experience. Learning requires algorithms and programs that capture data and ferret out the interesting or useful patterns. Once the specialized domain of analysts and mathematicians, machine learning is becoming a skill needed by many.

Machine Learning in Action is a clearly written tutorial for developers. It avoids academic language and takes you straight to the techniques you'll use in your day-to-day work. Many (Python) examples present the core algorithms of statistical data processing, data analysis, and data visualization in code you can reuse. You'll understand the concepts and how they fit in with tactical tasks like classification, forecasting, recommendations, and higher-level features like summarization and simplification.

Readers need no prior experience with machine learning or statistical processing. Familiarity with Python is helpful.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

What's Inside
  • A no-nonsense introduction
  • Examples showing common ML tasks
  • Everyday data analysis
  • Implementing classic algorithms like Apriori and Adaboos
Table of Contents
    PART 1 CLASSIFICATION
  1. Machine learning basics
  2. Classifying with k-Nearest Neighbors
  3. Splitting datasets one feature at a time: decision trees
  4. Classifying with probability theory: naïve Bayes
  5. Logistic regression
  6. Support vector machines
  7. Improving classification with the AdaBoost meta algorithm
  8. PART 2 FORECASTING NUMERIC VALUES WITH REGRESSION
  9. Predicting numeric values: regression
  10. Tree-based regression
  11. PART 3 UNSUPERVISED LEARNING
  12. Grouping unlabeled items using k-means clustering
  13. Association analysis with the Apriori algorithm
  14. Efficiently finding frequent itemsets with FP-growth
  15. PART 4 ADDITIONAL TOOLS
  16. Using principal component analysis to simplify data
  17. Simplifying data with the singular value decomposition
  18. Big data and MapReduce

Frequently Bought Together

Machine Learning in Action + Machine Learning for Hackers + Programming Collective Intelligence: Building Smart Web 2.0 Applications
Price for all three: $83.29

Buy the selected items together


Editorial Reviews

About the Author

Peter Harrington holds a Bachelors and a Masters Degrees in Electrical Engineering. He is a professional developer and data scientist. Peter holds five US patents and his work has been published in numerous academic journals.


Product Details

  • Paperback: 384 pages
  • Publisher: Manning Publications (April 16, 2012)
  • Language: English
  • ISBN-10: 1617290181
  • ISBN-13: 978-1617290183
  • Product Dimensions: 9.3 x 7.4 x 1 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 3.6 out of 5 stars  See all reviews (16 customer reviews)
  • Amazon Best Sellers Rank: #56,181 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Book is, to my greatest joy, Python oriented. Edmon Begoli  |  3 reviewers made a similar statement
This book is a great introduction to the subject of machine learning. Andre C. Bandarra  |  5 reviewers made a similar statement
Most Helpful Customer Reviews
30 of 32 people found the following review helpful
2.0 out of 5 stars Little on Theory, Too Much on UI June 23, 2012
Format:Paperback|Amazon Verified Purchase
I agree with other reviewers' complaints on the repetitiveness and poor flow of this book, but I want to point out some other concerns and appreciations.

In the preface Harrington emphasizes the importance of knowing the theory and being able to connect the theory to the algorithms and applications. I wholeheartedly agree with this statement, but it appears Harrington forgot this was his stated goal. The mathematics contained in the book is wishy-washy and vague, and its connections to the algorithms is at best tenuous. Harrington rarely explains why a particular formula is used, and when he does he's really explaining how it's used and not why it makes sense to use it (given, this is a common criticism of applied mathematics). He will often throw in mathematical jargon without a useable explanation. And for every paragraph spent on mathematical theory, five paragraphs are spent on how to use various third-party libraries for graphing, UI, and data collection (e.g., Tkinter, Matplotlib, Yahoo! PlaceFinder API, Google Shopping API, etc.). These are great, but they massively clutter the text. I'd much rather have a 200 page appendix than have circuitous detours sprinkled throughout the book.

One big plus is in his treatment of support vector machines. He includes (unlike many texts which are solely about support vector machines) a complete python implementation of the Sequential Minimal Optimization algorithm. That being said, it's a horrendous piece of code clearly not written for legibility. This page (page 109) is littered with at least fifteen 1-3 letter variable names and pointless statements like "if L==H: print 'L==H'; continue". Harrington is apparently afraid of using whitespace, and as the function goes on it becomes increasingly cramped and impossible to read (mostly due to the pervasive use of backslashes to denote line continuations). Instead of breaking the code into functions and explaining the pieces, Harrington uses a comment-style typeset code annotation. In my opinion this only helps to clutter the page. It's clear this piece of code (as with his other code samples) were heavily constrained by the page width. It's the author and editor's job to compensate for that; they failed.

So while this book has a lot of valuable resources in it, they should fix it in two ways. First, quit pretending this is a useful mathematical treatment. Second, reorganize.

I will say at least, that with these minor modifications, this text is *vastly* better than Marsland's attempt, "Machine Learning, an Algorithmic Perspective."
Comment | 
Was this review helpful to you?
17 of 18 people found the following review helpful
3.0 out of 5 stars Good attempt but needs LOT of improvement June 16, 2012
Format:Paperback|Amazon Verified Purchase
Looking at many good reviews on amazon, I decided to purchase this book. It's a decent book, but IMO it has been edited poorly and the code has not been tested properly.

The introduction chapter got me really excited, just like other Manning's "in Action" books do. But once I started executing the code in chapter 2 "Classifying with k-nearest neighbors" I realized that the code had bugs. Though I could figure out what's wrong and fix the bugs, I did not expect this from Manning, after having read some of their excellent books like (The Quick Python Book, Second Edition, Spring in Action and Hadoop in Action).

Moreover the book has some introduction to python and numpy in appendix A. I believe the author could have pointed the reader elsewhere for learning python and those pages could have been used to explain more of numpy and matplotlib, which the author uses freely without any explanation in the text. (Yup, be ready to read some online numpy and matplotlib tutorials and documentation.)

If you don't know python, then you can do what I did: read The Quick Python Book, Second Edition and then attempt this book.

The figures in the book are not in color so you need to execute the code to understand what the author is telling. It forces you to actually run the code, which is good, but you can't read this book without a computer in front of you.

Finally, I am a big believer in following the conventions of a language. I would have been really happy had the author followed PEP8 ([...]), because along with learning machine learning, you could have learnt some good python coding practices.
Comment | 
Was this review helpful to you?
32 of 37 people found the following review helpful
1.0 out of 5 stars Great idea, terrible execution June 15, 2012
Format:Paperback|Amazon Verified Purchase
Using Python and NumPy code to teach machine learning is a great idea. Well-written Python is so easy to understand that it's often called 'executable pseudocode', and third-party extensions such as NumPy and SciPy make it competitive with platforms like Matlab for math and science application programming. The author seems to know his subject, and he had another good idea when deciding to structure the book around the ten most popular machine learning algorithms (though he only ends up covering eight of them for reasons he explains in the introduction). Unfortunately, the book is poorly written and even more poorly edited; it reads like a very rough draft that was put once through a spell-checker and then published. The text is repetitive, confused, and often doesn't match up with the code and data sets to which it refers. Color-coded figures are published (in the print edition) in black and white. I'd hesitate to trust this author and publisher again (not to mention the reviewers who gave the book four or five stars).
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars Explanations OK didn't like the code
My main problem with this book is the way the author structure information on the code examples. Again and again he separates data that belongs together into independent data... Read more
Published 3 months ago by Julio Garcia
5.0 out of 5 stars Good python based intro to Machine Learning
I'm a software engineer who knows some Python, and needed to dive deep into Machine Learning. Well, I got my hands on Peter's book, and spent the next few weeks learning machine... Read more
Published 3 months ago by KK
5.0 out of 5 stars A "Just Do It" Machine Learning Book
I am new to Machine Learning and I found the book a very good hands-on introduction on the subject. The author takes 8 of the Top 10 algorithms in Machine Learning (based on a 2007... Read more
Published 4 months ago by Sujit Pal
2.0 out of 5 stars Poor Code Samples
As a book that targets developers, I expected Machine Learning in Action to have clear and concise code samples. Read more
Published 4 months ago by John Leitch
4.0 out of 5 stars Good Overview of Machine Learning
This book is a good introduction to the main algorithms used in machine learning: linear/logistics regression, kNN, decision and regression trees, naive Bayes, support vector... Read more
Published 5 months ago by C. Hivert
4.0 out of 5 stars Great introduction
This book is a great introduction to the subject of machine learning. The author is very clear and there are tons of examples. I translated many examples from this book to Java.
Published 6 months ago by Andre C. Bandarra
4.0 out of 5 stars Great book for getting into machine learning
This is a very good way to quickly and easily explore machine learning techniques. The code snippets are generally well explained, and short enough to be digestible. Read more
Published 10 months ago by Ken L
5.0 out of 5 stars Excellent book for practitioners
I just finished this excellent book on machine learning that I would recommend to anyone interested in this relevant subject. Read more
Published 10 months ago by Edmon Begoli
3.0 out of 5 stars Good text, very bad code
I am new to ML, and I found this book to be easy to read and easy to understand. So, from theoretical perspective it's probably a very good book. Read more
Published 11 months ago by Felix Rabinovich
5.0 out of 5 stars seems great so far
seems great so far, everything is explained much more clearly than in other machine learning books I've read. Read more
Published 12 months ago by bob
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category