Currently, the default method of set_validate() does not work for something like po("torch_ingress_num") %>>% ... %>>% po("torch_model_regr"), because it does not implement PipeOpLearner.
Alternatively, the set_validate() method should maybe be changed in mlr3pipelines to set $validate for the last pipeop with that property and not the $base_learner().
Currently, the default method of
set_validate()
does not work for something likepo("torch_ingress_num") %>>% ... %>>% po("torch_model_regr")
, because it does not implementPipeOpLearner
.Alternatively, the
set_validate()
method should maybe be changed inmlr3pipelines
to set$validate
for the last pipeop with that property and not the$base_learner()
.