as_learner.OMLFlow | R Documentation |
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.
## S3 method for class 'OMLFlow'
as_learner(x, task_type = NULL, ...)
x |
(OMLFlow) The OMLFlow that is converted to a mlr3::Learner. |
task_type |
( |
... |
Additional arguments. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.