Skip to contents

Xgboost auto.

Super class

mlr3automl::Auto -> AutoXgboost

Methods

Inherited methods


Method new()

Creates a new instance of this R6 class.

Usage

AutoXgboost$new(id = "xgboost")

Arguments

id

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


Method graph()

Create the graph for the auto.

Usage

AutoXgboost$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 finalize_model()

Prepare the graph learner for the final model fit.

Usage

AutoXgboost$finalize_model(graph_learner)


Method estimate_memory()

Estimate the memory for the auto.

Usage

AutoXgboost$estimate_memory(task)

Arguments

task

(mlr3::Task).


Method internal_measure()

Get the internal measure for the auto.

Usage

AutoXgboost$internal_measure(measure, task)

Arguments

measure

(mlr3::Measure).

task

(mlr3::Task).


Method clone()

The objects of this class are cloneable with this method.

Usage

AutoXgboost$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.