Predict Diabetes Risk With AI Precision
A powerful machine learning application that provides real-time diabetes risk assessments using state-of-the-art predictive models. Designed to educate, detect early symptoms, and help users take preventive steps toward a healthier life.
- Real-time diabetes prediction dashboard
- User-friendly interface with visual analytics
- ML-powered insights based on health indicators
- Educational content on diabetes types & symptoms
- 95% accuracy with multi-model prediction
- Backend: Python, Flask
- ML Models: Scikit-learn (SVM, Random Forest, Logistic Regression, Gradient Boosting)
- Frontend: HTML/CSS/JS or Streamlit
- Data Visualization: Matplotlib / Plotly / Seaborn
git clone https://github.com/yourusername/diabetes-predictor.git
cd diabetes-predictor
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
If you don't have a
requirements.txt
, you can create one with common packages:
pip install pandas numpy scikit-learn matplotlib seaborn streamlit
pip freeze > requirements.txt
python app.py
Model | Description |
---|---|
SVM (Support Vector Machine) | Supervised learning model for classification/regression |
Random Forest | Ensemble of decision trees for robust and accurate classification |
Logistic Regression | Ideal for binary classification like diabetes (yes/no) |
Gradient Boosting | Sequential model improving weak learners using residuals |
- 422 Million adults live with diabetes globally
- 50% of cases go undiagnosed
- 2–3x higher risk of heart disease in diabetic patients
- 95% accuracy achieved in predictions using advanced ML models
- Type 1: Autoimmune, insulin-dependent, early onset
- Type 2: Lifestyle-related, most common, often preventable
- Gestational: During pregnancy, risk to both mother and baby
- Prediabetes: Warning stage, reversible with lifestyle changes
- Excessive thirst and urination
- Unexplained weight loss
- Blurred vision
- Fatigue
- Slow-healing wounds
- Balanced diet rich in fruits, vegetables, whole grains
- 150+ minutes/week of moderate physical activity
- Regular health check-ups
- Maintain healthy body weight
diabetes-predictor/
├── app.py
├── models/
│ └── diabetes_model.pkl
├── templates/
│ └── index.html
├── static/
│ └── style.css
├── public/
│ └── icon.png
├── README.md
└── requirements.txt
Have suggestions or issues?
📧 Email us at: jayanththalla33@gmail.com
© 2025 Diabetes Predictor. All rights reserved.
This project is licensed under the MIT License.
Special thanks to the open-source community and health researchers who made this project possible.