Learn R Programming

distillML (version 0.1.0.13)

predict-Surrogate: Prediction method for the distilled surrogate model

Description

Predicts outputs given new data

Usage

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

Value

A one-column dataframe of the surrogate model's predictions

Arguments

object

A surrogate object distilled from the interpreter

newdata

The dataframe to use for the predictions

...

Additional parameters to pass to predict