Description Super classes Public fields Methods
This task specializes mlr3::Task for multi-output problems.
The task_type is set to "multioutput".
Predefined tasks are stored in the dictionary mlr_tasks. Properties for this mlr3::Task are 'multilabel' if the mlr3::Task has only binary classification targets and 'multioutput' else.
mlr3::Task -> mlr3::TaskSupervised -> TaskMultioutput
task_types(character())
See initialize.
new()Creates a new instance of this R6 class.
TaskMultioutput$new( id, backend, target, task_types = NULL, task_type = "multioutput" )
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)
Name of the target columns.
task_typescharacter
Named character vector of per-target task-types.
E.g. c(tgt1 = "regr", tgt2 = "classif")
task_type(character(1))
Task type of the constructed task. Defautls to "multioutput".
formula()TaskMultioutput$formula(rhs = ".")
clone()The objects of this class are cloneable with this method.
TaskMultioutput$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.