Machine Learning in Action Book Summary - Machine Learning in Action Book explained in key points

Machine Learning in Action summary

Peter Harrington

Brief summary

Machine Learning in Action by Peter Harrington is a practical guide that teaches you how to implement machine learning algorithms from scratch. It provides real-world examples and hands-on exercises to help you understand and apply the concepts.

Give Feedback
Table of Contents

    Machine Learning in Action
    Summary of key ideas

    Understanding the Basics of Machine Learning

    In Machine Learning in Action by Peter Harrington, we are introduced to the fundamental concepts of machine learning. The book begins with a brief overview of the field, explaining the concept of machine learning and its applications. It then delves into the first category of machine learning, supervised learning, where the algorithm learns from labeled training data, and the goal is to learn a mapping from input to output.

    The author then introduces the first algorithm, k-Nearest Neighbors (KNN), which is a simple and intuitive classification algorithm. He explains the working of KNN and provides a Python implementation to classify data points. The book then moves on to decision trees, another classification algorithm, and explains how to build and use them for prediction tasks.

    Exploring Advanced Classification Techniques

    Continuing with the exploration of classification algorithms, Machine Learning in Action introduces naïve Bayes, a probabilistic classifier based on Bayes' theorem. The author explains the underlying theory and demonstrates its application in a spam email filter. The book then covers logistic regression, a statistical method for analyzing a dataset in which there are one or more independent variables that determine an outcome.

    Next, the book introduces support vector machines (SVM), a powerful classification technique that can handle both linear and non-linear data. The author explains the concept of SVM and its kernel trick, which allows it to handle non-linear data. The book then explores AdaBoost, a meta-algorithm that can be used in conjunction with other learning algorithms to improve their performance.

    Forecasting Numeric Values with Regression

    After covering classification techniques, Machine Learning in Action shifts its focus to regression, a supervised learning approach used to predict continuous values. The book starts with a simple linear regression model and then moves on to tree-based regression, which uses decision trees to predict numeric values.

    The author provides a detailed explanation of the working of these regression models and demonstrates their implementation in Python. He also discusses the limitations of these models and provides insights into when to use each type of regression model.

    Unsupervised Learning and Additional Tools

    Transitioning to unsupervised learning, the book introduces k-means clustering, a method used to partition a dataset into clusters. The author explains the algorithm and its application in customer segmentation. He then moves on to association analysis, a technique used to discover interesting relationships hidden in large datasets.

    Finally, Machine Learning in Action explores additional tools that can be used to simplify and process data. The author introduces principal component analysis (PCA) and singular value decomposition (SVD), two techniques used for dimensionality reduction. The book concludes with a discussion on big data and MapReduce, highlighting the challenges and solutions for processing large datasets.


    In conclusion, Machine Learning in Action by Peter Harrington provides a comprehensive introduction to machine learning, covering a wide range of algorithms and techniques. The book is well-suited for beginners and intermediate learners, offering a balance of theoretical concepts and practical implementations. With its clear explanations and Python code examples, it serves as an excellent resource for anyone looking to understand and apply machine learning in real-world scenarios.

    Give Feedback
    How do we create content on this page?
    More knowledge in less time
    Read or listen
    Read or listen
    Get the key ideas from nonfiction bestsellers in minutes, not hours.
    Find your next read
    Find your next read
    Get book lists curated by experts and personalized recommendations.
    Shortcasts New
    We’ve teamed up with podcast creators to bring you key insights from podcasts.

    What is Machine Learning in Action about?

    Machine Learning in Action is an educational and practical guide written by Peter Harrington. The book provides a hands-on introduction to machine learning and its various algorithms. Through real-world examples and code snippets in Python, it teaches readers how to apply machine learning techniques to solve problems in areas such as data analysis, pattern recognition, and more.

    Machine Learning in Action Review

    Machine Learning in Action (2012) is a book that introduces machine learning concepts and techniques in a practical and accessible way. Here's why this book is worth reading:

    • It provides hands-on examples with Python code, allowing readers to apply machine learning algorithms to real-world problems.
    • With its focus on practical implementation rather than theoretical concepts, the book is suitable for both beginners and experienced practitioners.
    • The book covers a wide range of machine learning algorithms, explaining their strengths and weaknesses, giving readers a comprehensive understanding of the field.

    Who should read Machine Learning in Action?

    • Machine learning enthusiasts who want to deepen their understanding of the subject
    • Professionals looking for practical guidance on applying machine learning techniques
    • Individuals interested in implementing machine learning algorithms in Python

    About the Author

    Peter Harrington is a renowned author in the field of machine learning. With a background in computer science and a passion for data analysis, Harrington has written several influential books on the topic. His work, Machine Learning in Action, is highly regarded for its practical approach to understanding complex algorithms. Harrington's expertise and ability to explain intricate concepts in a clear and accessible manner have made his books essential reading for both beginners and experienced professionals in the field.

    Categories with Machine Learning in Action

    People ❤️ Blinkist 
    Sven O.

    It's highly addictive to get core insights on personally relevant topics without repetition or triviality. Added to that the apps ability to suggest kindred interests opens up a foundation of knowledge.

    Thi Viet Quynh N.

    Great app. Good selection of book summaries you can read or listen to while commuting. Instead of scrolling through your social media news feed, this is a much better way to spend your spare time in my opinion.

    Jonathan A.

    Life changing. The concept of being able to grasp a book's main point in such a short time truly opens multiple opportunities to grow every area of your life at a faster rate.

    Renee D.

    Great app. Addicting. Perfect for wait times, morning coffee, evening before bed. Extremely well written, thorough, easy to use.

    4.7 Stars
    Average ratings on iOS and Google Play
    30 Million
    Downloads on all platforms
    10+ years
    Experience igniting personal growth
    Powerful ideas from top nonfiction

    Try Blinkist to get the key ideas from 7,000+ bestselling nonfiction titles and podcasts. Listen or read in just 15 minutes.

    Start your free trial

    Machine Learning in Action FAQs 

    What is the main message of Machine Learning in Action?

    The main message of Machine Learning in Action is to provide practical examples of applying machine learning algorithms in real-world scenarios.

    How long does it take to read Machine Learning in Action?

    The reading time for Machine Learning in Action varies, but expect several hours. However, the Blinkist summary can be read in just a few minutes.

    Is Machine Learning in Action a good book? Is it worth reading?

    Machine Learning in Action is worth reading as it offers valuable insights into applying machine learning techniques with practical examples.

    Who is the author of Machine Learning in Action?

    The author of Machine Learning in Action is Peter Harrington.

    What to read after Machine Learning in Action?

    If you're wondering what to read next after Machine Learning in Action, here are some recommendations we suggest:
    • Big Data by Viktor Mayer-Schönberger and Kenneth Cukier
    • The Soul of a New Machine by Tracy Kidder
    • Physics of the Future by Michio Kaku
    • On Intelligence by Jeff Hawkins and Sandra Blakeslee
    • Brave New War by John Robb
    • The Net Delusion by Evgeny Morozov
    • Abundance# by Peter H. Diamandis and Steven Kotler
    • The Signal and the Noise by Nate Silver
    • You Are Not a Gadget by Jaron Lanier
    • The Future of the Mind by Michio Kaku