View source: R/supervised-xgboost.R
| tl_plot_xgboost_importance | R Documentation |
Plot feature importance for an XGBoost model
tl_plot_xgboost_importance(model, top_n = 10, importance_type = "gain", ...)
model |
A tidylearn XGBoost model object |
top_n |
Number of top features to display (default: 10) |
importance_type |
Type of importance: "gain", "cover", "frequency" |
... |
Additional arguments |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.