Package: fastshap 0.1.1

Brandon Greenwell

fastshap: Fast Approximate Shapley Values

Computes fast (relative to other implementations) approximate Shapley values for any supervised learning model. Shapley values help to explain the predictions from any black box model using ideas from game theory; see Strumbel and Kononenko (2014) <doi:10.1007/s10115-013-0679-x> for details.

Authors:Brandon Greenwell [aut, cre]

fastshap_0.1.1.tar.gz
fastshap_0.1.1.zip(r-4.7)fastshap_0.1.1.zip(r-4.6)fastshap_0.1.1.zip(r-4.5)
fastshap_0.1.1.tgz(r-4.6-x86_64)fastshap_0.1.1.tgz(r-4.6-arm64)fastshap_0.1.1.tgz(r-4.5-x86_64)fastshap_0.1.1.tgz(r-4.5-arm64)
fastshap_0.1.1.tar.gz(r-4.7-arm64)fastshap_0.1.1.tar.gz(r-4.7-x86_64)fastshap_0.1.1.tar.gz(r-4.6-arm64)fastshap_0.1.1.tar.gz(r-4.6-x86_64)
fastshap_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
fastshap/json (API)
NEWS

# Install 'fastshap' in R:
install.packages('fastshap', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bgreenwell/fastshap/issues

Pkgdown/docs site:https://bgreenwell.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

archivedpackagesr-universecpp

6.02 score 5 stars 2 packages 425 scripts 8.3k downloads 2 exports 5 dependencies

Last updated from:69e60b8c24 (on package/fastshap). Checks:11 ERROR, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR137
linux-devel-x86_64ERROR252
source / vignettesOK231
linux-release-arm64ERROR153
linux-release-x86_64ERROR290
macos-release-arm64ERROR98
macos-release-x86_64ERROR402
macos-oldrel-arm64ERROR110
macos-oldrel-x86_64ERROR290
windows-develERROR125
windows-releaseERROR138
windows-oldrelERROR140
wasm-releaseOK116

Exports:explaingen_friedman

Dependencies:codetoolsforeachiteratorsRcppRcppArmadillo

fastshap

Rendered fromfastshap.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2026-05-27
Started: 2026-05-27

Readme and manuals

Help Manual

Help pageTopics
Fast approximate Shapley valuesexplain explain.default explain.lgb.Booster explain.lm explain.xgb.Booster
Friedman benchmark datagen_friedman
Survival of Titanic passengerstitanic
Survival of Titanic passengerstitanic_mice