{"adoption": {"forks": 3747, "observed_at": "2026-08-28T04:11:38.432294+00:00", "stars": 25704}, "canonical_url": "https://ross.abutalabs.com/products/shap", "card": {"archived": false, "artifact_type": "library", "description": "A game theoretic approach to explain the output of any machine learning model.", "domain": ["machine-learning", "data-science", "deep-learning", "artificial-intelligence"], "enriched": true, "function": ["machine-learning", "data-visualization", "nlp", "computer-vision"], "health_score": 99, "homepage": "https://shap.readthedocs.io", "language": "Jupyter Notebook", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["shap/shap"], "name": "shap/shap", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-24T20:07:12+00:00", "repo": "shap/shap", "stars": 25704, "tags": ["explainability", "shapley-values", "interpretability", "feature-attribution", "xgboost", "model-agnostic", "gpu"], "topics": ["interpretability", "machine-learning", "deep-learning", "gradient-boosting", "shap", "shapley", "explainability"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/shap", "repo": "shap/shap", "role": "main", "score": 90}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:38.432294+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T16:56:00.253793+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "485afe95720f72262399739661baf838a8979a35f7c7ede0b17c96a18d0cdea4", "fetched_at": "2026-08-28T04:11:38.432294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shap/shap"}, {"content_hash": "0bba347faf32391fb7d2599d0567217b63100c57dc02e1d3878c2e051b98b87e", "fetched_at": "2026-08-29T07:52:39.019136+00:00", "kind": "homepage", "missing": false, "url": "https://shap.readthedocs.io"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 74}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3571, "days_push": 9, "days_rel": 97, "gap_med": 41.5, "n_releases_24m": 9}, "score": 90, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}