A simple LearnerClassif which only analyses the labels during train, ignoring all features.
method determines the mode of operation during prediction:
Predicts the most frequent label. If there are two or more labels tied, randomly selects one per prediction.
Randomly predict a label uniformly.
Randomly predict a label, with probability estimated from the training distribution.
R6::R6Class inheriting from LearnerClassif.
1 2 3
Dictionary of Learners: mlr_learners
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.