GeDSboost-class {GeDS}R Documentation

GeDSboost Class

Description

A fitted GeDSboost object returned by the function NGeDSboost inheriting the methods from class "GeDSboost". Methods for functions coef, knots, print, predict, visualize_boosting, and bl_imp are available.

Slots

extcall

call to the NGeDSboost function.

formula

A formula object representing the model to be fitted.

args

A list containing the arguments passed to the NGeDSboost function. This list includes:

  • response: data.frame containing observations of the response variable.

  • predictors: data.frame containing observations of the vector of predictor variables included in the model.

  • base_learners: description of model's base learners.

  • family: the statistical family. The possible options are

    • mboost::AdaExp()

    • mboost::AUC()

    • mboost::Binomial(type = c("adaboost", "glm"), link = c("logit", "probit", "cloglog", "cauchit", "log"), ...)

    • mboost::Gaussian()

    • mboost::Huber(d = NULL)

    • mboost::Laplace()

    • mboost::Poisson()

    • mboost::GammaReg(nuirange = c(0, 100))

    • mboost::CoxPH()

    • mboost::QuantReg(tau = 0.5, qoffset = 0.5)

    • mboost::ExpectReg(tau = 0.5)

    • mboost::NBinomial(nuirange = c(0, 100))

    • mboost::PropOdds(nuirange = c(-0.5, -1), offrange = c(-5, 5))

    • mboost::Weibull(nuirange = c(0, 100))

    • mboost::Loglog(nuirange = c(0, 100))

    • mboost::Lognormal(nuirange = c(0, 100))

    • mboost::Gehan()

    • mboost::Hurdle(nuirange = c(0, 100))

    • mboost::Multinomial()

    • mboost::Cindex(sigma = 0.1, ipcw = 1)

    • mboost::RCG(nuirange = c(0, 1), offrange = c(-5, 5))

  • initial_learner: if TRUE a NGeDS fit was used as initial learner; otherwise, the empirical risk minimizer corresponding to the selected family was employed.

  • int.knots_init: if initial_learner = TRUE the maximum number of internal knots set to the NGeDS function before the initial learner fit.

  • shrinkage: shrinkage/step-length/learning rate utilized throughout the boosting iterations.

  • normalize_data: if TRUE, then response and predictors were standardized before running the FGB algorithm.

  • X_mean: mean of the predictor variables (only if normalize_data = TRUE).

  • X_sd: standard deviation of the predictors (only if normalize_data = TRUE).

  • Y_mean: mean of the response variable (only if normalize_data = TRUE).

  • Y_sd: standard deviation of the response variable (only if normalize_data = TRUE).

models

A list containing the 'model' generated at each boosting iteration. Each of these models includes:

  • best_bl: fit of the base learner that minimized the residual sum of squares (RSS) in fitting the gradient at the i-th boosting iteration.

  • Y_hat: model fitted values at the i-th boosting iteration.

  • base_learners: knots and polynomial coefficients for each of the base-learners at the i-th boosting iteration.

final_model

A list detailing the final GeDSboost model after the gradient descent algorithm is run:

  • model_name: the boosting iteration corresponding to the final model.

  • DEV: deviance of the final model.

  • Y_hat: fitted values.

  • base_learners: a list containing, for each base-learner, the intervals defined by the piecewise linear fit and its corresponding polynomial coefficients. It also includes the knots corresponding to each order fit, which result from computing the corresponding averaging knot location. See Kaishev et al. (2016) for details. If the number of internal knots of the final linear fit is less than $n-1$, the averaging knot location is not computed.

  • Linear.Fit/Quadratic.Fit/Cubic.Fit: final linear, quadratic and cubic fits in B-spline form. These include the same elements as Linear, Quadratic and Cubic in a GeDS-class object (see SplineReg for details).

predictions

A list containing the predicted values obtained (linear, quadratic, and cubic).

internal_knots

A list detailing the internal knots obtained for the fits of different order (linear, quadratic, and cubic).

References

Dimitrova, D. S., Kaishev, V. K., Lattuada, A. and Verrall, R. J. (2023). Geometrically designed variable knot splines in generalized (non-)linear models. Applied Mathematics and Computation, 436.
DOI: doi:10.1016/j.amc.2022.127493

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


[Package GeDS version 0.2.3 Index]