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) for details.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fastshap")

0.1.1 by Brandon Greenwell, 3 years ago


https://github.com/bgreenwell/fastshap, https://bgreenwell.github.io/fastshap/


Report a bug at https://github.com/bgreenwell/fastshap/issues


Browse source code at https://github.com/cran/fastshap


Authors: Brandon Greenwell [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports foreach, Rcpp, utils

Suggests AmesHousing, covr, earth, knitr, ranger, rmarkdown, shapviz, tibble, tinytest

Enhances lightgbm, xgboost

Linking to Rcpp, RcppArmadillo


Suggested by ENMTools, innsight, mlr3summary, sappviz, ubair.


See at CRAN