- model
A gpb.Booster model object
- data
A matrix with data for creating partial dependence plots
- variables
A vector of length two of type string with
names of the columns or integer with indices of the columns in
data for which an interaction dependence plot is created
- latent_scale
If TRUE, the plot is done on the scale of the tree-ensemble.
If FALSE, the plot is done on the (potentially transformed) response variable scale
(e.g. probabilities for classification)
- n.pt.per.var
Number of grid points per variable (used only if a variable is not discrete)
For continuous variables, the two-dimensional grid for the interaction plot
has dimension c(n.pt.per.var, n.pt.per.var)
- subsample
Fraction of random samples in data to be used for calculating the partial dependence plot
- discrete.variables
A vector of length two of type boolean.
If an entry is TRUE, the evaluation grid of the corresponding variable is set to the unique values of the variable
- which.class
An integer indicating the class in multi-class
classification (value from 0 to num_class - 1)
- type
A character string indicating the type of the plot.
Supported values: "filled.contour" and "contour"
- nlevels
Parameter passed to the filled.contour or contour function
- xlab
Parameter passed to the filled.contour or contour function
- ylab
Parameter passed to the filled.contour or contour function
- zlab
Parameter passed to the filled.contour or contour function
- main
Parameter passed to the filled.contour or contour function
- return_plot_data
A boolean. If TRUE, the data for creating the partial dependence plot is returned
- ...
Additional parameters passed to the filled.contour or contour function