Customers who viewed this item also viewed
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Master Machine Learning with scikit-learn: A Practical Guide to Building Better Models with Python
Purchase options and add-ons
Throughout the book, you’ll learn the best practices for proper Machine Learning and how to apply those practices to your own Machine Learning problems. By the end of this book, you’ll be more confident when tackling new Machine Learning problems because you’ll understand what steps you need to take, why you need to take them, and how to correctly execute those steps using scikit-learn. You’ll know what problems you might run into, and you’ll know exactly how to solve them. Because you’re learning a better way to work in scikit-learn, your code will be easier to write and to read, and you’ll get better Machine Learning results faster than before!
"If you think that Machine Learning is too complex for you to learn, I cannot recommend this book enough. It will give you the confidence you need, along with the knowledge you want."
- Reuven Lerner, Python trainer
"By far the best book I've read on scikit-learn. The later chapters, in particular, helped me significantly deepen my understanding and improve my use of the library."
- Patrick Ryan, Software Engineer
"Exceptionally well-structured and easy to grasp."
- Marco Peters, Business Intelligence Analyst
Kevin Markham is the founder of Data School, an online school for learning Data Science with Python. He has been teaching Machine Learning in the classroom and online for more than 10 years, and is passionate about teaching people who are new to the field. He has a degree in Computer Engineering from Vanderbilt University and lives in Asheville, North Carolina.
Topics covered:
- Review of the basic Machine Learning workflow
- Encoding categorical features
- Encoding text data
- Handling missing values
- Preparing complex datasets
- Creating an efficient workflow for preprocessing and model building
- Tuning your workflow for maximum performance
- Avoiding data leakage
- Proper model evaluation
- Automatic feature selection
- Feature standardization
- Feature engineering using custom transformers
- Linear and non-linear models
- Model ensembling
- Model persistence
- Handling high-cardinality categorical features
- Handling class imbalance
- Print length315 pages
- LanguageEnglish
- Publication date4 Mar. 2026
- Dimensions19.05 x 1.8 x 23.5 cm
- ISBN-13979-8299179460
Customers who viewed this item also viewed
Product details
- ASIN : B0GRFPZ768
- Publisher : Independently published
- Publication date : 4 Mar. 2026
- Language : English
- Print length : 315 pages
- ISBN-13 : 979-8299179460
- Item weight : 544 g
- Dimensions : 19.05 x 1.8 x 23.5 cm
- Best Sellers Rank: 449,067 in Books (See Top 100 in Books)
- 500 in Computer Information Systems
- Customer reviews:
About the author

Kevin Markham is the founder of Data School, an online school for learning Data Science with Python. He has been teaching Machine Learning in the classroom and online for more than 10 years, and is passionate about teaching people who are new to the field. He has a degree in Computer Engineering from Vanderbilt University and lives in Asheville, North Carolina.
Customer reviews
- 5 star4 star3 star2 star1 star4 star95%0%5%0%0%0%
- 5 star4 star3 star2 star1 star2 star95%0%5%0%0%0%
- 5 star4 star3 star2 star1 star1 star95%0%5%0%0%0%
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 analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United Kingdom
- 5 out of 5 stars
An excellent book on machine learning
Reviewed in the United Kingdom on 3 May 2026This is a great book on Machine Learning, very clearly and logically laid out.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport - 5 out of 5 stars
Fantastic Book
Reviewed in the United Kingdom on 10 March 2026Fantastic book!
The topics are presented in a very logical order, and the content is rich and insightful. Step by step, it has helped me grow my understanding of machine learning.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport - 5 out of 5 stars
Simple and very undestandable
Reviewed in the United Kingdom on 22 March 2026Excellent, very well doumented
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport - 5 out of 5 stars
A clear and easy to follow guide to machine learning with scikit-learn
Reviewed in the United Kingdom on 11 March 2026This book provides a clear, step-by-step guidance to machine learning with scikit-learn. It explains model building, preprocessing, and practical applications in a way that is easy to follow, making complex concepts approachable for beginners. A highly practical book for anyone looking to apply machine learning in Python.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport
Top reviews from other countries
Annie5 out of 5 starsClear, practical, and exceptionally taught concepts in book form
Reviewed in the United States on 4 May 2026Kevin Markham has a unique ability to take complex concepts and make them feel clear, manageable, and genuinely approachable. Throughout Master Machine Learning with scikit-learn, it’s obvious that he not only deeply understands the material, but also knows exactly how to communicate it effectively.
What sets this book apart is its clarity and efficiency. Kevin focuses on the concepts you actually need to learn first and presents them in a practical, easy-to-follow way. His teaching style makes the content accessible regardless of your background.
There are plenty of resources out there on similar topics, but finding someone who is both highly knowledgeable and an exceptional communicator is rare. Highly recommended for anyone looking to build a strong, confident foundation in machine learning.

5 out of 5 starsClear, practical, and exceptionally taught concepts in book form
Reviewed in the United States on 4 May 2026Kevin Markham has a unique ability to take complex concepts and make them feel clear, manageable, and genuinely approachable. Throughout Master Machine Learning with scikit-learn, it’s obvious that he not only deeply understands the material, but also knows exactly how to communicate it effectively.
What sets this book apart is its clarity and efficiency. Kevin focuses on the concepts you actually need to learn first and presents them in a practical, easy-to-follow way. His teaching style makes the content accessible regardless of your background.
There are plenty of resources out there on similar topics, but finding someone who is both highly knowledgeable and an exceptional communicator is rare. Highly recommended for anyone looking to build a strong, confident foundation in machine learning.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport
silverstar5 out of 5 starsAwasome Book Love it
Reviewed in Australia on 8 June 2026The book is a practical, hands-on guide that excels at teaching readers how to build, evaluate, and improve machine-learning models using scikit-learn,it helped me strengthen my applied ML skills rather than just learn theory.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport
Maverick5 out of 5 starsMy Favourite ML Textbook
Reviewed in Canada on 17 August 2026Kevin is a world-class teacher, and that translates just as well to this textbook. This is very much a practical guide to machine learning, and it really embodies the 80/20 principle: mastering the 20% of core concepts that can help you deliver 80% of the value. As a professor myself, this book captures the core foundations every one new to ML should learn and know.
Is this book going to turn you into a Senior Data Scientist at a FAANG company overnight? No. But will it make you competent and confident enough to start delivering real value on ML-related projects? Absolutely.
Highly recommended for anyone looking for a practical, approachable introduction to machine learning.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport
Oleg5 out of 5 starsGreat Applied ML book
Reviewed in Germany on 12 June 2026Wonderful hands-on introduction into ML with scikit learn! Gradual complexity increase, deep dives and comments regarding nuances, nice and thoroughly explained code snippets - all that forms a great foundation in the field
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport
WL.5 out of 5 starsBetter than "Hands-On Machine Learning" (for my use case)
Reviewed in the United States on 18 May 2026Whereas Geron's "Hands-On Machine Learning" (HOML) is a massive textbook that provides an overview of the ML landscape, Markham's "Master Machine Learning" (MML) is a much more focused, practical guide to scikit-learn that served my needs far better.
MML's strength is that it teaches you the best practices for effective Machine Learning AND how to implement every single one of those practices using scikit-learn.
The first part of MML shows you how to build a robust, pipeline-based workflow that includes the necessary data preparation steps and avoids the cardinal sin of data leakage. (This was the first book that explained data leakage in a way that "clicked" for me.)
The second part of MML teaches you how to evaluate and improve your pipeline by tuning the hyperparameters, trying out different models, ensembling models, using automated feature selection, and so on. (It's nice that HOML explains the properties of different models, but as MML points out, it's more valuable to build a reusable workflow in which you can quickly try out many different models than it is to specialize in just one type of model.)
The final part of MML gets into more advanced topics, such as feature engineering, high-cardinality categorical features, class imbalance, cost-sensitive learning, alternative evaluation metrics, and more. I haven't found this kind of depth in any other book.
Here's my overall recommendation:
If you're looking for an overview of the ML landscape, including unsupervised learning and deep learning, then HOML may be the book for you. But if you're specifically focused on supervised learning using scikit-learn and want to improve your skills quickly, then I haven't found a better guide than MML.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try againWe’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.
CancelReport






