Draw Feature Importance plot

draw_feature_importance(best_models, test_data, y)

Arguments

best_models

A list of models.

test_data

A test dataset.

y

A target variable. It can be either (1) a vector of the same number of observations as `data` or (2) a character name of variable in the `data` that contains the target variable.

Value

A ggplot object.