Skip to contents

Svm auto.

Value

Object of class R6::R6Class and AutoSVM.

Super class

Auto -> AutoSVM

Methods

Inherited methods


AutoSVM$new()

Creates a new instance of this R6 class.

Usage

AutoSVM$new(id = "svm")

Arguments

id

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


AutoSVM$graph()

Create the graph for the auto.

Usage

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


AutoSVM$design_default()

Default hyperparameters for the learner.

Usage

AutoSVM$design_default(task)

Arguments

task

(mlr3::Task).


AutoSVM$clone()

The objects of this class are cloneable with this method.

Usage

AutoSVM$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

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