Skip to contents

Calls extraTrees::extraTrees from package extraTrees.

Dictionary

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

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

Meta Information

  • Task type: “regr”

  • Predict Types: “response”

  • Feature Types: “integer”, “numeric”

  • Required Packages: mlr3extralearners, extraTrees

Parameters

IdTypeDefaultLevelsRange
ntreeinteger500\([1, \infty)\)
mtryinteger-\([1, \infty)\)
nodesizeinteger1\([1, \infty)\)
numRandomCutsinteger1\((-\infty, \infty)\)
evenCutslogicalFALSETRUE, FALSE\((-\infty, \infty)\)
numThreadsinteger1\([1, \infty)\)
quantilelogicalFALSETRUE, FALSE\((-\infty, \infty)\)
subsetSizeslist-\((-\infty, \infty)\)
subsetGroupslist-\((-\infty, \infty)\)
taskslist-\((-\infty, \infty)\)
probOfTaskCutsnumeric-\([0, 1]\)
numRandomTaskCutsinteger1\([1, \infty)\)
na.actioncharacterstopstop, zero, fuse\((-\infty, \infty)\)

See also

Author

be-marc

Super classes

mlr3::Learner -> mlr3::LearnerRegr -> LearnerRegrExtraTrees

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

LearnerRegrExtraTrees$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

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

  # available parameters:
  learner$param_set$ids()
}
#> <LearnerRegrExtraTrees:regr.extratrees>
#> * Model: -
#> * Parameters: list()
#> * Packages: mlr3, mlr3extralearners, extraTrees
#> * Predict Type: response
#> * Feature types: integer, numeric
#> * Properties: weights
#>  [1] "ntree"             "mtry"              "nodesize"         
#>  [4] "numRandomCuts"     "evenCuts"          "numThreads"       
#>  [7] "quantile"          "subsetSizes"       "subsetGroups"     
#> [10] "tasks"             "probOfTaskCuts"    "numRandomTaskCuts"
#> [13] "na.action"