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)kernelshap_0.9.1.zip(r-4.6)kernelshap_0.9.1.zip(r-4.5)
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
card.svg |card.png
kernelshap/json (API)
NEWS

# 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

9.43 score 62 stars 23 packages 227 scripts 9.3k downloads 4 exports 10 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK117
source / vignettesOK148
linux-release-x86_64OK114
macos-release-arm64OK77
macos-oldrel-arm64OK107
windows-develOK81
windows-releaseOK76
windows-oldrelOK76
wasm-releaseOK93

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