Prepare data for modelling with h2o
In order to train models with h2o, you need to prepare the data according to h2o's specific needs. Here, you will go over a common data preparation workflow in h2o.
The h2o library has already been loaded for you, as has the seeds_train_data object.
This chapter uses functions that can take some time to run, so don't be surprised if it takes a little longer than usual to submit your answer. On rare occurrences, you may get a server error. If this is the case, just reload the page.
Questo esercizio fa parte del corso
Hyperparameter Tuning in R
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Initialise h2o cluster
h2o.init()
# Convert data to h2o frame
seeds_train_data_hf <- ___(___)