Skip to contents

All functions

Interpreter
Interpreter class description
Predictor
Predictor class description
Surrogate
Surrogate class description
ale()
Constructs an ALE for a model.
build.grid()
Build grid used for weights in distilled surrogate model
center.preds()
Centers the predicted values for 1-d ICE and PDP plots or 2-d PDP plots
distill()
Builds surrogate model from an interpreter object based on the univariate PDP functions of the original model.
localSurrogate()
Given a interpreter object with at least one pair of features, create a small surrogate model for the two features using the PDP function as the output and the two features as the independent variables.
plot(<Interpreter>)
Plotting method for Interpretor model
predict(<Predictor>)
Predict method for Predictor class
predict(<Surrogate>)
Prediction method for the distilled surrogate model
predict_ALE()
Prediction function for the ALE plots
predict_ICE.Plotter()
Prediction Function for ICE Plots
predict_PDP.1D.Plotter()
Prediction Function for PDP Plots
predict_PDP.2D.Plotter()
Two Dimensional Prediction Curve for PDP Plots
print(<Predictor>)
The Printing method for Predictor class
set.center.at()
Sets a new center in the PDP and ICE plots made by an Interpreter
set.grid.points()
Sets grid points used for plotting PDP and ICE plots