predict-Surrogate {distillML} | R Documentation |
Predicts outputs given new data
## S3 method for class 'Surrogate'
predict(object, newdata, ...)
object |
A surrogate object distilled from the interpreter |
newdata |
The dataframe to use for the predictions |
... |
Additional parameters to pass to predict |
A one-column dataframe of the surrogate model's predictions