h2o.automl: Automatic Machine Learning
the models that were trained in the process, ranked by a default model performance metric.
Usage
h2o.automl(
the models that were trained in the process, ranked by a default model performance metric.
Usage
h2o.automl(
<- splits[[2]]
# Build and train the model:
aml <- h2o.automl(y = response,
<- h2o.automl(y = y, training_frame = prostate,
max_runtime_secs = 30, project_name = "prostate")
aml2 <- h2o.get_automl("prostate")
"
predictors <- c("ID", "AGE", "CAPSULE", "DCAPS", "PSA", "VOL", "DPROS")
aml <- h2o.automl(x = predictors, y = response
<- c("ID", "AGE", "CAPSULE", "DCAPS", "PSA", "VOL", "DPROS")
aml <- h2o.automl(x = predictors, y = response
", "VOL", "DPROS")
aml <- h2o.automl(x = predictors, y = response, training_frame = pros, max_runtime_secs = 60)
h2o.varimp(aml@leaderboard[1:5,])
<- h2o.automl(y = y, training_frame = prostate, max_runtime_secs = 30)
lb <- h2o.get_leaderboard(aml)
head(lb)
aml <- h2o.automl(y = response,
training_frame = train,
max_models = 10
aml <- h2o.automl(y = y, training_frame = prostate, max_runtime_secs = 30)
gbm <- h2o.get_best_model(aml, "gbm")
## End(Not run)
<- h2o.automl(y = response,
training_frame = train,
max_models = 10
", EDUCATION = "2") # university educated man
favorable_class <- "0" # no default next month
aml <- h2o.automl(x, y
the model:
aml <- h2o.automl(y = response,
training_frame = train,
(df, ratios = 0.8, seed = 1)
train <- splits[[1]]
test <- splits[[2]]
that creates models. This can be something like h2o.automl, h2o.gbm, etc.
training_frame
Training frame
<- h2o.automl(y = response,
training_frame = train,
max_models = 10
the model:
aml <- h2o.automl(y = response,
training_frame = train,
#'
#' aml <- h2o.automl(x, y, training_frame = train, max_models = 3)
#'
to factor for classification
#' aml <- h2o.automl(y = y, training_frame = prostate, max_runtime_secs = 30)
#' lb
", "VOL", "DPROS")
#' aml <- h2o.automl(x = predictors, y = response, training_frame = pros, max_runtime_secs = 60
#' train <- splits[[1]]
#' test <- splits[[2]]
#'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.