Skip to contents

Explain predictions

Compute (approximate) Shapley values and related effect decompositions for the predictions of any supervised learning model.

explain()
Fast approximate Shapley values
explain_effects() print(<explain_effects>)
Main, total, and interaction effect decomposition

Data

Example data sets and generators used in examples and tests.

gen_friedman()
Friedman benchmark data
titanic
Survival of Titanic passengers
titanic_mice
Survival of Titanic passengers