Skip to contents

Fastai auto.

Super class

mlr3automl::Auto -> AutoFastai

Methods

Inherited methods


Method new()

Creates a new instance of this R6 class.

Usage

AutoFastai$new(id = "fastai")

Arguments

id

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


Method check()

Check if the auto is compatible with the task.

Usage

AutoFastai$check(
  task,
  memory_limit = Inf,
  large_data_set = FALSE,
  devices = "cpu"
)

Arguments

task

(mlr3::Task).

memory_limit

(integer(1)).

large_data_set

(logical(1)).

devices

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


Method graph()

Create the graph for the auto.

Usage

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


Method estimate_memory()

Estimate the memory for the auto.

Usage

AutoFastai$estimate_memory(task)

Arguments

task

(mlr3::Task).


Method internal_measure()

Get the internal measure for the auto.

Usage

AutoFastai$internal_measure(measure, task)

Arguments

measure

(mlr3::Measure).

task

(mlr3::Task).


Method clone()

The objects of this class are cloneable with this method.

Usage

AutoFastai$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.