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.
This exercise is part of the course
Hyperparameter Tuning in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Get the parameter set for neural networks of the nnet package
___("classif.nnet")