CommencerCommencer gratuitement

Adaptive Resampling with caret

Now you are going to train a model on the voter's dataset using Adaptive Resampling!

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

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 trainControl function
fitControl <- trainControl(___,
                           number = ___, repeats = ___)
Modifier et exécuter le code