Convert object to a PredictionData or a list of PredictionData.
as_prediction_data(x, task, row_ids = task$row_ids, check = TRUE, ...)# S3 method for Prediction
as_prediction_data(x, task, row_ids = task$row_ids, check = TRUE, ...)
# S3 method for PredictionData
as_prediction_data(x, task, row_ids = task$row_ids, check = TRUE, ...)
# S3 method for list
as_prediction_data(x, task, row_ids = task$row_ids, check = TRUE, ...)
(any
)
Object to convert.
(Task).
(integer()
).
(logical(1)
)
Perform argument checks and type conversions?
(any
)
Additional arguments.