Diabetes Prediction

Machine Learning

Predicting Diabetes Using Machine Learning

Enter a patient's health measurements and a trained model estimates whether they are likely to have diabetes. Built end to end in Python, from raw data to a model that runs right here in your browser.

  • Python
  • Machine Learning
  • Classification
Glucose trend Glucose148 mg/dL BMI33.6 Likely diabetic

Explore the project

Try the predictor first, then look at the data and the thinking behind it.

From records to a prediction

The whole pipeline in four moves.

  1. Patient data

    768 records, 8 measurements each

  2. Clean and scale

    Fix missing values, balance units

  3. Train

    Logistic regression learns the pattern

  4. Predict

    Runs instantly in your browser

See what the model says about a patient

It takes under a minute. Only glucose, BMI and age are required.

Try the predictor