shap / shap
git clone https://github.com/shap/shap.git
v0.54.1 · 8d ago
🔥 on GitHub Trending today
Python library that computes Shapley-value explanations for the predictions of any machine learning model.
Why you might care
Gives per-prediction and global feature attributions with a fast exact algorithm for tree ensembles like XGBoost, LightGBM, CatBoost, and scikit-learn. Use it to see which features push a model's output up or down, with built-in plots such as force and summary plots.
+0
stars, 24h · #23,344
+~5
stars, 7 days · #17,555
+80
stars, 30 days · #8,859
26k
★ total · +0% this week
3.8k
forks · 997 open issues
Star history (as recorded here)
LanguageJupyter Notebook
LicenseMIT
Created2016-11-22 (9y ago)
Last push2d ago
Watchers246
OwnerOrganization
Seen on GitHub Trending
- 2026-10-24 — #13 monthly in jupyter-notebook · +80 ★
- 2026-10-23 — #13 monthly in jupyter-notebook · +80 ★
- 2026-10-22 — #13 monthly in jupyter-notebook · +82 ★
- 2026-10-21 — #8 monthly in jupyter-notebook · +85 ★
- 2026-10-20 — #8 monthly in jupyter-notebook · +88 ★
GitHub topics
Links
- GitHub: github.com/shap/shap
- Homepage: https://shap.readthedocs.io
- Releases · Issues · Hacker News mentions
README
Loading README…
Blurb generated by claude-haiku-5-5 1d ago. Star deltas marked ~ are extrapolated from partial history.