Description Format Construction See Also Examples
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 if the parameter value exceeds runif(1)
.
Outputs a message during predict if the parameter value exceeds runif(1)
.
Signals a warning during train if the parameter value exceeds runif(1)
.
Signals a warning during predict if the parameter value exceeds runif(1)
.
Raises an exception during train if the parameter value exceeds runif(1)
.
Raises an exception during predict if the parameter value exceeds runif(1)
.
Provokes a segfault during train if the parameter value exceeds runif(1)
.
Provokes a segfault during predict if the parameter value exceeds runif(1)
.
Ratio of predictions which will be NA.
Saves input task in model
slot during training and prediction.
Numeric parameter. Has no effect.
Note that segfaults may not work on your operating system. Also note that if they work, they will tear down your R session immediately!
R6::R6Class inheriting from LearnerClassif.
1 2 3 | LearnerClassifDebug$new()
mlr_learners$get("classif.debug")
lrn("classif.debug")
|
Dictionary of Learners: mlr_learners
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.