ÎncepețiÎncepe gratuit

AutoML în h2o

O funcționalitate foarte convenabilă a h2o este învățarea automată automată (AutoML). Biblioteca h2o și seeds_train_data au fost deja încărcate pentru tine, iar următorul cod a fost rulat:

h2o.init()
seeds_train_data_hf <- as.h2o(seeds_train_data)

y <- "seed_type"
x <- setdiff(colnames(seeds_train_data_hf), y)

seeds_train_data_hf[, y] <- as.factor(seeds_train_data_hf[, y])

sframe <- h2o.splitFrame(seeds_train_data_hf, seed = 42)
train <- sframe[[1]]
valid <- sframe[[2]]

Acest exercițiu face parte din cursul

Ajustarea hiperparametrilor în R

Vezi cursul

Exercițiu interactiv practic

Încearcă acest exercițiu completând acest cod de exemplu.

# Run automatic machine learning
automl_model <- ___(x = x, 
                    y = y,
                    training_frame = train,
                    ___ = 10,
                    seed = 42)
Editează și rulează codul