Package: kernelshap 0.9.1

Image

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.6)kernelshap_0.9.1.zip(r-4.5)kernelshap_0.9.1.zip(r-4.4)
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.6-any)kernelshap_0.9.1.tar.gz(r-4.5-any)
kernelshap_0.9.1.tgz(r-4.5-emscripten)
kernelshap.pdf |kernelshap.html
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.44 score 57 stars 22 packages 233 scripts 8.9k downloads 4 exports 10 dependencies

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

TargetResultTotal timeArtifact
linux-devel-x86_64OK96
source / vignettesOK132
linux-release-x86_64OK84
macos-devel-arm64OK91
macos-release-arm64OK84
windows-develOK83
windows-releaseOK74
windows-oldrelOK71
wasm-releaseOK85

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

  • Image