Closed sebffischer closed 6 months ago
This does not work because of the same reason bootstrapping does not work with mlr3pipelines
.
Consider the case where a task has overlapping "use" and "test" rows, e.g. task$row_roles$use
of c(1, 2)
and task$row_roles$test
and this task should be preprocessed by PipeOpTaskPreproc
.
We want to treat the row 2
during train and 2
during predict differently, as we want to apply the training preprocessing to the former and the prediction preprocessing to the latter. This does not work, because the tasks's data backend has only 3 rows and we want to cbind a backend that has 4 rows.
mlr3
?PipeOps to look at: