Description Usage Arguments Value
View source: R/model_selector.R
Select the best performing model
1 2 3 | selectModel(train_x, train_y, valid_x, valid_y, task_type, metric,
minimize_score = TRUE, best_fit_model = NULL, model_list = NULL,
verbose = TRUE)
|
train_x |
A data frame for training features |
train_y |
A data frame for training targets |
valid_x |
A data frame for validation features |
valid_y |
A data frame for validation targets |
metric |
A string for metric type |
minimize_score |
A boolean |
best_fit_model |
An optional list containing an earlier best model |
model_list |
An optional vector of models to fit |
verbose |
A boolean |
A list containing the best fit model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.