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.
Cet exercice fait partie du cours
Hyperparameter Tuning in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Create classification task
task <- ___(data = ___,
___ = ___)