Package: treeshap 0.3.1.9000

Mateusz Krzyzinski

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:Konrad Komisarczyk [aut], Pawel Kozminski [aut], Szymon Maksymiuk [aut], Lorenz A. Kapsner [ctb], Mikolaj Spytek [ctb], Mateusz Krzyzinski [ctb, cre], Przemyslaw Biecek [aut, cph]

treeshap_0.3.1.9000.tar.gz
treeshap_0.3.1.9000.zip(r-4.5)treeshap_0.3.1.9000.zip(r-4.4)treeshap_0.3.1.9000.zip(r-4.3)
treeshap_0.3.1.9000.tgz(r-4.4-x86_64)treeshap_0.3.1.9000.tgz(r-4.4-arm64)treeshap_0.3.1.9000.tgz(r-4.3-x86_64)treeshap_0.3.1.9000.tgz(r-4.3-arm64)
treeshap_0.3.1.9000.tar.gz(r-4.5-noble)treeshap_0.3.1.9000.tar.gz(r-4.4-noble)
treeshap_0.3.1.9000.tgz(r-4.4-emscripten)treeshap_0.3.1.9000.tgz(r-4.3-emscripten)
treeshap.pdf |treeshap.html
treeshap/json (API)

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

Peer review:

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

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

On CRAN:

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

19 exports 78 stars 3.92 score 30 dependencies 133 scripts 372 downloads

Last updated 8 months agofrom:a1a5472fe5. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 20 2024
R-4.5-win-x86_64OKAug 20 2024
R-4.5-linux-x86_64OKAug 20 2024
R-4.4-win-x86_64OKAug 20 2024
R-4.4-mac-x86_64OKAug 20 2024
R-4.4-mac-aarch64OKAug 20 2024
R-4.3-win-x86_64OKAug 20 2024
R-4.3-mac-x86_64OKAug 20 2024
R-4.3-mac-aarch64OKAug 20 2024

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

Dependencies:clicolorspacedata.tablefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithr