🧠 Inspiration

Diabetes affects over 422 million people worldwide, with nearly half unaware of their condition. The rising prevalence of Type 2 diabetes, often preventable through early intervention, inspired us to build a tool that bridges the gap between awareness and timely action. We envisioned an AI-powered assistant that provides instant, reliable risk predictions to empower users with knowledge and encourage healthy lifestyle changes.

⚙️ What it does

Diabetes Predictor is a real-time web application that leverages machine learning models to assess diabetes risk based on key health metrics. It features:

  • A simple and intuitive UI
  • Multi-model predictions (SVM, Random Forest, Logistic Regression, Gradient Boosting)
  • Visual analytics and health tips
  • Educational content to raise awareness

🛠️ How we built it

  • Backend: Python + Flask to handle ML inference and routing
  • ML Models: Trained using Scikit-learn on a publicly available dataset
  • Frontend: Streamlit for quick UI deployment (or HTML/CSS/JS if needed)
  • Visualization: Matplotlib, Seaborn, and Plotly for dynamic charts
  • Version Control: Git & GitHub

🧱 Challenges we ran into

  • Fine-tuning hyperparameters to balance model accuracy and runtime
  • Handling feature scaling and normalization for model consistency
  • Deploying ML models with minimal latency in a lightweight setup
  • Designing a UI that's both informative and user-friendly

🏆 Accomplishments that we're proud of

  • Achieved 95% accuracy across models using smart preprocessing and tuning
  • Created a clean, responsive interface with interactive analytics
  • Integrated four ML classifiers to allow comparative predictions
  • Delivered an educational experience alongside technical functionality

📚 What we learned

  • Practical implementation of multiple ML classifiers in a real-world context
  • The importance of user-centric design in health tech tools
  • Improved our skills in model evaluation, data visualization, and API deployment
  • Gained experience with building full-stack ML applications end-to-end

🚀 What's next for Diabetes Predictor

  • Integrate user login and historical tracking of predictions
  • Add support for mobile and progressive web apps
  • Deploy on cloud (e.g., AWS/GCP) with containerization (Docker)
  • Collaborate with healthcare professionals for deeper insights
  • Expand to other health predictors like heart disease and hypertension

Built With

Share this project:

Updates