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) . 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 version≥ 2.10
  • 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

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