Diagnostic measurements for predicting diabetes onset. Included as standard supervised-learning practice data; it has no causal structure.

diabetes

Format

A data frame with 768 rows and 9 columns: eight numeric diagnostic measurements and the target diabetes (factor, 0/1).

Examples

data(diabetes)
head(diabetes)
#>   n_pregnant glucose blood_pressure thickness insulin  bmi function. age
#> 1          6     148             72        35       0 33.6     0.627  50
#> 2          1      85             66        29       0 26.6     0.351  31
#> 3          8     183             64         0       0 23.3     0.672  32
#> 4          1      89             66        23      94 28.1     0.167  21
#> 5          0     137             40        35     168 43.1     2.288  33
#> 6          5     116             74         0       0 25.6     0.201  30
#>   diabetes
#> 1        1
#> 2        0
#> 3        1
#> 4        0
#> 5        1
#> 6        0