Turns the column with column role 'pta' into an explicit separate column prefixed with "..internal_pta".
This keeps it from getting changed or adapted by subsequent pipelines that operate on the feature pta.
Arguments
Format
R6::R6Class object inheriting from mlr3pipelines::PipeOpTaskPreproc/mlr3pipelines::PipeOp.
Input and output channels are inherited from mlr3pipelines::PipeOpTaskPreproc. Instead of a mlr3::Task, a
mlr3::TaskClassif is used as input and output during training and prediction.
The output during training is the input mlr3::Task with added weights column according
to target class. The output during prediction is the unchanged input.
State
The $state is a named list with the $state elements inherited from mlr3pipelines::PipeOpTaskPreproc.
Parameters
The PipeOp does not have any hyperparameters.
Internals
Copies the existing pta column to a new column.
Fields
Only fields inherited from mlr3pipelines::PipeOpTaskPreproc/mlr3pipelines::PipeOp.
Methods
Methods inherited from mlr3pipelines::PipeOpTaskPreproc/mlr3pipelines::PipeOp.