sklearn.datasets.load_diabetes

sklearn.datasets.load_diabetes()[source]

Load and return the diabetes dataset (regression).

Samples total 442
Dimensionality 10
Features real, -.2 < x < .2
Targets integer 25 - 346

Read more in the User Guide.

Returns:

data : Bunch

Dictionary-like object, the interesting attributes are: ‘data’, the data to learn and ‘target’, the regression target for each sample.