MLR3 Flashcards
It is the interface to (almost) all implementations of machine learning algorithms in R, it is unified and hence user-friendly access to > 100 supervised learning techniques.
MLR3
They wrap a DataBackend, and store meta-information, such as the role of the individual columns in the DataBackend.
MLR3 Tasks
An object to transparently interface different data storage types.
Data Backend
The conceptual description of the machine learning algorithm. An “abstract hull” of the model.
Learner
Which R function should we use to get a task from the mlr3 task dictionary?
tsk ()
What is the notation to create a new classification task in R?
task <- TaskClassif$new()
What is the notation to add a created task to the task dictionary in R?
mlr_tasks$add ()
Concept of mlr3 that consists in training the supervised learning models based on the task.
“train”
Concept of mlr3 that consists on using the models to make predictions (on new data)
“predict”
Two concepts of mlr3 that assess a model’s quality.
Performance & resampling
Comparison of ≥ 1 learner(s) across ≥ 1 task(s)
Benchmarking
Optimizing the learner’s hyperparameters
Tuning
Looking for a ‘better’ subset of features
Feature selection
(True or false) When creating a task, the target variable has to be specified.
True
Five most popular machine learning methods for mlr3
*linear and logistic regression
*k-nearest neighbor methods
* support vector machines
* gradient boosting
* random forests