02Chapter 2: Fast exact values for trees with TreeExplainerAssume you can train a scikit-learn model and understand NumPy arrays and pandas tables. SHAP explains a prediction by assigning each feature a contribution. For tree ensembles, TreeExplainer computes these contributions efficiently, often exactly for the selected SHAP definition.1 min read
03Chapter 3: Summarizing a whole modelAssume you can train a scikit-learn model and understand NumPy arrays, pandas tables, and tree ensembles. A local SHAP explanation describes one prediction. A global explanation summarizes many rows.2 min read