Get startedGet started for free

Stopping criteria

In random search, you can also define stopping criteria instead of a maximum runtime. The h2o library and seeds_train_data has already been loaded and initialized for you.

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.

# Define early stopping
stopping_params <- list(strategy = "RandomDiscrete", 
                        stopping_metric = ___,
                        seed = 42)
Edit and Run Code