A cute yet powerful Machine Learning project that predicts whether you are at risk of diabetes 💖
- 🧠 ML-powered prediction using scikit-learn
- 💻 Flask Web App for easy use
- 📊 User-friendly interface
- ⚡ Instant results based on your health inputs
📁 diabetes-prediction │-- 📄 app.py # Flask backend │-- 📄 model.pkl # Trained ML model │-- 📄 requirements.txt # Project dependencies │-- 📄 README.md # Project documentation │-- 📁 static/ # CSS, images │-- 📁 templates/ # HTML files
git clone https://github.com/Aaru-0653/diabetes-prediction.git
cd diabetes-prediction
2️⃣ Install dependencies
pip install -r requirements.txt
3️⃣ Run the app
python app.py
---
---
🧪 Example Inputs
✅ Healthy Example
Glucose Blood Pressure Insulin BMI Age
90 72 80 22.5 25
Output: You are Healthy 💖 No signs of diabetes detected. Keep up a healthy lifestyle!
❌ Not Healthy Example
Glucose Blood Pressure Insulin BMI Age
180 95 250 35.5 55
Output: You might be at risk of Diabetes ⚠️ Please consult a doctor.
💡 Tech Stack
Python 3.10
Flask
scikit-learn
Pandas & NumPy
Made with 💖 by Aaru