Skip to contents

Gives a single column of predictions from a model that is wrapped by the Predictor object

Usage

# S3 method for Predictor
predict(object, newdata, ...)

Arguments

object

The Predictor object to use to make predictions.

newdata

The data frame to use for the independent features in the prediction.

...

Additional arguments that are passed to the model predict function. For instance, these can be different aggregation options (aggregation = "oob") that are accepted by the prediction function of the model.

Value

A data frame with a single column containing the predictions for each row of the newdata data frame.