IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Hyperparameter Tuning in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Create classification task
task <- ___(data = ___, 
            ___ = ___)
Modifica ed esegui il codice