1. Learn
  2. /
  3. Courses
  4. /
  5. Hyperparameter Tuning in R

Exercise

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.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Define a trainControl() function for performing Adaptive Resampling with 3x3 repeated cross-validation.