View source: R/as_prediction_data.R
as_prediction_data | R Documentation |
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 class 'Prediction'
as_prediction_data(x, task, row_ids = task$row_ids, check = TRUE, ...)
## S3 method for class 'PredictionData'
as_prediction_data(x, task, row_ids = task$row_ids, check = TRUE, ...)
## S3 method for class 'list'
as_prediction_data(
x,
task,
row_ids = task$row_ids,
check = TRUE,
...,
train_task
)
x |
(any) |
task |
(Task). |
row_ids |
|
check |
( |
... |
(any) |
train_task |
(Task) |
PredictionData.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.