Interpretable Machine Learning
This book is 100% complete
Completed on 2020-02-28
About the Book
A free HTML version of the book can be found at: https://christophm.github.io/interpretable-ml-book/
The print version can be bought here: http://bit.ly/iml-paperback
"If you are looking for a good introduction to interpretable/explainable machine learning, this book is great. It covers lots of ground quickly and is well written, and is very up-to-date." - Tim Miller
Machine learning has great potential for improving products, processes and research. But computers usually do not explain their predictions which is a barrier to the adoption of machine learning. This book is about making machine learning models and their decisions interpretable.
After exploring the concepts of interpretability, you will learn about simple, interpretable models such as decision trees, decision rules and linear regression. Later chapters focus on general model-agnostic methods for interpreting black box models like feature importance and accumulated local effects and explaining individual predictions with Shapley values and LIME.
All interpretation methods are explained in depth and discussed critically. How do they work under the hood? What are their strengths and weaknesses? How can their outputs be interpreted? This book will enable you to select and correctly apply the interpretation method that is most suitable for your machine learning project.
The book focuses on machine learning models for tabular data (also called relational or structured data) and less on computer vision and natural language processing tasks. Reading the book is recommended for machine learning practitioners, data scientists, statisticians, and anyone else interested in making machine learning models interpretable.
- Story Time
- What Is Machine Learning?
- Importance of Interpretability
- Taxonomy of Interpretability Methods
- Scope of Interpretability
- Evaluation of Interpretability
- Properties of Explanations
- Human-friendly Explanations
- Bike Rentals (Regression)
- YouTube Spam Comments (Text Classification)
- Risk Factors for Cervical Cancer (Classification)
- Linear Regression
- Logistic Regression
- GLM, GAM and more
- Decision Tree
- Decision Rules
- Other Interpretable Models
- Partial Dependence Plot (PDP)
- Individual Conditional Expectation (ICE)
- Accumulated Local Effects (ALE) Plot
- Feature Interaction
- Feature Importance
- Global Surrogate
- Local Surrogate (LIME)
- Shapley Values
- Counterfactual Explanations
- Adversarial Examples
- Prototypes and Criticisms
- Influential Instances
A Look into the Crystal Ball
- The Future of Machine Learning
- The Future of Interpretability
- Contribute to the Book
- Citing this Book
- R Packages Used for Examples
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.