View source: R/tune_grid_h2o.R
extract_h2o_scores | R Documentation |
Score the tuning results
extract_h2o_scores( h2o_metric_name, yardstick_metric_name, grid_id, params, rename_args, model_mode )
h2o_metric_name |
A character with the name of the h2o metric used to score the tuning resamples. |
yardstick_metric_name |
A character with the name of the equivalent yardstick metric used to score the tuning resamples. |
grid_id |
The h2o id for the tuning grid. |
params |
A named list of hyperparameters and their values. |
rename_args |
A named character vector used to remap the h2o hyperparameter names to tidymodels nomenclature. The names of the vector are the tidymodels nomenclature and the values are the h2o nomenclature, e.g. c(mtry = "mtries", min_n = "min_rows") |
model_mode |
The mode of the model, either "classification", "regression", or "multiclass". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.