plot-GeDSboost-method: Plot method for GeDSboost objects.

plot,GeDSboost-methodR Documentation

Plot method for GeDSboost objects.

Description

Plots the component functions of a GeDSboost object fitted using NGeDSboost. If the model has a single base-learner, the plot will be returned on the response scale. Otherwise, plots are produced on the linear predictor scale. Note that only univariate base-learner plots are returned, as representation of the boosted model as a single spline model is available only for univariate base-learners (see Dimitrova et al. (2025)). In addition since component-wise gradient boosting inherently performs base-learner selection, you should only expect plots for the base-learners that where selected across the boosting iterations.

Usage

## S4 method for signature 'GeDSboost,ANY'
plot(x, n = 3L, ...)

Arguments

x

a GeDSboost-class object from which the GeDSboost fit should be extracted.

n

integer value (2, 3 or 4) specifying the order (= degree + 1) of the FGB-GeDS fit to be extracted.

...

further arguments to be passed to the plot.default function.

References

Dimitrova, D. S., Kaishev, V. K. and Saenz Guillen, E. L. (2025). GeDS: An R Package for Regression, Generalized Additive Models and Functional Gradient Boosting, based on Geometrically Designed (GeD) Splines. Manuscript submitted for publication.


GeDS documentation built on April 4, 2025, 3:38 a.m.