Random search with mlr
Now, you are going to perform hyperparameter tuning with random search. You will prepare the different functions and objects you need to tune your model in the next exercise.
The knowledge_train_data
dataset has already been loaded for you, as have the packages mlr
, tidyverse
and tictoc
.
Remember to look into the function that lists all learners if you are unsure about the name of a learner.
Cet exercice fait partie du cours
Hyperparameter Tuning in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Get the parameter set for neural networks of the nnet package
___("classif.nnet")