https://github.com/ncqxm/diabetes-predictor
Web app to predict diabetes risk using health data and machine learning.
https://github.com/ncqxm/diabetes-predictor
diabetes health machine-learning prediction stramlit
Last synced: 7 months ago
JSON representation
Web app to predict diabetes risk using health data and machine learning.
- Host: GitHub
- URL: https://github.com/ncqxm/diabetes-predictor
- Owner: ncqxm
- Created: 2025-03-22T12:15:29.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-22T12:55:24.000Z (7 months ago)
- Last Synced: 2025-03-22T13:29:34.296Z (7 months ago)
- Topics: diabetes, health, machine-learning, prediction, stramlit
- Language: Python
- Homepage: https://diabetes-predictor-7kt52pk4h9wuzbfhodjtqc.streamlit.app/
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 💉 Diabetes Predictor Web App
Predict the likelihood of diabetes using health data.
Built with **scikit-learn** and **Streamlit** for real-time interactive inference.---
## Features
- Trained on [Pima Indians Diabetes Dataset](https://www.kaggle.com/datasets/uciml/pima-indians-diabetes-database)
- Models: Logistic Regression, Decision Tree (using the better-performing one)
- Web UI built with [Streamlit](https://streamlit.io/)
- Predicts based on 8 health indicators:
- Pregnancies
- Glucose
- Blood Pressure
- Skin Thickness
- Insulin
- BMI
- Diabetes Pedigree Function (DPF)
- Age---
## Live Demo
🔗 [Click to try the app](https://diabetes-predictor-7kt52pk4h9wuzbfhodjtqc.streamlit.app/)
---
## 🛠 How to run locally
1. **Clone the repo:**
```bash
git clone https://github.com/ncqxm/diabetes-predictor.git
cd diabetes-predictor
```2. **Install required packages:**
```bash
pip install -r requirements.txt
```3. **Run the app:**
```bash
streamlit run app.py
```## 🙋♂️ Author
Made with ❤️ by [ncqxm](https://github.com/ncqxm)