Christoph Molnar

Interpretable Machine Learning

A Guide for Making Black Box Models Explainable

How to explain the predictions of machine learning models: interpretable models such as linear regression and decision trees, and model-agnostic methods — LIME, Shapley values, SHAP, partial dependence, ALE, permutation feature importance, counterfactual explanations — plus methods for neural networks.

3rd edition, 2025 · CC BY-NC-SA 4.0

Contents

Introduction

  1. About the Book
  2. Chapter 1Introduction
  3. Chapter 2Interpretability
  4. Chapter 3Goals of Interpretability
  5. Chapter 4Methods Overview
  6. Chapter 5Data and Models

Interpretable Models

  1. Chapter 6Linear Regression
  2. Chapter 7Logistic Regression
  3. Chapter 8GLM, GAM and more
  4. Chapter 9Decision Tree
  5. Chapter 10Decision Rules
  6. Chapter 11RuleFit

Local Model-Agnostic Methods

  1. Chapter 12Ceteris Paribus Plots
  2. Chapter 13Individual Conditional Expectation (ICE)
  3. Chapter 14LIME
  4. Chapter 15Counterfactual Explanations
  5. Chapter 16Scoped Rules (Anchors)
  6. Chapter 17Shapley Values
  7. Chapter 18SHAP

Global Model-Agnostic Methods

  1. Chapter 19Partial Dependence Plot (PDP)
  2. Chapter 20Accumulated Local Effects (ALE)
  3. Chapter 21Feature Interaction
  4. Chapter 22Functional Decomposition
  5. Chapter 23Permutation Feature Importance
  6. Chapter 24Leave One Feature Out (LOFO) Importance
  7. Chapter 25Surrogate Models
  8. Chapter 26Prototypes and Criticisms

Neural Network Interpretation

  1. Chapter 27Learned Features
  2. Chapter 28Saliency Maps
  3. Chapter 29Detecting Concepts
  4. Chapter 30Adversarial Examples
  5. Chapter 31Influential Instances

Beyond the Methods

  1. Chapter 32Evaluation of Interpretability Methods
  2. Chapter 33storytime
  3. Chapter 34The Future of Interpretability
  4. Chapter 35Translations

Appendices

  1. Machine Learning Terms
  2. math-terms
  3. r-packages
  1. Chapter 36Citing this Book
  2. Chapter 37Acknowledgments
  3. References