Prediction objects store the following information:
The row ids of the test set
The corresponding true (observed) response.
The corresponding predicted response.
Additional predictions based on the class and
E.g., the class probabilities for classification or the estimated standard error for regression.
True (observed) outcome.
Vector of predict types this object stores.
row_ids for which the predictions are missing or incomplete.
score(measures = NULL, task = NULL, learner = NULL)
(list of Measure, Task, Learner) -> Prediction
Calculates the performance for all provided measures Task and Learner may be
NULL for most measures, but some measures need to extract information
from these objects.
c(..., keep_duplicates = TRUE)
(Prediction, Prediction, ...) -> Prediction
Predictions to a single
FALSE and there are duplicated row ids,
the data of the former passed objects get overwritten by the data of the later passed objects.