📈 GH Trending Explorer 🎲 Surprise me

← all repos

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.

Categories

Alternatives

LIMEELI5InterpretMLCaptum
+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)

2026-10-20 · 25,823 ★ 2026-10-24 · 25,826 ★
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

README

Loading README…

Blurb generated by claude-haiku-5-5 1d ago. Star deltas marked ~ are extrapolated from partial history.