treeshap

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

CRAN Package

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

  • Version0.3.1
  • R versionunknown
  • LicenseGPL-3
  • Needs compilation?Yes
  • Last release01/22/2024

Team


Insights

Last 30 days

Last 365 days

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports3 packages
  • Suggests9 packages
  • Linking To1 package
  • Reverse Suggests1 package