Skip to contents

This is the abstract base class for unsupervised tasks such as cluster tasks in mlr3cluster.

See also

Other Task: TaskClassif, TaskRegr, TaskSupervised, Task, mlr_tasks_boston_housing, mlr_tasks_breast_cancer, mlr_tasks_german_credit, mlr_tasks_iris, mlr_tasks_mtcars, mlr_tasks_penguins, mlr_tasks_pima, mlr_tasks_sonar, mlr_tasks_spam, mlr_tasks_wine, mlr_tasks_zoo, mlr_tasks

Super class

mlr3::Task -> TaskUnsupervised

Examples

TaskUnsupervised$new("penguins", task_type = "regr", backend = palmerpenguins::penguins)
#> <TaskUnsupervised:penguins> (344 x 8)
#> * Target: -
#> * Properties: -
#> * Features (8):
#>   - int (3): body_mass_g, flipper_length_mm, year
#>   - fct (3): island, sex, species
#>   - dbl (2): bill_depth_mm, bill_length_mm