Skip to contents

Glmnet auto.

Value

Object of class R6::R6Class and AutoGlmnet.

Super class

Auto -> AutoGlmnet

Methods

Inherited methods


AutoGlmnet$new()

Creates a new instance of this R6 class.

Usage

AutoGlmnet$new(id = "glmnet")

Arguments

id

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


AutoGlmnet$graph()

Create the graph for the auto.

Usage

AutoGlmnet$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".


AutoGlmnet$clone()

The objects of this class are cloneable with this method.

Usage

AutoGlmnet$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

auto("glmnet")
#> <AutoGlmnet>
#>   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: glmnet
#>     initialize: function (id = "glmnet") 
#>     packages: mlr3 mlr3learners glmnet
#>     properties: 
#>     search_space: function (task) 
#>     task_types: classif regr
#>   Private:
#>     .default_values: list
#>     .search_space: ParamSet, R6