Skip to contents

A Learner for a component-wise boosting model implemented in Compboost.

Super classes

mlr3::Learner -> compboost::LearnerCompboost -> LearnerRegrCompboost

Methods

Inherited methods


Method new()

Creates a new instance of this R6 class.

Usage


Method clone()

The objects of this class are cloneable with this method.

Usage

LearnerRegrCompboost$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

task = mlr3::tsk("mtcars")
l = mlr3::lrn("regr.compboost", baselearner = "linear", iterations = 50)
l$train(task)
l$importance()
#>   baselearner risk_reduction
#> 4   wt_linear     8.14341722
#> 2  cyl_linear     5.16597613
#> 3   hp_linear     1.28624095
#> 1   am_linear     0.04021387