What problem does it solve?
SHAP provides principled, local- and global-level explanations for any machine learning model by attributing predictions to input features via Shapley values.
Core Features & Use Cases
- Global feature importance: summarize how features drive predictions across the dataset.
- Local explanations: decompose individual predictions to reveal each feature's contribution.
- Interaction insights: quantify and visualize feature interactions and model behavior across models.
Quick Start
Load your trained model and data, create the appropriate SHAP explainer (TreeExplainer for tree models, DeepExplainer for neural nets, LinearExplainer for linear models, or KernelExplainer for black-box cases), compute SHAP values on a representative background, then visualize global and local explanations.