SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1705.07874 · 2017

A Unified Approach to Interpreting Model Predictions

Scott Lundberg, Paul Allen

arXiv · PDF · Open in the Atlas

Code that ran

3 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 0 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1705.07874.json · badge: /api/ran/1705.07874.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
GISH123/Cathay-Holdings-CIP-Projects-for-Interpretable-Machine-Learning community
Papers with Code archive
1 ran · 1 no recorded run
suinleelab/vit-shapley community
Papers with Code archive
0 ran · 2 no recorded run
iancovert/shapley-regression community
Papers with Code archive
0 ran · 2 no recorded run
FunctionStatusWhere it lives
ShapNN Ran
ran on a synthesized input · constructed an object; no result was computed
GISH123/Cathay-Holdings-CIP-Projects-for-Interpretable-Machine-Learning/Interpretable Machine Learning/Data Shapley/Data Shapley cores(forked from github Data Shapley)/DShap.py
pointer only (licence: NONE) · get_code("8a5c823af20228ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GISH123/Cathay-Holdings-CIP-Projects-for-Interpretable-Machine-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_result Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from iancovert/shapley-regression
pointer only · get_code("3514bf75f7ea90b7")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

default_min_variance_samples Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from iancovert/shapley-regression
pointer only · get_code("ddb5cac385e0f2fb")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DShap Not yet run
unverified (harvested, no recorded run)
GISH123/Cathay-Holdings-CIP-Projects-for-Interpretable-Machine-Learning/Interpretable Machine Learning/Data Shapley/Data Shapley cores(forked from github Data Shapley)/DShap.py
pointer only (licence: NONE) · get_code("4ad3529c6a0d35d4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GISH123/Cathay-Holdings-CIP-Projects-for-Interpretable-Machine-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ExplainerViT Not yet run
unverified (harvested, no recorded run)
suinleelab/vit-shapley/src/vit_shapley/models/explainer.py
pointer only (licence: NONE) · get_code("d229caa00dd35ea5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, suinleelab/vit-shapley when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ShapleyRegression Not yet run
unverified (harvested, no recorded run)
iancovert/shapley-regression/shapreg/shapley.py
code served (permissive licence) · get_code("1bae926aa4169f77")
How it ran

no invocation recorded.

_reset_weights Not yet run
unverified (harvested, no recorded run)
suinleelab/vit-shapley/src/vit_shapley/models/explainer.py
pointer only (licence: NONE) · get_code("324da4ba58dcc892")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, suinleelab/vit-shapley when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

default_variance_batches Not yet run
unverified (harvested, no recorded run)
iancovert/shapley-regression/shapreg/shapley.py
code served (permissive licence) · get_code("a0ec30609289d2f1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
default_min_variance_samples
brick of this paper's assembly: helper
3 other papers
3 later
2012.01536 (2020-12)
Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regression
2401.15866 (2024-01)
Stochastic Amortization: A Unified Approach to Accelerate Feature and Data Attribution
2505.04775 (2025-05)
Prediction via Shapley Value Regression
calculate_result
brick of this paper's assembly: model
2 other papers
2 later
2012.01536 (2020-12)
Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regression
2505.04775 (2025-05)
Prediction via Shapley Value Regression
ShapNN
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2104.12567 (2021-04)
Evaluating the Values of Sources in Transfer Learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Understanding why a model makes a certain prediction can be as crucial as the prediction's accuracy in many applications. However, the highest accuracy for large modern datasets is often achieved by complex models that even experts struggle to interpret, such as ensemble or deep learning models, creating a tension between accuracy and interpretability. In response, various methods have recently been proposed to help users interpret the predictions of complex models, but it is often unclear how these methods are related and when one method is preferable over another. To address this problem, we present a unified framework for interpreting predictions, SHAP (SHapley Additive exPlanations). SHAP assigns each feature an importance value for a particular prediction. Its novel components include: (1) the identification of a new class of additive feature importance measures, and (2) theoretical results showing there is a unique solution in this class with a set of desirable properties. The new class unifies six existing methods, notable because several recent methods in the class lack the proposed desirable properties. Based on insights from this unification, we present new methods that show improved computational performance and/or better consistency with human intuition than previous approaches.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1705.07874")
get_code_for_paper("1705.07874")
have("1705.07874")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1705.07874.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1705.07874.svg)](https://syntology.ai/paper/1705.07874)

Connect an agent — have() is free.