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.
Bu egzersiz
Hyperparameter Tuning in R
kursunun bir parçasıdırUygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Train control with random search
fitControl <- trainControl(method = "repeatedcv",
number = 3,
repeats = 5,
___ = ___)