Get startedGet started for free

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.

This exercise is part of the course

Hyperparameter Tuning in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Initialise h2o cluster
h2o.init()

# Convert data to h2o frame
seeds_train_data_hf <- ___(___)
Edit and Run Code