Buy new:
$40.41$40.41
FREE delivery:
Tuesday, Feb 14
Ships from: Amazon.com Sold by: Amazon.com
Buy Used: $31.77
Other Sellers on Amazon
& FREE Shipping
91% positive over last 12 months
Usually ships within 4 to 5 days.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Interpretable Machine Learning with Python: Learn to build interpretable high-performance models with hands-on real-world examples
| Price | New from | Used from |
- Kindle
$27.99 Read with Our Free App - Paperback
$31.77 - $40.415 Used from $31.77 8 New from $40.41
There is a newer edition of this item:
$49.99
This title has not yet been released.
Enhance your purchase
Understand the key aspects and challenges of machine learning interpretability, learn how to overcome them with interpretation methods, and leverage them to build fairer, safer, and more reliable models
Key Features
- Learn how to extract easy-to-understand insights from any machine learning model
- Become well-versed with interpretability techniques to build fairer, safer, and more reliable models
- Mitigate risks in AI systems before they have broader implications by learning how to debug black-box models
Book Description
Do you want to understand your models and mitigate risks associated with poor predictions using machine learning (ML) interpretation? Interpretable Machine Learning with Python can help you work effectively with ML models.
The first section of the book is a beginner's guide to interpretability, covering its relevance in business and exploring its key aspects and challenges. You'll focus on how white-box models work, compare them to black-box and glass-box models, and examine their trade-off. The second section will get you up to speed with a vast array of interpretation methods, also known as Explainable AI (XAI) methods, and how to apply them to different use cases, be it for classification or regression, for tabular, time-series, image or text. In addition to the step-by-step code, the book also helps the reader to interpret model outcomes using examples. In the third section, you'll get hands-on with tuning models and training data for interpretability by reducing complexity, mitigating bias, placing guardrails, and enhancing reliability. The methods you'll explore here range from state-of-the-art feature selection and dataset debiasing methods to monotonic constraints and adversarial retraining.
By the end of this book, you'll be able to understand ML models better and enhance them through interpretability tuning.
What you will learn
- Recognize the importance of interpretability in business
- Study models that are intrinsically interpretable such as linear models, decision trees, and Naive Bayes
- Become well-versed in interpreting models with model-agnostic methods
- Visualize how an image classifier works and what it learns
- Understand how to mitigate the influence of bias in datasets
- Discover how to make models more reliable with adversarial robustness
- Use monotonic constraints to make fairer and safer models
Who this book is for
This book is for data scientists, machine learning developers, and data stewards who have an increasingly critical responsibility to explain how the AI systems they develop work, their impact on decision making, and how they identify and manage bias. Working knowledge of machine learning and the Python programming language is expected.
Table of Contents
- Interpretation, Interpretability and Explainability; and why does it all matter?
- Key Concepts of Interpretability
- Interpretation Challenges
- Fundamentals of Feature Importance and Impact
- Global Model-Agnostic Interpretation Methods
- Local Model-Agnostic Interpretation Methods
- Anchor and Counterfactual Explanations
- Visualizing Convolutional Neural Networks
- Interpretation Methods for Multivariate Forecasting and Sensitivity Analysis
- Feature Selection and Engineering for Interpretability
- Bias Mitigation and Causal Inference Methods
- Monotonic Constraints and Model Tuning for Interpretability
- Adversarial Robustness
- What's Next for Machine Learning Interpretability?
- ISBN-10180020390X
- ISBN-13978-1800203907
- PublisherPackt Publishing
- Publication dateMarch 26, 2021
- LanguageEnglish
- Dimensions7.5 x 1.66 x 9.25 inches
- Print length736 pages
What other items do customers buy after viewing this item?
From the Publisher
Why is machine learning interpretability important and how will this book help you learn about it?
With AI systems replacing or complementing human decision-makers with machine learning models designed for the most complex tasks, trust is mission-critical. And thus, understanding how your ML model generates an outcome by complying with the principles of interpretable ML ensures the reliability of the ML model.
This book is a comprehensive hands-on guide to all things machine learning interpretability, presenting its topics with the help of real-world examples. Interpretable Machine Learning with Python takes you through the fundamentals and challenges in interpretation to help you design your systems with fairness, accountability, and transparency - the core principles of interpretable ML synonymous with Explainable Artificial Intelligence (XAI). This book will help you to mitigate the risks associated with poor predictions.
Topics covered
- Why Does Interpretability Matter?
- White Box and Glass Box Models
- Permutation Feature Importance, Partial Dependence Plots, SHAP, and LIME
- Anchor and Counterfactual Explanations
- Visualizing Convolutional Neural Networks
- Bias Mitigation Methods
- Adversarial Robustness
- And more...
What makes this book different from other books on interpretable machine learning?
Interpretable Machine Learning with Python is an extensive guide that tackles both sides of the equation: the diagnosis and the treatment of interpretability concerns. It goes beyond transparency to cover fairness and accountability, which are often ignored or underplayed by most practitioner-oriented books on the topic.
This book is mission-centric. Every chapter takes you on a journey to discover a wide range of topics using case studies that are as realistic as possible. Therefore, ‘toy datasets’ such as MNIST, Iris, and Titanic, which are too clean to depict real-world conditions, are not included.
How has your experience helped you to write this book?
In my 15 years of development experience, I've learned that for a product to be adopted and embraced, you have to trust it, and to trust it, you have to understand it.
In web development in particular, even if a website is up 99.9% of the time, stakeholders remember more the times that the website was down than those times it wasn't. I realized how important it was to explain predictions and assure a degree of reliability or, at least, anticipate points of failure. However, unlike software, complex ML models can't be debugged line by line. Even ML models with high predictive performance still get it wrong sometimes, and understanding the ways they could fail can help improve outcomes or, at least, manage expectations.
This book allows you to look under the hood and demystify the "black-box" ML model so that you can make assurances to stakeholders and mitigate issues such as overfitting, unfair outcomes, uncertainty, and lack of adversarial robustness.
What do you want readers to take away from Interpretable Machine Learning with Python?
Interpretation is often seen as an essential skill for descriptive analytics; however, it's also very much leveraged in predictive and prescriptive analytics. With this book, you'll realize that training a good machine learning model is more than just optimizing predictive performance. The goodness of a model can be measured in many ways, such as those encompassed by concepts of fairness and robustness. Interpretable machine learning is not limited to a toolset for making complex models explainable, instead you can learn from a model and improve it in more ways than with predictive performance. Interpretable ML is also how Ethical AI, Responsible AI, and Fair AI are implemented by ML practitioners.
Editorial Reviews
About the Author
Serg Masís has been at the confluence of the internet, application development, and analytics for the last two decades. Currently, he's a Climate and Agronomic Data Scientist at Syngenta, a leading agribusiness company with a mission to improve global food security. Before that role, he co-founded a startup, incubated by Harvard Innovation Labs, that combined the power of cloud computing and machine learning with principles in decision-making science to expose users to new places and events. Whether it pertains to leisure activities, plant diseases, or customer lifetime value, Serg is passionate about providing the often-missing link between data and decision-making ― and machine learning interpretation helps bridge this gap more robustly.
Product details
- Publisher : Packt Publishing (March 26, 2021)
- Language : English
- Paperback : 736 pages
- ISBN-10 : 180020390X
- ISBN-13 : 978-1800203907
- Item Weight : 2.74 pounds
- Dimensions : 7.5 x 1.66 x 9.25 inches
- Best Sellers Rank: #910,891 in Books (See Top 100 in Books)
- #155 in Computer Simulation (Books)
- #283 in Computer Neural Networks
- #1,024 in Python Programming
- Customer Reviews:
About the author

For the last two decades, Serg Masís has been at the confluence of the internet, application development, and analytics. Currently, he's a Climate and Agronomic Data Scientist at Syngenta, a leading agribusiness company with a mission to improve global food security. Before that role, he co-founded a search engine startup incubated by Harvard Innovation Labs, combining the power of cloud computing and machine learning with principles in decision-making science to expose users to new places and events efficiently. Whether it pertains to leisure activities, plant diseases, or customer lifetime value, Serg is passionate about providing the often-missing link between data and decision-making — and machine learning interpretation helps bridge this gap more robustly.
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 AmazonReviewed in the United States on April 19, 2021
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
I have found this to be insightful (although I still have halfway to go). For beginners, this will be a great introduction and reference -- conventions, terms and code examples are thorough and well explained (which is probably why the book is lengthy). For intermediates and more advanced folk this is perfect, there are enough gold nuggets of information spread throughout the book that it will become a great resource for future reference. It feels like the book covers the majority of (if not all of the) topics needed to tackle interpretable machine learning today. In most books I’ve read, whether coding cookbooks or theoretical ones, the number of examples provided are few, but in this book, they are abundant. Also I would get the ebook, unless you prefer a hardcopy.
Top reviews from other countries
Reviewed in Germany 🇩🇪 on April 12, 2022
Reviewed in France 🇫🇷 on June 18, 2021












