This PipeOp works for any regression learner. The idea is to consider the whole task as a Regression Task. Hence, a numeric response vector is predicted for which crossvalidated rank thresholds are found using (nloptr)nloptr::nloptr to rank the predictions. Returns a single PredictionOrdinal. As a default, optimizes MeasureOrdinalCE. Used for regression Predictions.

Format

R6Class PipeOpOrdinalRegr

R6::R6Class inheriting from mlr3pipelines::PipeOpTaskPreproc.

See also

Examples

library(mlr3pipelines) op = po("ordinalregr", 2)