Skip to contents

Calls mboost::glmboost from package mboost.

Dictionary

This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn():

mlr_learners$get("regr.glmboost")
lrn("regr.glmboost")

Meta Information

  • Task type: “regr”

  • Predict Types: “response”

  • Feature Types: “integer”, “numeric”, “factor”, “ordered”

  • Required Packages: mlr3extralearners, mboost

Parameters

IdTypeDefaultLevelsRange
offsetnumericNULL\((-\infty, \infty)\)
familycharacterGaussianGaussian, Laplace, Huber, Poisson, GammaReg, NBinomial, Hurdle, custom\((-\infty, \infty)\)
custom.familylist-\((-\infty, \infty)\)
nuirangelist0, 100\((-\infty, \infty)\)
dnumericNULL\((-\infty, \infty)\)
centerlogicalTRUETRUE, FALSE\((-\infty, \infty)\)
mstopinteger100\((-\infty, \infty)\)
nunumeric0.1\((-\infty, \infty)\)
riskcharacterinbaginbag, oobag, none\((-\infty, \infty)\)
oobweightslistNULL\((-\infty, \infty)\)
tracelogicalFALSETRUE, FALSE\((-\infty, \infty)\)
stopinternlistFALSE\((-\infty, \infty)\)
na.actionlistfunction (object, ...) , UseMethod("na.omit")\((-\infty, \infty)\)
contrasts.arglist-\((-\infty, \infty)\)

References

Bühlmann P, Yu B (2003). “Boosting With the L2 Loss.” Journal of the American Statistical Association, 98(462), 324–339. doi: 10.1198/016214503000125

See also

Author

be-marc

Super classes

mlr3::Learner -> mlr3::LearnerRegr -> LearnerRegrGLMBoost

Methods

Inherited methods


Method new()

Create a LearnerRegrGLMBoost object.

Usage


Method clone()

The objects of this class are cloneable with this method.

Usage

LearnerRegrGLMBoost$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (requireNamespace("mboost", quietly = TRUE)) {
  learner = mlr3::lrn("regr.glmboost")
  print(learner)

  # available parameters:
  learner$param_set$ids()
}
#> <LearnerRegrGLMBoost:regr.glmboost>
#> * Model: -
#> * Parameters: list()
#> * Packages: mlr3, mlr3extralearners, mboost
#> * Predict Type: response
#> * Feature types: integer, numeric, factor, ordered
#> * Properties: weights
#>  [1] "offset"        "family"        "custom.family" "nuirange"     
#>  [5] "d"             "center"        "mstop"         "nu"           
#>  [9] "risk"          "oobweights"    "trace"         "stopintern"   
#> [13] "na.action"     "contrasts.arg"