as_prediction {mlr3} | R Documentation |
Convert to a Prediction
Description
Convert object to a Prediction or a list of Prediction.
Usage
as_prediction(x, check = FALSE, ...)
## S3 method for class 'Prediction'
as_prediction(x, check = FALSE, ...)
## S3 method for class 'PredictionDataClassif'
as_prediction(x, check = FALSE, ...)
## S3 method for class 'PredictionDataRegr'
as_prediction(x, check = FALSE, ...)
as_predictions(x, predict_sets = "test", ...)
## S3 method for class 'list'
as_predictions(x, predict_sets = "test", ...)
Arguments
x |
(any) |
check |
( |
... |
(any) |
predict_sets |
( |
Value
[Package mlr3 version 0.20.2 Index]