Package: kernelshap 0.9.1

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:
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
explainable-aiinterpretabilityinterpretable-machine-learningmachine-learningshapxai
Last updated from:7f524cd20b. Checks:9 OK. Indexed: yes.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-x86_64 | OK | 96 | |
| source / vignettes | OK | 132 | |
| linux-release-x86_64 | OK | 84 | |
| macos-devel-arm64 | OK | 91 | |
| macos-release-arm64 | OK | 84 | |
| windows-devel | OK | 83 | |
| windows-release | OK | 74 | |
| windows-oldrel | OK | 71 | |
| wasm-release | OK | 85 |
Exports:additive_shapis.kernelshapkernelshappermshap
Dependencies:codetoolsdigestdoFutureforeachfuturefuture.applyglobalsiteratorslistenvparallelly
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Additive SHAP | additive_shap |
| Check for kernelshap | is.kernelshap |
| Kernel SHAP | kernelshap kernelshap.default kernelshap.ranger |
| Permutation SHAP | permshap permshap.default permshap.ranger |
| Prints "kernelshap" Object | print.kernelshap |
| Summarizes "kernelshap" Object | summary.kernelshap |
