SHAP Plots for 'XGBoost'
Bins a variable into n_bins quantile groups.
Modify labels for features under plotting
Internal-function to revise axis label for each feature
Make customized scatter plot with diagonal line and R2 printed.
Simple scatter plot, adding marginal histogram by default.
Variable importance as measured by mean absolute SHAP value.
SHAP dependence and interaction plots
Create faceted SHAP force plots by cluster
Create SHAP force plot (stacked bar chart)
SHAP summary plot using long-format SHAP values
A wrapped function to make summary plot from model object and predicto...
A wrapped function to make summary plot from given SHAP values matrix
Prepare the interaction SHAP values from predict.xgb.Booster
Prepare SHAP values into long format for plotting
Prepare data for SHAP force plot (stacked bar chart)
Get SHAP scores from a trained XGBoost or LightGBM model
Finds variable with presumably strongest interaction effect.
Aid in visual data investigations using SHAP (SHapley Additive exPlanation) visualization plots for 'XGBoost' and 'LightGBM'. It provides summary plot, dependence plot, interaction plot, and force plot and relies on the SHAP implementation provided by 'XGBoost' and 'LightGBM'.
Useful links