mlr_learners_regr.randomForest: Regression Random Forest Learner

Description Super classes Methods References

Description

Random forest learner. randomForest from package randomForest.

Super classes

mlr3::Learner -> mlr3::LearnerRegr -> LearnerRegrRandomForest

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
LearnerRegrRandomForest$new()

Method importance()

The importance scores are extracted from the slot importance. Parameter 'importance' must be set to either "mse" or "nodepurity".

Usage
LearnerRegrRandomForest$importance()
Returns

Named numeric().


Method oob_error()

OOB errors are extracted from the model slot mse.

Usage
LearnerRegrRandomForest$oob_error()
Returns

numeric(1).


Method clone()

The objects of this class are cloneable with this method.

Usage
LearnerRegrRandomForest$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

References

Breiman, L. (2001). Random Forests Machine Learning https://doi.org/10.1023/A:1010933404324


mlr3learners/mlr3learners.randomForest documentation built on June 4, 2020, 9:21 a.m.