predict-Predictor {distillML} | R Documentation |
Gives a single column of predictions from a model that is wrapped by the Predictor object
## S3 method for class 'Predictor'
predict(object, newdata, ...)
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. |
A data frame with a single column containing the predictions for each row of the newdata data frame.