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
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

9.17 score 62 stars 23 packages 247 scripts 6.9k downloads 4 exports 10 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK124
source / vignettesOK198
linux-release-x86_64OK133
macos-release-arm64OK91
macos-oldrel-arm64OK103
windows-develOK78
windows-releaseOK75
windows-oldrelOK69
wasm-releaseOK100

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