CommencerCommencer gratuitement

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.

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.

# Define early stopping
stopping_params <- list(strategy = "RandomDiscrete", 
                        stopping_metric = ___,
                        seed = 42)
Modifier et exécuter le code