MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Hyperparameter Tuning in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Initialise h2o cluster
h2o.init()

# Convert data to h2o frame
seeds_train_data_hf <- ___(___)
Edit dan Jalankan Kode