Interpretable Machine Learning with Python: Build explainable, fair, and robust high-performance models with hands-on, real-world examples 2nd Edition

Interpretable Machine Learning with Python: Build explainable, fair, and robust high-performance models with hands-on, real-world examples 2nd Edition book cover

Interpretable Machine Learning with Python: Build explainable, fair, and robust high-performance models with hands-on, real-world examples 2nd Edition

Author(s): Serg Masís (Author)

  • Publisher: Packt Publishing
  • Publication Date: 31 Oct. 2023
  • Edition: 2nd
  • Language: English
  • Print length: 606 pages
  • ISBN-10: 180323542X
  • ISBN-13: 9781803235424

Book Description

A deep dive into the key aspects and challenges of machine learning interpretability using a comprehensive toolkit, including SHAP, feature importance, and causal inference, to build fairer, safer, and more reliable models.

Purchase of the print or Kindle book includes a free eBook in PDF format.

Key Features

  • Interpret real-world data, including cardiovascular disease data and the COMPAS recidivism scores
  • Build your interpretability toolkit with global, local, model-agnostic, and model-specific methods
  • Analyze and extract insights from complex models from CNNs to BERT to time series models

Book Description

Interpretable Machine Learning with Python, Second Edition, brings to light the key concepts of interpreting machine learning models by analyzing real-world data, providing you with a wide range of skills and tools to decipher the results of even the most complex models.

Build your interpretability toolkit with several use cases, from flight delay prediction to waste classification to COMPAS risk assessment scores. This book is full of useful techniques, introducing them to the right use case. Learn traditional methods, such as feature importance and partial dependence plots to integrated gradients for NLP interpretations and gradient-based attribution methods, such as saliency maps.

In addition to the step-by-step code, you’ll get hands-on with tuning models and training data for interpretability by reducing complexity, mitigating bias, placing guardrails, and enhancing reliability.

By the end of the book, you’ll be confident in tackling interpretability challenges with black-box models using tabular, language, image, and time series data.

What you will learn

  • Progress from basic to advanced techniques, such as causal inference and quantifying uncertainty
  • Build your skillset from analyzing linear and logistic models to complex ones, such as CatBoost, CNNs, and NLP transformers
  • Use monotonic and interaction constraints to make fairer and safer models
  • Understand how to mitigate the influence of bias in datasets
  • Leverage sensitivity analysis factor prioritization and factor fixing for any model
  • Discover how to make models more reliable with adversarial robustness

Who this book is for

This book is for data scientists, machine learning developers, machine learning engineers, MLOps engineers, and data stewards who have an increasingly critical responsibility to explain how the artificial intelligence systems they develop work, their impact 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 good grasp of the Python programming language is needed to implement the examples.

Table of Contents

  1. Interpretation, Interpretability and Explainability; and why does it all matter?
  2. Key Concepts of Interpretability
  3. Interpretation Challenges
  4. Global Model-agnostic Interpretation Methods
  5. Local Model-agnostic Interpretation Methods
  6. Anchors and Counterfactual Explanations
  7. Visualizing Convolutional Neural Networks
  8. Interpreting NLP Transformers
  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?

Editorial Reviews

Review

“This book dives deep into these fundamental concepts that need to be demystified for beginners and advanced specialists. Serg Masís takes the time to help the reader understand the difference between interpretability and explainability. By the end of the book, you will be able to face the challenges of real-life AI implementations that require interpretability for legal reasons and to gain user trust.”

Denis Rothman, AI Ethicist and Bestselling Author

“Serg is one of those authors who brings true passion to their work. To the best of my knowledge, his new book, Interpretable Machine Learning with Python, Second Edition offers the most systematic, clear, and comprehensive coverage of explainability and interpretability methods in Python available on the market. Even if you’re a seasoned practitioner, you’ll likely learn something new from this book.”

Aleksander Molak, Author of Causal Inference and Discovery in Python, Creator of CausalPython.io

“I never felt that the book was repetitive or took too long to make a point; this perhaps reflects how densely packed with content it is. This also means that the book has something to offer regardless of your seniority level. As a somewhat tenured practitioner, there were some basic sections that I could skim over, while others required more of my attention.

What I enjoyed most about the book was that 1) it made me revisit some basic concepts I already knew (regression, counterfactual reasoning) from a different perspective, and 2) it helped me fully understand some methods and concepts I regularly use.”

Matheus Facure, Author of Causal Inference in Python by O’Reilly Media

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 start-up, 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 robustly.

View on Amazon

电子书代发PDF格式价格30我要求助
未经允许不得转载:Wow! eBook » Interpretable Machine Learning with Python: Build explainable, fair, and robust high-performance models with hands-on, real-world examples 2nd Edition