
Plot feature importance for an XGBoost model
Source:R/supervised-xgboost.R
tl_plot_xgboost_importance.RdPlot feature importance for an XGBoost model
Value
A ggplot object.
Examples
# \donttest{
if (requireNamespace("xgboost", quietly = TRUE)) {
model <- tl_model(mtcars, mpg ~ ., method = "xgboost")
tl_plot_xgboost_importance(model)
}
# }