predict-Surrogate: Prediction method for the distilled surrogate model

predict-SurrogateR Documentation

Prediction method for the distilled surrogate model

Description

Predicts outputs given new data

Usage

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

Arguments

object

A surrogate object distilled from the interpreter

newdata

The dataframe to use for the predictions

...

Additional parameters to pass to predict

Value

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


forestry-labs/interpretability_sandbox documentation built on April 26, 2023, 4:14 p.m.