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'.
| Version: | 0.9.1 |
| Depends: | R (≥ 3.2.0) |
| Imports: | doFuture, foreach, stats, utils |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2025-09-20 |
| DOI: | 10.32614/CRAN.package.kernelshap |
| Author: | Michael Mayer |
| Maintainer: | Michael Mayer <mayermichael79 at gmail.com> |
| BugReports: | https://github.com/ModelOriented/kernelshap/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/ModelOriented/kernelshap |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| In views: | MachineLearning |
| CRAN checks: | kernelshap results |
| Reference manual: | kernelshap.html , kernelshap.pdf |
| Package source: | kernelshap_0.9.1.tar.gz |
| Windows binaries: | r-devel: kernelshap_0.9.1.zip, r-release: kernelshap_0.9.1.zip, r-oldrel: kernelshap_0.9.1.zip |
| macOS binaries: | r-release (arm64): kernelshap_0.9.1.tgz, r-oldrel (arm64): kernelshap_0.9.1.tgz, r-release (x86_64): kernelshap_0.9.1.tgz, r-oldrel (x86_64): kernelshap_0.9.1.tgz |
| Old sources: | kernelshap archive |
| Reverse imports: | DALEX, SEMdeep, survex, XAItest |
| Reverse suggests: | mrIML |
Please use the canonical form https://CRAN.R-project.org/package=kernelshap to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.