Convert object to a Task or a list of Task.
The function supports:
Converting existing Task objects (with optional cloning)
Converting objects from other packages (e.g.,
OMLTask
from mlr3oml)Converting lists of objects to lists of tasks
For constructing tasks from data frames, use the dedicated converters:
as_task_classif()
for classification tasksas_task_regr()
for regression tasksas_task_unsupervised()
for unsupervised tasks