h2o.get_automl: Get an R object that is a subclass of H2OAutoML

View source: R/automl.R

h2o.get_automlR Documentation

Get an R object that is a subclass of H2OAutoML

Description

Get an R object that is a subclass of H2OAutoML

Usage

h2o.get_automl(project_name)

h2o.getAutoML(project_name)

Arguments

project_name

A string indicating the project_name of the automl instance to retrieve.

Value

Returns an object that is a subclass of H2OAutoML.

Examples

## Not run: 
library(h2o)
h2o.init()
prostate_path <- system.file("extdata", "prostate.csv", package = "h2o")
prostate <- h2o.importFile(path = prostate_path, header = TRUE)
y <- "CAPSULE"
prostate[,y] <- as.factor(prostate[,y])  #convert to factor for classification
aml <- h2o.automl(y = y, training_frame = prostate, 
                  max_runtime_secs = 30, project_name = "prostate")
aml2 <- h2o.get_automl("prostate")

## End(Not run)

h2o documentation built on Aug. 9, 2023, 9:06 a.m.