treeshap: Compute SHAP Values for Your Tree-Based Models Using the 'TreeSHAP' Algorithm

An efficient implementation of the 'TreeSHAP' algorithm introduced by Lundberg et al., (2020) <doi:10.1038/s42256-019-0138-9>. It is capable of calculating SHAP (SHapley Additive exPlanations) values for tree-based models in polynomial time. Currently supported models include 'gbm', 'randomForest', 'ranger', 'xgboost', 'lightgbm'.

Version: 0.3.1
Depends: R (≥ 2.10)
Imports: data.table, ggplot2, Rcpp
LinkingTo: Rcpp
Suggests: gbm, jsonlite, lightgbm, randomForest, ranger, scales, survival, testthat, xgboost
Published: 2024-01-22
Author: Konrad Komisarczyk [aut], Pawel Kozminski [aut], Szymon Maksymiuk ORCID iD [aut], Lorenz A. Kapsner ORCID iD [ctb], Mikolaj Spytek ORCID iD [ctb], Mateusz Krzyzinski ORCID iD [ctb, cre], Przemyslaw Biecek ORCID iD [aut, cph]
Maintainer: Mateusz Krzyzinski <krzyzinskimateusz23 at gmail.com>
BugReports: https://github.com/ModelOriented/treeshap/issues
License: GPL-3
URL: https://modeloriented.github.io/treeshap/, https://github.com/ModelOriented/treeshap
NeedsCompilation: yes
CRAN checks: treeshap results

Documentation:

Reference manual: treeshap.pdf

Downloads:

Package source: treeshap_0.3.1.tar.gz
Windows binaries: r-devel: treeshap_0.3.1.zip, r-release: treeshap_0.3.1.zip, r-oldrel: treeshap_0.3.1.zip
macOS binaries: r-release (arm64): treeshap_0.3.1.tgz, r-oldrel (arm64): treeshap_0.3.1.tgz, r-release (x86_64): treeshap_0.3.1.tgz
Old sources: treeshap archive

Reverse dependencies:

Reverse suggests: survex

Linking:

Please use the canonical form https://CRAN.R-project.org/package=treeshap to link to this page.