Free Interpretable Machine Learning and Responsible AI study guide

This free Interpretable Machine Learning and Responsible AI study guide has 35 topics, 257 flashcards and 43 practice questions, starting with 1 Introduction, 2 Interpretability and 3 Goals of Interpretability. It suits college students at the intermediate level and is built from the open textbook “Interpretable Machine Learning” by Christoph Molnar (CC BY-NC-SA 4.0). It is free to use, and the study aids are generated automatically, so check important facts against your own textbook.

Study this course free

What you will study

35 topics, in the order of the textbook. Your own course may order them differently, so follow your syllabus.

Chapter 1: 1 Introduction

Because it wasn’t a human who answered, but a horse called “Clever Hans”. Hans relied on the tiniest changes in the human’s body language and facial expressions to stop tapping at the right time.

Chapter 2: 2 Interpretability

Chapter 3: 3 Goals of Interpretability

Chapter 4: 4 Methods Overview

Model-agnostic methods can be further divided into local methods which focus on explaining individual predictions, and global methods which focus on datasets.

Chapter 5: 5 Data and Models

Throughout the book, there are two datasets that you will encounter often. This chapter presents the data and models that we will interpret in this book.

Chapter 6: 6 Linear Regression

Chapter 7: 7 Logistic Regression

Logistic regression models the probabilities for classification problems with two possible outcomes. Save yourself time and headaches (log odds, anyone?) and check out my logistic regression interpretation cheat sheet.

Chapter 8: 8 GLM, GAM and more

Chapter 9: 9 Decision Tree

Chapter 10: 10 Decision Rules

A decision rule is a simple IF-THEN statement consisting of a condition (also called antecedent) and a prediction. Decision rules are probably the most interpretable prediction models: Their IF-THEN structure semantically...

Chapter 11: 11 RuleFit

The RuleFit algorithm (Friedman and Popescu 2008) learns sparse linear models that include automatically detected interaction effects in the form of decision rules.

Chapter 12: 12 Ceteris Paribus Plots

Ceteris paribus (CP) plots (Kuźba, Baranowska, and Biecek 2019) visualize how changes in a single feature change the prediction of a data point. A partial dependence plot (PDP) is the average of all CP curves of one dataset.

Chapter 13: 13 Individual Conditional Expectation (ICE)

Individual Conditional Expectation (ICE) plots display one line per instance that shows how the instance’s prediction changes when a feature changes.

Chapter 14: 14 LIME

Local surrogate models are interpretable models that are used to explain individual predictions of black box machine learning models.

Chapter 15: 15 Counterfactual Explanations

Chapter 16: 16 Scoped Rules (Anchors)

Like its predecessor, the anchors approach deploys a perturbation-based strategy to generate local explanations for predictions of black box machine learning models.

Chapter 17: 17 Shapley Values

A prediction can be explained by assuming that each feature value of the instance is a “player” in a game where the prediction is the payout. Looking for a comprehensive, hands-on guide to SHAP and Shapley values?

Chapter 18: 18 SHAP

A few years later, Lundberg and Lee (2017) proposed SHAP, which was basically a new way to estimate Shapley values for interpreting machine learning predictions, along with a theory connecting Shapley values with LIME and other...

Chapter 19: 19 Partial Dependence Plot (PDP)

The partial dependence plot (short PDP or PD plot) shows the marginal effect one or two features have on the predicted outcome of a machine learning model (Friedman 2001).

Chapter 20: 20 Accumulated Local Effects (ALE)

Accumulated local effects (Apley and Zhu 2020) describe how features influence the prediction of a machine learning model on average.

Chapter 21: 21 Feature Interaction

When features interact with each other in a prediction model, the prediction cannot be expressed as the sum of the feature effects because the effect of one feature depends on the value of the other feature.

Chapter 22: 22 Functional Decomposition

Chapter 23: 23 Permutation Feature Importance

Permutation feature importance (PFI) measures the increase in the prediction error of the model after we permute the values of the feature, which breaks the relationship between the feature and the true outcome.

Chapter 24: 24 Leave One Feature Out (LOFO) Importance

Chapter 25: 25 Surrogate Models

A global surrogate model is an interpretable model that is trained to approximate the predictions of a black box model. Solving machine learning interpretability by using more machine learning!

Chapter 26: 26 Prototypes and Criticisms

The prototypes are selected (manually), in this case, to cover the centers of the data distribution, and the criticisms are points in a cluster without a prototype.

Chapter 27: 27 Learned Features

Convolutional neural networks learn abstract features and concepts from raw image pixels. In those convolutional layers, the network learns new and increasingly complex features in its layers, Then the transformed image...

Chapter 28: 28 Saliency Maps

Chapter 29: 29 Detecting Concepts

Author: Fangzhou Li @ University of California, Davis So far, we have encountered many methods to explain black box models through feature attribution.

Chapter 30: 30 Adversarial Examples

An adversarial example is an instance with small, intentional feature perturbations that cause a machine learning model to make a false prediction.

Chapter 31: 31 Influential Instances

Machine learning models are ultimately a product of training data, and deleting one of the training instances can affect the resulting model.

Chapter 32: 32 Evaluation of Interpretability Methods

Evaluating approaches to interpretable machine learning is difficult due to a general lack of ground truth. For interpretable machine learning, there is no ground truth in real-world data.

Chapter 33: 33 Story Time

The sensors have also detected the patient’s slowing heart rate and extremely low cortisol levels caused by the morphine derivate and other pain blocking agents.” She continued to swipe through the diagnostics report.

Chapter 34: 34 The Future of Interpretability

What’s the future of interpretable machine learning? Automation: When a task can be automated and the cost of automation is lower than the cost of performing the task over time, the task will be automated.

Chapter 35: A Machine Learning Terms

Cooking recipes are algorithms where the ingredients are the inputs, the cooked food is the output, and the preparation and cooking steps are the algorithm instructions.

Try some

Real flashcards and practice questions from this study guide, with their answers.

Flashcard 1

In your own words: what does “goal of science” mean?

Answer: The goal of science is to gain knowledge, but many problems are solved with big datasets and black box machine learning models.

Flashcard 2

In your own words: what does “Gradient-based” mean?

Answer: The gradient-based methods (of which there are many) mostly differ in how the gradient is computed.

Flashcard 3

In your own words: what does “Prediction” mean?

Answer: The Prediction is the machine learning model’s “guess” for the target value based on the given features.

Practice question 1

Fill in the blank: The _____ is to gain knowledge, but many problems are solved with big datasets and black box machine learning models.

  • A. Fidelity
  • B. Goal of science
  • C. Debugged and audited
  • D. Detecting bias

Answer: B. Goal of science

The goal of science is to gain knowledge, but many problems are solved with big datasets and black box machine learning models.

Practice question 2

Fill in the blank: The _____ is the machine learning model’s “guess” for the target value based on the given features.

  • A. Learner
  • B. Features
  • C. Prediction
  • D. Machine Learning

Answer: C. Prediction

The Prediction is the machine learning model’s “guess” for the target value based on the given features.

Study this course free

Prerequisites and next steps

Helpful to know first

More in AI and data science

About this study pack

Attribution: Adapted from “Interpretable Machine Learning” by Christoph Molnar (https://christophm.github.io/interpretable-ml-book/), CC BY-NC-SA 4.0. Study aids (flashcards, quiz questions, summaries) were generated automatically from the text; they may contain errors.

Frequently asked questions

Is the Interpretable Machine Learning and Responsible AI study guide free?

Yes. StudyGrasp is always free: no paywall and no credit card. Students create a free account so that their progress is saved.

What textbook is the Interpretable Machine Learning and Responsible AI study guide based on?

It is built from “Interpretable Machine Learning” by Christoph Molnar, an open textbook licensed under CC BY-NC-SA 4.0. StudyGrasp adapted it and is not affiliated with its authors or publisher.

How many practice questions does it have?

It has 43 practice questions and 257 flashcards across 35 topics. They are generated automatically from the textbook and marked Draft, so they can contain mistakes.

Can I use it offline or install it?

You can add StudyGrasp to your phone or computer. The app opens offline, and flashcards you have opened keep working without a connection. Offline copies are cleared when you sign out.

Study Interpretable Machine Learning and Responsible AI free

Ask questions that cite the textbook, practise with flashcards and quizzes, and keep your own notes private. Study this course free

StudyGrasp is not affiliated with the textbook publishers named here. Browse all courses · FAQ