CRAN/E | treeshap

treeshap

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

Installation

About

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

modeloriented.github.io/treeshap/
github.com/ModelOriented/treeshap
Bug report File report

Key Metrics

Version 0.3.0
R ≥ 2.10
Published 2023-10-24 191 days ago
Needs compilation? yes
License GPL-3
CRAN checks treeshap results

Downloads

Yesterday 19 0%
Last 7 days 114 -1%
Last 30 days 431 +5%
Last 90 days 1.238 +4%
Last 365 days 3.064

Maintainer

Maintainer

Mateusz Krzyzinski

krzyzinskimateusz23@gmail.com

Authors

Konrad Komisarczyk

aut

Pawel Kozminski

aut

Szymon Maksymiuk

aut

Lorenz A. Kapsner

ctb

Mikolaj Spytek

ctb

Mateusz Krzyzinski

ctb / cre

Przemyslaw Biecek

aut / cph

Material

Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

treeshap archive

Depends

R ≥ 2.10

Imports

data.table
ggplot2
Rcpp

Suggests

gbm
jsonlite
lightgbm
randomForest
ranger
scales
survival
testthat
xgboost

LinkingTo

Rcpp