treeshap: Compute SHAP Values for Your Tree-Based Models Using the 'TreeSHAP' Algorithm (original) (raw)
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 |
DOI: | 10.32614/CRAN.package.treeshap |
Author: | Konrad Komisarczyk [aut], Pawel Kozminski [aut], Szymon Maksymiuk [aut], Lorenz A. Kapsner [ctb], Mikolaj Spytek [ctb], Mateusz Krzyzinski [ctb, cre], Przemyslaw Biecek [aut, cph] |
Maintainer: | Mateusz Krzyzinski |
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:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=treeshapto link to this page.