Description Usage Arguments Value
View source: R/hyperparameter-tuning.R
Metaflow saves artefacts as pickle files, which prevents us from using nested
tibbles. Unfortunately, tune relies on nested tibbles to store its results.
We instead use collect_metrics to store simple tibbles that are compatible
with pickle. Unfortunately, this means we cannot rely on tune's functions
for extracting optimal hyperparameter sets and must write our own.
| 1 | select_best_hyperparameters(hyperparameter_results, metric = "rmse")
 | 
| hyperparameter_results | A tibble of hyperparameter results collected
with  | 
| metric | A metric to minimise. Defaults to "rmse". | 
named list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.