This task specializes Task and TaskSupervised for forecasting regression problems. The target column(s) are assumed to be numeric. The task_type is set to "regr" `.

See also

Other Task: TaskForecast, mlr_tasks_airpassengers, mlr_tasks_petrol

Super classes

mlr3::Task -> mlr3::TaskSupervised -> mlr3temporal::TaskForecast -> TaskRegrForecast

Methods

Inherited methods


Method new()

Creates a new instance of this R6 class.

Usage

TaskRegrForecast$new(id, backend, target = "target", date_col = NULL)

Arguments

id

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

backend

(DataBackend)
Either a DataBackend, or any object which is convertible to a DataBackend with as_data_backend(). E.g., a data.frame() will be converted to a DataBackendDataTable.

target

(character(1))
Name of the target column.

date_col

(character(1))
Name of the date column, only required if backend is a data.frame.


Method clone()

The objects of this class are cloneable with this method.

Usage

TaskRegrForecast$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.