control_h2o: Control aspects of the grid search process

View source: R/control_h2o.R

control_h2oR Documentation

Control aspects of the grid search process

Description

'control_h2o' provides a function to set various aspects of the grid search process. By default during tuning, the resampling predictions are stored within the h2o cluster. To save memory and space, use 'save_pred = FALSE'. “

Usage

control_h2o(
  verbose = FALSE,
  save_pred = FALSE,
  save_models = FALSE,
  event_level = "first"
)

Arguments

verbose

A logical for logging results as they are generated.

save_pred

A logical for whether the out-of-sample predictions should be saved for each model evaluated.

save_models

A logical for whether to retain the models associated with the tuning and resampling iterations within the h2o cluster and append their h2o model ids to the resamples object as a '.models' column.

Value

An object of 'control_grid' and 'control_resamples' class.

Examples

# to save space in the cluster use these settings (the defaults)
control_h2o(verbose = TRUE, save_pred = FALSE)

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