as_learner.OMLFlow {mlr3oml} | R Documentation |
Convert an OpenML Flow to a mlr3 Learner
Description
By default this function creates a Pseudo-Learner (that cannot be used for training or prediction) for the given task type. This enables the conversion of OpenML Runs to mlr3::ResampleResults. This is well defined because each subcomponent (i.e. id) can only appear once in a Flow according to the OpenML docs.
Usage
## S3 method for class 'OMLFlow'
as_learner(x, task_type = NULL, ...)
Arguments
x |
(OMLFlow) The OMLFlow that is converted to a mlr3::Learner. |
task_type |
( |
... |
Additional arguments. |
[Package mlr3oml version 0.10.0 Index]