SHAP

SHAP (SHapley Additive exPlanations) is a unified, game-theoretic framework for local feature attribution. Treating a model's input features as players in a coalition game, SHAP assigns each feature its Shapley value — the average marginal contribution of that feature to the prediction across all possible feature subsets. Shapley values are the unique attributions satisfying local accuracy, missingness, and consistency, so the prediction decomposes additively into a baseline plus one Shapley value per feature, giving a per-prediction explanation that is theoretically grounded and model-agnostic.

zjunlp a4fa85c 2 files · 4.4 KB Updated

File contents

zjunlp/mechanist/tree/main/skills/mechanism-skills/SHAP commit a4fa85c88f

Frequently asked questions

npx skillmds@latest add zjunlp/shap