Skip to contents

A regression task for the datasets::mtcars data set. Target variable is mpg (Miles/(US) gallon). Rownames are stored as variable "..rownames with column role "model".

Format

R6::R6Class inheriting from TaskRegr.

Construction

mlr_tasks$get("mtcars")
tsk("mtcars")

Meta Information

  • Task type: “regr”

  • Dimensions: 32x11

  • Properties: -

  • Has Missings: FALSE

  • Target: “mpg”

  • Features: “am”, “carb”, “cyl”, “disp”, “drat”, “gear”, “hp”, “qsec”, “vs”, “wt”

See also

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