as_resample_result {mlr3} | R Documentation |
Convert to ResampleResult
Description
Convert object to a ResampleResult.
The S3 method for list
expects argument x
to be a list of Prediction objects and
all other relevant objects (Task, Learners, and instantiated Resampling) must
be provided, too.
A more flexible way to manually create a ResampleResult is implemented in as_result_data()
.
Usage
as_resample_result(x, ...)
## S3 method for class 'ResampleResult'
as_resample_result(x, ...)
## S3 method for class 'ResultData'
as_resample_result(x, view = NULL, ...)
## S3 method for class 'list'
as_resample_result(x, task, learners, resampling, store_backends = TRUE, ...)
Arguments
x |
(any) |
... |
(any) |
view |
( |
task |
(Task). |
learners |
(list of trained Learners). |
resampling |
(Resampling). |
store_backends |
( |
Value
[Package mlr3 version 0.20.2 Index]