Learn R Programming

autostats (version 0.4.2)

plot_varimp_xgboost: Plot varimp xgboost

Description

recommended parameters to control;

Usage

plot_varimp_xgboost(xgb, top_n = 10L, as_table = FALSE, ...)

Value

ggplot

Arguments

xgb

xgb.Booster model

top_n

top n important variables

as_table

logical, default FALSE. If TRUE returns importances in a data frame

...

additional porams for xgb.ggplot.importance

Details

top_n

number of features to include in the graph