coef.parboost: Print coefficients for base learners with a notion of...

Description Usage Arguments Details Value Author(s) References

Description

Extract coefficients from base learners that have a notion of coefficients

Usage

1
2
3
## S3 method for class 'parboost'
coef(object, which = NULL, aggregate = c("sum", "cumsum",
  "none"), ...)

Arguments

object

Object of class parboost.

which

Optionally a subset of base learners to evaluate as an integer or character vector.

aggregate

a character specifying how to aggregate predictions or coefficients of single base learners. The default returns the prediction or coefficient for the final number of boosting iterations. "cumsum" returns a matrix with the predictions for all iterations simultaneously (in columns). "none" returns a list with matrices where the jth columns of the respective matrix contains the predictions of the base learner of the jth boosting iteration (and zero if the base learner is not selected in this iteration).

...

Additional arguements passed to callies.

Details

Extract the coefficients of base learners which have a notion of coefficients from each boosting model. Weighs the coefficients by the postprocessed submodel weights.

Value

Returns a list of coefficients

Author(s)

Ronert Obst

References

T. Hothorn, P. Buehlmann, T. Kneib, M. Schmid, and B. Hofner (2013). mboost: Model-Based Boosting, R package version 2.2-3, http://CRAN.R-project.org/package=mboost.


parboost documentation built on May 2, 2019, 5:08 a.m.