Have a personal or library account? Click to login
Interpretable Machine Learning with Python Cover

Interpretable Machine Learning with Python

Learn to build interpretable high-performance models with hands-on real-world examples

Paid access
|Apr 2021
Product purchase options

A deep and detailed dive into the key aspects and challenges of machine learning interpretability, complete with the know-how on how to overcome 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 gain a deeper understanding of your models and better mitigate poor prediction risks associated with machine learning interpretation? If so, then Interpretable Machine Learning with Python deserves a place on your bookshelf.

We’ll be starting off with the fundamentals of interpretability, its relevance in business, and exploring its key aspects and challenges.
As you progress through the chapters, you'll then focus on how white-box models work, compare them to black-box and glass-box models, and examine their trade-off. You’ll also 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, this book will also help you interpret model outcomes using examples. 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 Naïve 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 primarily written for data scientists, machine learning developers, and data stewards who find themselves under increasing pressures to explain the workings of AI systems, their impacts on decision making, and how they identify and manage bias. It’s also a useful resource for self-taught ML enthusiasts and beginners who want to go deeper into the subject matter, though a solid grasp on the Python programming language and ML fundamentals is needed to follow along.

Table of Contents

  1. Interpretation, Interpretability and Explainability; and why does it all matter?
  2. Key Concepts of Interpretability
  3. Interpretation Challenges
  4. Fundamentals of Feature Importance and Impact
  5. Global Model-Agnostic Interpretation Methods
  6. Local Model-Agnostic Interpretation Methods
  7. Anchor and Counterfactual Explanations
  8. Visualizing Convolutional Neural Networks
  9. Interpretation Methods for Multivariate Forecasting and Sensitivity Analysis
  10. Feature Selection and Engineering for Interpretability
  11. Bias Mitigation and Causal Inference Methods
  12. Monotonic Constraints and Model Tuning for Interpretability
  13. Adversarial Robustness
  14. What's Next for Machine Learning Interpretability?
https://github.com/PacktPublishing/Interpretable-Machine-Learning-with-Python
PDF ISBN: 978-1-80020-657-1
Publisher: Packt Publishing Limited
Copyright owner: © 2021 Packt Publishing Limited
Publication date: 2021
Language: English
Pages: 736