diabetes-prediction-app

๐Ÿฉบ Diabetes Prediction App โ€” Flask ML Web Application

Typing animation


๐Ÿ“ฆ Overview

Diabetes Prediction App is a web application built with Flask that predicts the likelihood of diabetes based on user health input data. The ML model is trained using the popular Pima Indians Diabetes Dataset and deployed via a Flask server with a clean and responsive user interface.

โš ๏ธ Note: This project is for educational purposes only. It does not replace professional medical advice or diagnosis.


โœจ Features


โš™๏ธ Tech Stack

Layer Tools Used
Frontend HTML5, CSS3
Backend Python (Flask)
ML Model scikit-learn, pandas, joblib
Dataset diabetes.csv
Tools VS Code, Git

๐Ÿ—‚๏ธ Project Structure

diabetes-prediction-app/
โ”œโ”€โ”€ templates/
โ”‚   โ””โ”€โ”€ index.html          # Web UI
โ”œโ”€โ”€ diabetes.csv            # Dataset
โ”œโ”€โ”€ model.pkl               # Trained ML model
โ”œโ”€โ”€ scaler.pkl              # Scaler object
โ”œโ”€โ”€ train_model.py          # Model training script
โ”œโ”€โ”€ app.py                  # Flask backend app
โ”œโ”€โ”€ Screenshot.png          # Demo screenshot
โ””โ”€โ”€ README.md

๐Ÿ“ธ Screenshot 1

Screenshot 2025-08-02 133031


๐Ÿ“ธ Screenshot 2

Screenshot 2025-08-02 143118


๐Ÿ“ธ Screenshot 3

Screenshot 2025-08-02 143247


โ–ถ๏ธ How to Run Locally

  1. Clone the Repository ```bash git clone https://github.com/GxAniket/diabetes-prediction-app.git cd diabetes-prediction-app
  2. Install Dependencies
    • pip install -r requirements.txt
  3. Train the Model (Optional)
    • python train_model.py
  4. Run the App
    • python app.py
  5. Open in Browser
    • http://127.0.0.1:5000

๐Ÿง  Learnings & Goals


๐Ÿš€ Future Enhancements


๐Ÿงพ License

This project is for learning purposes only. Feel free to use, modify, and share with proper credit. Not intended for medical or commercial use.


๐Ÿ™Œ Author