← Side quests

Diabetes Risk Predictor

Eight classifiers compared, the best one shipped

Compared eight machine-learning models on the Pima diabetes data, then deployed the winner in a Streamlit web app and a desktop app.

Compared eight machine-learning models on the Pima diabetes data, then deployed the winner in a Streamlit web app and a desktop app.
Role
Individual
Year
2025
Team
Individual
Context
Rocheston Certified AI Engineer programme, APU.

Overview

I explored the 768-record Pima dataset (distributions, correlations, class balance), then trained and compared logistic regression, KNN, four SVM kernels, a random forest and a decision tree on the same split.

KNN with k = 23 scored best. I deployed it in a Streamlit web app and in a Tkinter desktop app packaged as a Windows executable.

What I did

  1. 01Did the exploratory analysis and feature correlation.
  2. 02Swept k from 1 to 30 to tune KNN.
  3. 03Benchmarked eight models on accuracy, precision, recall and F1.
  4. 04Built the Streamlit web app and the slider-based desktop app with a confidence readout.

Signal path

  1. Pima dataset
  2. EDA
  3. 8 models
  4. KNN, k = 23
  5. Streamlit & desktop app