A simple LearnerClassif used primarily in the unit tests and for debugging purposes. If no hyperparameter is set, it simply constantly predicts a randomly selected label. The following hyperparameters trigger the following actions:
Outputs a message during train.
Outputs a message during predict.
Signals a warning during train.
Signals a warning during predict.
Raises an exception during train.
Raises an exception during predict.
Provokes a segfault during train.
Provokes a segfault during predict.
Saves input task in
model slot during training and prediction.
Numeric parameter. Ignored.
Note that segfaults may not work on your operating system. Also note that if they work, they will tear down your R session immediately!