Learn R Programming

distillML (version 0.1.0.13)

build.grid: Build grid used for weights in distilled surrogate model

Description

A dataframe storing the true predictions and the PDP predictions

Usage

build.grid(object, feat.ind = 1:length(object$features))

Value

A dataframe used to find weights in regression (one-hot encoding for categorical features)

Arguments

object

The Interpreter object

feat.ind

The indices of the features in the Interpreter's features that we want to include as PDP functions in the distilled model.