Shapley Value Methods ML Frameworks

Tools and libraries for computing, analyzing, and interpreting Shapley values for feature importance, model explanation, and data valuation. Does NOT include general feature importance methods, model interpretability frameworks, or explainability systems that don't specifically use Shapley value theory.

There are 44 shapley value methods frameworks tracked. 1 score above 70 (verified tier). The highest-rated is shap/shap at 82/100 with 25,115 stars. 2 of the top 10 are actively maintained.

Get all 44 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=shapley-value-methods&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 shap/shap

A game theoretic approach to explain the output of any machine learning model.

82
Verified
2 mmschlk/shapiq

Shapley Interactions and Shapley Values for Machine Learning

68
Established
3 iancovert/sage

For calculating global feature importance using Shapley values.

56
Established
4 aerdem4/lofo-importance

Leave One Feature Out Importance

53
Established
5 predict-idlab/powershap

A power-full Shapley feature selection method.

53
Established
6 ReX-XAI/ReX

Causal Responsibility EXplanations for Image Classifiers and Tabular Data

50
Established
7 linkedin/FastTreeSHAP

Fast SHAP value computation for interpreting tree-based models

50
Established
8 snehankekre/streamlit-shap

streamlit-shap provides a wrapper to display SHAP plots in Streamlit.

46
Emerging
9 GitsSaikat/QuXAI

Explainers for Quantum Machine Learning Models

46
Emerging
10 haghish/shapley

Weighted Shapley Values and Weighted Confidence Intervals for Multiple...

44
Emerging
11 wilsonjr/ClusterShapley

Explaining dimensionality results using SHAP values

42
Emerging
12 bank-of-england/Shapley_regressions

Statistical inference on machine learning or general non-parametric models

42
Emerging
13 mlr-org/xplainfi

Model-agnostic feature importance methods

41
Emerging
14 AidanCooper/shap-analysis-guide

How to Interpret SHAP Analyses: A Non-Technical Guide

40
Emerging
15 stavrostheocharis/easy_explain

An XAI library that helps to explain AI models in a really quick & easy way

40
Emerging
16 ajsanjoaquin/Shapley_Valuation

PyTorch reimplementation of computing Shapley values via Truncated Monte...

39
Emerging
17 jpmorganchase/cf-shap

Counterfactual SHAP: a framework for counterfactual feature importance

39
Emerging
18 easeml/datascope

Measuring data importance over ML pipelines using the Shapley value.

39
Emerging
19 AstraZeneca/awesome-shapley-value

Reading list for "The Shapley Value in Machine Learning" (JCAI 2022)

38
Emerging
20 ModelOriented/kernelshap

Different SHAP algorithms

38
Emerging
21 MauroLuzzatto/explainy

explainy is a Python library for generating machine learning model...

38
Emerging
22 jpmorganchase/cf-shap-facct22

Counterfactual Shapley Additive Explanation: Experiments

37
Emerging
23 tsitsimis/tinyshap

Python package providing a minimal implementation of the SHAP algorithm...

37
Emerging
24 akassharjun/ShapleyValueFL

A pip library for calculating the Shapley Value for computing the marginal...

32
Emerging
25 AmirhosseinHonardoust/Shap-Mini

A minimal, reproducible explainable-AI demo using SHAP values on tabular...

30
Emerging
26 zabir-nabil/What-If-Explainability

Explaining Trees (LightGBM) with FastTreeShap (Shapley) and What if tool

30
Emerging
27 eaguaida/causal-explainer

an open-source alternative to localised explanations in DNN/ML models

30
Emerging
28 Nelsonchris1/ML-explainability-app

This is a web app built for easy explainability of machine learning models...

30
Emerging
29 AndMastro/EdgeSHAPer

EdgeSHAPer: Bond-Centric Shapley Value-Based Explanation Method for Graph...

29
Experimental
30 cohortshapley/cohortshapley

Cohort Shapley: A local explanation method for black box prediction with...

27
Experimental
31 FernandoLpz/SHAP-Classification-example

This repository contains an example of how to implement the shap library to...

27
Experimental
32 wideraHannes/SHAP-In-NLP

Code for my thesis about SHAP. Implementation of DecisionTree, SVM, BERT on...

22
Experimental
33 Lorean44/DataTypical

🔍 Analyze datasets with DataTypical to identify key instances and their...

22
Experimental
34 JoranMichiels/decomposition-shap

Explain model and feature dependencies by decomposition of SHAP values

20
Experimental
35 schufa-innovationlab/pltreeshap

A SHAP implementation for piecewise linear trees

20
Experimental
36 CCaribe9/SHAPEffects

Code and experiments related to SHAPEffects paper: 'A feature selection...

20
Experimental
37 harris-chris/joint-shapley-values

Source code for the Joint Shapley values: a measure of joint feature importance

19
Experimental
38 mayer79/permshap

Permutation SHAP

19
Experimental
39 mlr-org/gadget

Decomposing Global Feature Effects Based on Feature Interactions

19
Experimental
40 0Kan0/Algorithm-for-the-generation-of-group-counterfactual-scenarios

Final Master Project made by Alberto Cano Turnes

19
Experimental
41 mdbenito/re-classwise-shapley

Code for the reproduction of Class-wise Shapley paper from Schoch, Xu, Ji [2022].

18
Experimental
42 Stokaru/tabular-ml-shap-consistency

🔍 Streamline tabular binary classification with model interpretability and...

14
Experimental
43 ccomkhj/interpretable-lightgbm

SHAP explainer for LightGBM models - Generate feature importance plots,...

12
Experimental
44 bostjanv76/featConstr

Explainable Feature Construction (EFC)

11
Experimental