View source: R/as_resample_result.R
as_resample_result | R Documentation |
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()
.
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, ...)
x |
(any) |
... |
(any) |
view |
( |
task |
(Task). |
learners |
(list of trained Learners). |
resampling |
(Resampling). |
store_backends |
( |
(ResampleResult).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.