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

shap/shap

Some data may be outdated — see provenance labels.

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

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

Health v2 · maintenance only

92/100

  • Activity 97
  • Release rhythm 82
  • Longevity 100
How is this computed?

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

  • gap_med: 55
  • age_days: 3619
  • days_rel: 43
  • days_push: 23
  • n_releases_24m: 10

Full methodology

Adoption not part of the score

25783 stars · 3754 forks observed · 2026-09-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-12, confidence 0.98

SHAP (SHapley Additive exPlanations) is a Python library that provides game‑theoretic explanations for the predictions of any machine‑learning model. It implements fast exact and approximate algorithms for tree ensembles, linear models, deep networks, and model‑agnostic cases.

Use cases

  • Explain predictions of a trained XGBoost or LightGBM model
  • Generate feature importance plots for a scikit‑learn classifier
  • Interpret individual predictions of a neural network for debugging
  • Assess fairness and bias by visualizing contribution of sensitive features
  • Create interactive explanations for a deployed model in a web app

When to choose

  • You need mathematically sound, additive feature attributions based on Shapley values
  • Your workflow already uses Python and common ML libraries like scikit‑learn, XGBoost, or PyTorch
  • You require fast tree‑based explanations with optional GPU acceleration

When to avoid

  • You need real‑time explanations on low‑power edge devices without Python support
  • Your model is not supported by SHAP’s optimized algorithms and you cannot afford the computational cost of model‑agnostic sampling
  • You prefer a purely visual, no‑code tool rather than a code library

Facets

library · maturity active

machine-learning data-visualization artificial-intelligence machine-learning deep-learning python windows shap model-interpretation game-theory feature-attribution explainability linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
shap/shapmain92

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem