Ross ROSS = Recommend OSS · open-source software intelligence for agents

shap/shap

A game theoretic approach to explain the output of any machine learning model. observed · 2026-08-28

github.com/shap/shap · homepage · Jupyter Notebook · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

90/100

  • Activity 99
  • Release rhythm 74
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 41.5
  • age_days: 3571
  • days_rel: 97
  • days_push: 9
  • n_releases_24m: 9

Full methodology

Adoption not part of the score

25704 stars · 3747 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

SHAP (SHapley Additive exPlanations) is a Python library that explains the output of any machine learning model using Shapley values from game theory. It provides fast exact algorithms for tree ensembles and model-agnostic explainers with rich visualization tools.

Use cases

  • explain predictions of an xgboost model
  • compute feature importance with shapley values
  • interpret a neural network's output
  • visualize which features drove a model's prediction
  • explain text classification model decisions
  • audit model fairness and bias
  • debug why a model made a specific prediction

When to choose

  • you need theoretically grounded, consistent feature attributions for any model
  • you use tree ensembles like XGBoost, LightGBM, or CatBoost and want fast exact SHAP values
  • you need plots and explainers for tabular, text, and image models

When to avoid

  • you only need simple built-in feature importances and not per-prediction explanations
  • your dataset is so large that Shapley value computation is prohibitively expensive
  • you need a non-Python environment

Facets

library · maturity active

machine-learning data-visualization nlp computer-vision machine-learning data-science deep-learning artificial-intelligence python cross-platform explainability shapley-values interpretability feature-attribution xgboost model-agnostic gpu

2 sources

Member repositories

RepositoryRoleHealth v2
shap/shapmain90

For agents

markdown · JSON · MCP: product_card(name="shap/shap")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem