Exercise

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.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Create a regular classification task with the knowledge_train_data and target UNS.