The contents of the return vector depends on the modeling
task - binary classification, multiclass classification, or regression;
whether or not the underlying data is time series, multiseries, cross-series, or not
time series; and the value of the `type` parameter. For non-time-series regression tasks,
the type parameter is ignored and a vector of numerical predictions of the response
variable is returned.
For binary classification tasks, either
a vector of predicted responses is returned if type has the
value response
(the default), or a vector of probabilities
for the positive class is returned, if type is probability
.
You can also fetch the raw dataframe of prediction values using raw
.
For multiclass classification tasks, response
will return the predicted
class and probability
will return the probability of each class.
For time series tasks, `type = "raw"` will return more detailed information on the time
series prediction. This will also include any prediction intervals if requested.
This function will error if the requested job has errored or
if it has not completed within maxWait
seconds.