CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Hyperparameter Tuning in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Initialise h2o cluster
h2o.init()

# Convert data to h2o frame
seeds_train_data_hf <- ___(___)
Modifier et exécuter le code