predict.WrappedModel.
Use as.data.frame to access all information in a convenient format.
The function getPredictionProbabilities 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. The constructor makePrediction is mainly for internal use. Object members:
character(1)]setPredictType.data.frame]numeric(1)]TaskDesc]numeric(1)]character(1)]makePrediction(task.desc, row.names, id, truth, predict.type,
predict.threshold = NULL, y, time, error = NA_character_)