Package: kernelshap 0.9.1

Michael Mayer

kernelshap: Kernel SHAP

Efficient implementation of Kernel SHAP (Lundberg and Lee, 2017, <doi:10.48550/arXiv.1705.07874>) permutation SHAP, and additive SHAP for model interpretability. For Kernel SHAP and permutation SHAP, if the number of features is too large for exact calculations, the algorithms iterate until the SHAP values are sufficiently precise in terms of their standard errors. The package integrates smoothly with meta-learning packages such as 'tidymodels', 'caret' or 'mlr3'. It supports multi-output models, case weights, and parallel computations. Visualizations can be done using the R package 'shapviz'.

Authors:Michael Mayer [aut, cre], David Watson [aut], Przemyslaw Biecek [ctb]

kernelshap_0.9.1.tar.gz
kernelshap_0.9.1.zip(r-4.7-any)kernelshap_0.9.1.zip(r-4.6-any)kernelshap_0.9.1.zip(r-4.5-any)
kernelshap_0.9.1.tgz(r-4.6-any)kernelshap_0.9.1.tgz(r-4.5-any)
kernelshap_0.9.1.tar.gz(r-4.7-any)kernelshap_0.9.1.tar.gz(r-4.6-any)
kernelshap_0.9.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
kernelshap/json (API)

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

Bug tracker:https://github.com/modeloriented/kernelshap/issues

On CRAN:

Conda:

explainable-aiinterpretabilityinterpretable-machine-learningmachine-learningshapxai

8.64 score 62 stars 24 packages 259 scripts 7.5k downloads 4 exports 10 dependencies

Last updated from:7f524cd20b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK125
source / vignettesOK175
linux-releaseOK126
macos-releaseOK100
macos-oldrelOK99
windows-develOK87
windows-releaseOK63
windows-oldrelOK76
wasm-releaseOK102

Exports:additive_shapis.kernelshapkernelshappermshap

Dependencies:codetoolsdigestdoFutureforeachfuturefuture.applyglobalsiteratorslistenvparallelly

Readme and manuals

Help Manual

Help pageTopics
Additive SHAPadditive_shap
Check for kernelshapis.kernelshap
Kernel SHAPkernelshap kernelshap.default kernelshap.ranger
Permutation SHAPpermshap permshap.default permshap.ranger
Prints "kernelshap" Objectprint.kernelshap
Summarizes "kernelshap" Objectsummary.kernelshap