Get a prediction object
prediction.model(object, class = NULL, predict.args = NULL)
function, mlr WrappedObject, S3 class with predict function, or caret train object
In case of classification, class specifies the class for which to predict the probability. By default the first class in the prediction (first column) is chosen.
named list with arguments passed down to the prediction model
object of type Prediction