TaskSupervised: Supervised Task

Description Format Construction Fields Methods See Also Examples

Description

This is the abstract base class for task objects like TaskClassif and TaskRegr. It extends Task with methods to handle a target columns.

Format

R6::R6Class object inheriting from Task.

Construction

1
t = TaskSupervised$new(id, task_type, backend, target)

Fields

See Task.

Methods

All methods from Task, and additionally:

See Also

Other Task: TaskClassif, TaskRegr, Task, mlr_tasks

Examples

1
task = TaskSupervised$new("iris", task_type = "classif", backend = iris, target = "Species")

mllg/mlr3 documentation built on Sept. 27, 2019, 9:38 a.m.