Package: fastshap 0.1.1

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.5)fastshap_0.1.1.zip(r-4.4)fastshap_0.1.1.zip(r-4.3)
fastshap_0.1.1.tgz(r-4.4-x86_64)fastshap_0.1.1.tgz(r-4.4-arm64)fastshap_0.1.1.tgz(r-4.3-x86_64)fastshap_0.1.1.tgz(r-4.3-arm64)
fastshap_0.1.1.tar.gz(r-4.5-noble)fastshap_0.1.1.tar.gz(r-4.4-noble)
fastshap_0.1.1.tgz(r-4.4-emscripten)fastshap_0.1.1.tgz(r-4.3-emscripten)
fastshap.pdf |fastshap.html
fastshap/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

explainable-aiexplainable-mlinterpretable-machine-learningshapleyshapley-valuesvariable-importancexai

8.55 score 115 stars 2 packages 173 scripts 2.0k downloads 2 exports 5 dependencies

Last updated 9 months agofrom:c2fcaf794c. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-win-x86_64OKOct 31 2024
R-4.5-linux-x86_64OKOct 31 2024
R-4.4-win-x86_64OKOct 31 2024
R-4.4-mac-x86_64OKOct 31 2024
R-4.4-mac-aarch64OKOct 31 2024
R-4.3-win-x86_64OKOct 31 2024
R-4.3-mac-x86_64OKOct 31 2024
R-4.3-mac-aarch64OKOct 31 2024

Exports:explaingen_friedman

Dependencies:codetoolsforeachiteratorsRcppRcppArmadillo

fastshap

Rendered fromfastshap.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2024-02-22
Started: 2019-11-10

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