as_resampling {mlr3} | R Documentation |
Convert to a Resampling
Description
Convert object to a Resampling or a list of Resampling.
This method e.g. allows to convert an OMLTask
of mlr3oml to a Resampling
.
Usage
as_resampling(x, ...)
## S3 method for class 'Resampling'
as_resampling(x, clone = FALSE, ...)
as_resamplings(x, ...)
## Default S3 method:
as_resamplings(x, ...)
## S3 method for class 'list'
as_resamplings(x, ...)
Arguments
x |
(any) |
... |
(any) |
clone |
( |
[Package mlr3 version 1.0.1 Index]