This function sorts the results by a specific performance metric.
rank_results(x, rank_metric = NULL, select_best = FALSE)
A workflow set that has all results.
A character string for a metric.
A logical; should the results only contain the numerically best submodel per workflow.
If some models have the exact same performance,
rank(value, ties.method = "random") is used (with a reproducible seed) so
that all ranks are integers.
No columns are returned for the tuning parameters since they are likely to
be different (or not exist) for some models. The
columns can be used to determine the corresponding parameter values.
A tibble with columns:
rank_results(chi_features_res) rank_results(chi_features_res, select_best = TRUE) rank_results(chi_features_res, rank_metric = "rsq")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.