extract_h2o_scores: Score the tuning results

View source: R/tune_grid_h2o.R

extract_h2o_scoresR Documentation

Score the tuning results

Description

Score the tuning results

Usage

extract_h2o_scores(
  h2o_metric_name,
  yardstick_metric_name,
  grid_id,
  params,
  rename_args,
  model_mode
)

Arguments

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".


stevenpawley/h2oparsnip documentation built on June 20, 2022, 12:48 p.m.