Compute SHAP Values for Your Tree-Based Models Using the 'TreeSHAP' Algorithm
DrWhy color palettes for ggplot objects
Unify GBM model
Check whether object is a valid model_unified object
Check whether object is a valid treeshap object
Unify LightGBM model
Unified model representation
Unified model representations for multi-output model
SHAP value based Break-Down plot
SHAP value based Feature Dependence plot
SHAP value based Feature Importance plot
SHAP Interaction value plot
Predict
Prints model_unified objects
Prints model_unified_multioutput objects
Prints treeshap objects
Prints treeshap_multioutput objects
Unify randomForest model
Unify ranger model
Unify ranger survival model
Set reference dataset
DrWhy Theme for ggplot objects
treeshap results
Calculate SHAP values of a tree ensemble model.
treeshap results for multi-output model
Unify tree-based model
Unify XGBoost model
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'.
Useful links