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 42 shapley value methods frameworks tracked. 2 score above 70 (verified tier). The highest-rated is shap/shap at 92/100 with 25,115 stars and 14,461,405 monthly downloads. 2 of the top 10 are actively maintained.

Get all 42 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.

92
Verified
2 mmschlk/shapiq

Shapley Interactions and Shapley Values for Machine Learning

74
Verified
3 predict-idlab/powershap

A power-full Shapley feature selection method.

60
Established
4 linkedin/FastTreeSHAP

Fast SHAP value computation for interpreting tree-based models

53
Established
5 aerdem4/lofo-importance

Leave One Feature Out Importance

53
Established
6 iancovert/sage

For calculating global feature importance using Shapley values.

49
Emerging
7 ReX-XAI/ReX

Causal Responsibility EXplanations for Image Classifiers and Tabular Data

43
Emerging
8 GitsSaikat/QuXAI

Explainers for Quantum Machine Learning Models

39
Emerging
9 wilsonjr/ClusterShapley

Explaining dimensionality results using SHAP values

39
Emerging
10 snehankekre/streamlit-shap

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

39
Emerging
11 haghish/shapley

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

37
Emerging
12 MauroLuzzatto/explainy

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

36
Emerging
13 bank-of-england/Shapley_regressions

Statistical inference on machine learning or general non-parametric models

35
Emerging
14 mlr-org/xplainfi

Model-agnostic feature importance methods

34
Emerging
15 AidanCooper/shap-analysis-guide

How to Interpret SHAP Analyses: A Non-Technical Guide

33
Emerging
16 stavrostheocharis/easy_explain

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

33
Emerging
17 ajsanjoaquin/Shapley_Valuation

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

32
Emerging
18 easeml/datascope

Measuring data importance over ML pipelines using the Shapley value.

32
Emerging
19 jpmorganchase/cf-shap

Counterfactual SHAP: a framework for counterfactual feature importance

32
Emerging
20 ModelOriented/kernelshap

Different SHAP algorithms

31
Emerging
21 AstraZeneca/awesome-shapley-value

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

31
Emerging
22 jpmorganchase/cf-shap-facct22

Counterfactual Shapley Additive Explanation: Experiments

30
Emerging
23 tsitsimis/tinyshap

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

30
Emerging
24 AmirhosseinHonardoust/Shap-Mini

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

26
Experimental
25 akassharjun/ShapleyValueFL

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

25
Experimental
26 eaguaida/causal-explainer

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

23
Experimental
27 zabir-nabil/What-If-Explainability

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

23
Experimental
28 Nelsonchris1/ML-explainability-app

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

23
Experimental
29 Lorean44/DataTypical

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

22
Experimental
30 AndMastro/EdgeSHAPer

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

22
Experimental
31 FernandoLpz/SHAP-Classification-example

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

20
Experimental
32 cohortshapley/cohortshapley

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

20
Experimental
33 mlr-org/gadget

Decomposing Global Feature Effects Based on Feature Interactions

16
Experimental
34 wideraHannes/SHAP-In-NLP

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

15
Experimental
35 Stokaru/tabular-ml-shap-consistency

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

14
Experimental
36 schufa-innovationlab/pltreeshap

A SHAP implementation for piecewise linear trees

13
Experimental
37 CCaribe9/SHAPEffects

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

13
Experimental
38 JoranMichiels/decomposition-shap

Explain model and feature dependencies by decomposition of SHAP values

13
Experimental
39 0Kan0/Algorithm-for-the-generation-of-group-counterfactual-scenarios

Final Master Project made by Alberto Cano Turnes

12
Experimental
40 mayer79/permshap

Permutation SHAP

12
Experimental
41 harris-chris/joint-shapley-values

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

12
Experimental
42 mdbenito/re-classwise-shapley

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

11
Experimental