Learn R Programming

mlr (version 2.3)

Prediction: Prediction object.

Description

Result from predict.WrappedModel. Use as.data.frame to access all information in a convenient format. The function getProbabilities is useful to access predicted probabilities.

The data member of the object contains always the following columns: id, index numbers of predicted cases from the task, response either a numeric or a factor, the predicted response values, truth, either a numeric or a factor, the true target values. If probabilities were predicted, as many numeric columns as there were classes named prob.classname. If standard errors were predicted, a numeric column named se.

Object members: [object Object],[object Object],[object Object],[object Object],[object Object]

Arguments