tl_plot_xgboost_shap_summary: Plot SHAP summary for XGBoost model
Description
Plot SHAP summary for XGBoost model
Usage
tl_plot_xgboost_shap_summary(model, data = NULL, top_n = 10, n_samples = 100)
Value
A ggplot object with SHAP summary
Arguments
- model
A tidylearn XGBoost model object
- data
Data for SHAP value calculation (default: NULL, uses training data)
- top_n
Number of top features to display (default: 10)
- n_samples
Number of samples to use (default: 100, NULL for all)