Skip to contents

Ranger auto.

Value

Object of class R6::R6Class and AutoRanger.

Super class

Auto -> AutoRanger

Methods

Inherited methods


AutoRanger$new()

Creates a new instance of this R6 class.

Usage

AutoRanger$new(id = "ranger")

Arguments

id

(character(1))
Identifier for the new instance.


AutoRanger$graph()

Create the graph for the auto.

Usage

AutoRanger$graph(task, measure, n_threads, timeout, devices)

Arguments

task

(mlr3::Task).

measure

(mlr3::Measure).

n_threads

(integer(1)).

timeout

(integer(1)).

devices

(character())
Devices to use. Allowed values are "cpu" and "cuda". Default is "cpu".


AutoRanger$estimate_memory()

Estimate the memory for the auto.

Usage

AutoRanger$estimate_memory(task)

Arguments

task

(mlr3::Task).


AutoRanger$clone()

The objects of this class are cloneable with this method.

Usage

AutoRanger$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

auto("ranger")
#> <AutoRanger>
#>   Inherits from: <Auto>
#>   Public:
#>     check: function (task, memory_limit = Inf, large_data_set = FALSE, devices) 
#>     clone: function (deep = FALSE) 
#>     design_default: function (task) 
#>     design_set: function (task, measure, size) 
#>     devices: cpu
#>     early_stopping_rounds: function (task, budget = Inf) 
#>     estimate_memory: function (task) 
#>     finalize_model: function (graph_learner) 
#>     graph: function (task, measure, n_threads, timeout, devices) 
#>     id: ranger
#>     initialize: function (id = "ranger") 
#>     packages: mlr3 mlr3learners ranger
#>     properties: large_data_sets
#>     search_space: function (task) 
#>     task_types: classif regr
#>   Private:
#>     .default_values: list
#>     .search_space: ParamSet, R6