t = TaskSupervised$new(id, task_type, backend, target)
Identifier for the task.
Name of the target column.
All methods from Task, and additionally:
truth(row_ids = NULL) ::
True response for specified
row_ids. Format depends on the task type.
Defaults to all rows with role "use".
task = TaskSupervised$new("iris", task_type = "classif", backend = iris, target = "Species")