Public methods
Method new()
Creates a new instance of this R6 class.
Usage
PredictionRegr$new(
task = NULL,
row_ids = task$row_ids,
truth = task$truth(),
response = NULL,
se = NULL
)
Arguments
task(TaskRegr)
Task, used to extract defaults for row_ids and truth.
row_ids(integer())
Row ids of the predicted observations, i.e. the row ids of the test set.
truth(numeric())
True (observed) response.
response(numeric())
Vector of numeric response values.
One element for each observation in the test set.
se(numeric())
Numeric vector of predicted standard errors.
One element for each observation in the test set.