ComenzarEmpieza gratis

Random search with caret

Now you are going to perform a random search instead of grid search!

As before, the small voters_train_data dataset has been loaded for you, as have the caret and tictoc packages.

Este ejercicio forma parte del curso

Hyperparameter Tuning in R

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Train control with random search
fitControl <- trainControl(method = "repeatedcv",
                           number = 3,
                           repeats = 5,
                           ___ = ___)
Editar y ejecutar código