predict_PDP.1D.Plotter {distillML}R Documentation

Prediction Function for PDP Plots

Description

Gives prediction curve for all specified features in the plotter object

Usage

predict_PDP.1D.Plotter(object, features = NULL, save = TRUE)

Arguments

object

The Interpreter object to plot PDP curves for.

features

A vector with the names of the features to predict ICE plots for

save

A boolean indicator to indicate whether the calculations should be saved in the interpreter object or not. This can help reduce computation if the PDP functions are used many times, but requires additional memory to store the predictions. By default, this is set to TRUE.

Details

predict_PDP.1D.Plotter

Value

A list of data frames with the grid points and PDP prediction values for each feature in object

Note

This method is meant to primarily be used to find the exact values for the 1-D PDP curves plotted. Note that after the PDP curve is plotted, the returned object of this function will be the saved predictions for plotting the curve, rather than a recalculation of the values.


[Package distillML version 0.1.0.13 Index]