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.

Version: 0.1.1
Depends: R (≥ 3.6.0)
Imports: foreach, Rcpp (≥ 1.0.1), utils
LinkingTo: Rcpp, RcppArmadillo
Suggests: AmesHousing, covr, earth, knitr, ranger, rmarkdown, shapviz (≥ 0.8.0), tibble, tinytest (≥ 1.4.1)
Enhances: lightgbm, xgboost
Published: 2024-02-22
DOI: 10.32614/CRAN.package.fastshap
Author: Brandon Greenwell ORCID iD [aut, cre]
Maintainer: Brandon Greenwell <greenwell.brandon at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: NEWS
In views: MachineLearning
CRAN checks: fastshap results


Reference manual: fastshap.pdf
Vignettes: fastshap


Package source: fastshap_0.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): fastshap_0.1.1.tgz, r-oldrel (arm64): fastshap_0.1.1.tgz, r-release (x86_64): fastshap_0.1.1.tgz, r-oldrel (x86_64): fastshap_0.1.1.tgz
Old sources: fastshap archive

Reverse dependencies:

Reverse imports: flowml, itsdm
Reverse suggests: ENMTools, innsight, mlr3summary, nestedcv, vip
Reverse enhances: shapviz


Please use the canonical form to link to this page.