mlr3pipelines
mlr3pipelines copied to clipboard
apply PipeOpTaskPreproc to data.frame / data.table
- Add another function, e.g.
$operate()
, which uses the train_df() functions internally and accepts data.frame? (Should this set a state? Maybe$operate(df, train = TRUE)
?) - Just have
$train()
and$predict()
accept df? - Do the same with
Graph
? - have the
%>>%
operator work ondf
and do the necessary conversions, so thatdf %>>% po("removeconstants")
works?
Things to consider:
-
character
cols indf
often "mean" factor-cols inTask
s.