LearnerCompboost: Component-wise gradient boosting learner

LearnerCompboostR Documentation

Component-wise gradient boosting learner

Description

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

Super class

mlr3::Learner -> LearnerCompboost

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
LearnerCompboost$new(ttype)
Arguments
ttype

(character(1))
The task type of the learner. Must be regr or classif.


Method importance()

The importance scores are extracted from the model slot ⁠$calculateFEatureImportance()⁠.

Usage
LearnerCompboost$importance()
Returns

Named numeric().


Method selected_features()

Selected features are extracted from the model slot ⁠$getSelectedBaselearner()⁠.

Usage
LearnerCompboost$selected_features()
Returns

character().


Method save_json()

Save the model to a JSON file.

Usage
LearnerCompboost$save_json(file)
Arguments
file

(character(1)
Name/path to the file.

Returns

character(1)


Method clone()

The objects of this class are cloneable with this method.

Usage
LearnerCompboost$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


schalkdaniel/compboost documentation built on April 15, 2023, 9:03 p.m.