mlr_learners_surv.gbm: Survival Gradient Boosting Machine Learner

Description Custom mlr3 defaults Dictionary Super classes Methods See Also Examples

Description

Regression gradient boosting machine models. Calls gbm::gbm() from package gbm.

Custom mlr3 defaults

Dictionary

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

1
2
mlr_learners$get("surv.gbm")
lrn("surv.gbm")

Super classes

mlr3::Learner -> mlr3proba::LearnerSurv -> LearnerSurvGBM

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
LearnerSurvGBM$new()

Method importance()

The importance scores are extracted from the model slot variable.importance.

Usage
LearnerSurvGBM$importance()
Returns

Named numeric().


Method clone()

The objects of this class are cloneable with this method.

Usage
LearnerSurvGBM$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Dictionary of Learners: mlr3::mlr_learners

Examples

1
2
3
4
5
6
7
if (requireNamespace("gbm")) {
  learner = mlr3::lrn("surv.gbm")
  print(learner)

  # available parameters:
  learner$param_set$ids()
}

mlr3learners/mlr3learners.gbm documentation built on Sept. 4, 2020, 6:57 a.m.