Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Hyperparameter Tuning in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create classification task
task <- ___(data = ___, 
            ___ = ___)
Code bewerken en uitvoeren