Skip to contents

A binary classification task for the mlbench::SynthDiabetes2 data set. Positive class is set to "pos". Several feature columns contain missing values, which makes the task useful for preprocessing examples and tests.

The data is fully synthetic and contains no real patient data. It replaces the former pima task, which was based on the PimaIndiansDiabetes2 data set. That data set was removed from mlbench at the request of the institute that conducted the underlying study.

Format

R6::R6Class inheriting from TaskClassif.

Dictionary

This Task can be instantiated via the dictionary mlr_tasks or with the associated sugar function tsk():

mlr_tasks$get("diabetes")
tsk("diabetes")

Meta Information

  • Task type: “classif”

  • Dimensions: 768x9

  • Properties: “twoclass”

  • Has Missings: TRUE

  • Target: “diabetes”

  • Features: “age”, “glucose”, “insulin”, “mass”, “pedigree”, “pregnant”, “pressure”, “triceps”

See also

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