This function is a wrapper for h2o::h2o.automl(),
with relevant options specified through the configuration
object generated by get_automl_config().
Usage
get_automl_model(tt_h2o, target, config = get_automl_config(), ...)Arguments
- tt_h2o
list of H2O pointers to H2O frames (see
ship_train_and_test_to_h2o())- target
(character) name of the target variable
- config
configuration object (see
get_automl_config())- ...
additional arguments passed to
h2o::h2o.automl()
Details
Only $train is currently used in tt_h2o.
If a configuration object is not provided, the default configuration
is the configuration generated by get_automl_config().
Examples
if (FALSE) {
init_h2o()
tt <- df |> ttsplit()
tt_h2o <- tt |> ship_train_and_test_to_h2o()
automl <- tt_h2o |> get_automl_model(target="y1")
}