Package: treeshap 0.4.0

Michael Mayer

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

Authors:Michael Mayer [aut, cre], Konrad Komisarczyk [aut], Pawel Kozminski [aut], Szymon Maksymiuk [aut], Lorenz A. Kapsner [ctb], Mikolaj Spytek [ctb], Mateusz Krzyzinski [ctb], Przemyslaw Biecek [aut, cph]

treeshap_0.4.0.tar.gz
treeshap_0.4.0.zip(r-4.7)treeshap_0.4.0.zip(r-4.6)treeshap_0.4.0.zip(r-4.5)
treeshap_0.4.0.tgz(r-4.6-x86_64)treeshap_0.4.0.tgz(r-4.6-arm64)treeshap_0.4.0.tgz(r-4.5-x86_64)treeshap_0.4.0.tgz(r-4.5-arm64)
treeshap_0.4.0.tar.gz(r-4.7-arm64)treeshap_0.4.0.tar.gz(r-4.7-x86_64)treeshap_0.4.0.tar.gz(r-4.6-arm64)treeshap_0.4.0.tar.gz(r-4.6-x86_64)
treeshap_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
treeshap/json (API)

# Install 'treeshap' in R:
install.packages('treeshap', repos = c('https://modeloriented.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/modeloriented/treeshap/issues

Pkgdown/docs site:https://modeloriented.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • fifa20 - Attributes of all players in FIFA 20

On CRAN:

Conda:

explainabilityexplainable-aiexplainable-artificial-intelligenceexplanatory-model-analysisimlinterpretabilityinterpretable-machine-learningmachine-learningresponsible-mlshapshapley-valuexaicpp

7.43 score 99 stars 224 scripts 1.4k downloads 20 exports 19 dependencies

Last updated from:09be1a095b. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK182
linux-devel-x86_64OK197
source / vignettesOK154
linux-release-arm64OK184
linux-release-x86_64OK189
macos-release-arm64OK164
macos-release-x86_64OK388
macos-oldrel-arm64OK163
macos-oldrel-x86_64OK311
windows-develOK202
windows-releaseOK172
windows-oldrelOK167
wasm-releaseOK154

Exports:colors_breakdown_drwhycolors_discrete_drwhygbm.unifygpboost.unifyis.model_unifiedis.treeshaplightgbm.unifyplot_contributionplot_feature_dependenceplot_feature_importanceplot_interactionrandomForest.unifyranger_surv.unifyranger.unifyset_reference_datasettheme_drwhytheme_drwhy_verticaltreeshapunifyxgboost.unify

Dependencies:clicpp11data.tablefarverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcpprlangS7scalesvctrsviridisLitewithr