Diabetes Prediction

The data

768 patients, 8 measurements

The model learns from the Pima Indians Diabetes dataset, a well-known public collection of health records from women aged 21 and over. Each record lists eight measurements and whether the patient was later diagnosed with diabetes.

The measurements

Select a card to see what it tells the model.

How the two groups differ

Average value of each measurement. Within each row, the longer bar is the higher average.

No diabetes Diabetes

Two things to know about the data

Missing readings

A value of zero is impossible for these fields, so a zero means nothing was recorded. These are treated as missing and filled in with the median.

Fewer patients with diabetes

Roughly one patient in three has diabetes. The model is told about this imbalance so it does not simply guess "no" every time.

Now see how the model uses them

Walk through cleaning, training and testing.

Read the method