predict-Predictor {distillML} | R Documentation |
Predict method for Predictor class
Description
Gives a single column of predictions from a model that is wrapped by the Predictor object
Usage
## S3 method for class '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.
[Package distillML version 0.1.0.13 Index]