Modeling with mlr
As you have seen in the video just now, mlr
is yet another popular machine learning package in R that comes with many functions to do hyperparameter tuning. Here, you are going to go over the basic workflow for training models with mlr
.
The knowledge_train_data
dataset has already been loaded for you, as have the packages mlr
, tidyverse
and tictoc
.
Remember that starting to type in the console will suggest autocompleting options for functions and packages.
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.
# Create classification task
task <- ___(data = ___,
___ = ___)