Open henrifnk opened 3 years ago
We need to talk about whether we always want that a prediction object contains the task (since tasks can be rather large objects). But maybe we can improve this PR by
keep.task
flag to deactivate this option just in case the task is too large (not sure if I am happy with this keep.task
suggestion)???
b. Instead of storing the task in the prediction object, we could pass the learner to the $score
function and let the learner transform the task inside the $score
method again??? Advantage: We don't have to append a (potentially large) task object in the prediction object. Big disadvantage: $score
will take long if the pipeop is not just scaling...
store task in the prediction and make measures rely on this task. This makes mlr3cluster usable for mlr3pipelines
Solves #13