Learn R Programming

distillML (version 0.1.0.13)

predict_PDP.1D.Plotter: 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)

Value

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

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