dataXY_df | Terra satellite data (X,Y) for running the xgboost model . |
label.feature | helper function to modify labels for features under plotting |
labels_within_package | labels_within_package: Some labels package auther defined to make his plot, mainly serve the paper publication. |
new_labels | new_labels: a place holder default to NULL. |
plot.label | internal-function to revise axis label for each feature |
scatter.plot.diagonal | make customized scatter plot with diagonal line and R2 printed. |
scatter.plot.simple | simple scatter plot, adding marginal histogram by default. |
shap.plot.dependence | SHAP dependence plot and interaction plot, optional to be colored by a selected feature |
shap.plot.force_plot | make the SHAP force plot |
shap.plot.force_plot_bygroup | make the stack plot, optional to zoom in at certain x or certain cluster |
shap.plot.summary | SHAP summary plot core function using the long format SHAP values |
shap.plot.summary.wrap1 | A wrapped function to make summary plot from xgb model object and predictors |
shap.plot.summary.wrap2 | A wrapped function to make summary plot from given SHAP values matrix |
shap.prep | prep SHAP values into long format for plotting |
shap.prep.interaction | prepare the interaction SHAP values from predict.xgb.Booster |
shap.prep.stack.data | Prepare data for SHAP force plot (stack plot) |
shap.values | return SHAP contribution from xgboost model |
shap_int_iris | The interaction effect SHAP values example using iris dataset. |
shap_long_iris | The long-format SHAP values example using iris dataset. |
shap_score | SHAP values example from dataXY_df . |
shap_values_iris | SHAP values example using iris dataset. |