This PipeOp works for any classification learner. The idea is to discard the ordinal structure of the target variable and consider the whole task as a Classification Task. Returns a single PredictionOrdinal. As a default, optimizes MeasureOrdinalCE.

Format

R6Class PipeOpOrdinalClassif

R6::R6Class inheriting from mlr3pipelines::PipeOpTaskPreproc.

See also

Other PipeOps: mlr_pipeop_ordinalregr

Examples

library(mlr3pipelines) op = po("ordinalclassif")