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


[Up] [Top]

Documentation for package ‘treeshap’ version 0.3.1

Help Pages

colors_breakdown_drwhy DrWhy color palettes for ggplot objects
colors_discrete_drwhy DrWhy color palettes for ggplot objects
fifa20 Attributes of all players in FIFA 20
gbm.unify Unify GBM model
is.model_unified Check whether object is a valid model_unified object
is.treeshap Check whether object is a valid treeshap object
lightgbm.unify Unify LightGBM model
model_unified.object Unified model representation
model_unified_multioutput.object Unified model representations for multi-output model
plot_contribution SHAP value based Break-Down plot
plot_feature_dependence SHAP value based Feature Dependence plot
plot_feature_importance SHAP value based Feature Importance plot
plot_interaction SHAP Interaction value plot
predict.model_unified Predict
print.model_unified Prints model_unified objects
print.model_unified_multioutput Prints model_unified_multioutput objects
print.treeshap Prints treeshap objects
print.treeshap_multioutput Prints treeshap_multioutput objects
randomForest.unify Unify randomForest model
ranger.unify Unify ranger model
ranger_surv.unify Unify ranger survival model
set_reference_dataset Set reference dataset
theme_drwhy DrWhy Theme for ggplot objects
theme_drwhy_vertical DrWhy Theme for ggplot objects
treeshap Calculate SHAP values of a tree ensemble model.
treeshap.object treeshap results
treeshap_multioutput.object treeshap results for multi-output model
unify Unify tree-based model
xgboost.unify Unify XGBoost model