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.
Latihan ini adalah bagian dari kursus
Hyperparameter Tuning in R
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Define trainControl function
fitControl <- trainControl(___,
number = ___, repeats = ___)