
Tuning Parameters of a Ranked Workflow in a Workflow Set
Source:R/tuning_results.R
workflow_set_params.RdRanks the workflows of tuned workflow set results by `rank_metric`, each workflow represented by its best configuration, and returns the preprocessor, model, and best tuning parameters of the workflow at position `.rank`.
Examples
if (FALSE) { # \dontrun{
results <- workflowsets::workflow_map(wset, "tune_grid", resamples = folds, grid = 5)
workflow_set_params(results, "rmse")
workflow_set_params(results, "rmse", .rank = 2)
} # }