An open API service indexing awesome lists of open source software.

https://github.com/machinelearningprodigy/diabetes-analysis

A simple Diabetes Prediction App built using Streamlit and Machine Learning. This app predicts diabetes risk based on health parameters. πŸ₯πŸ”¬
https://github.com/machinelearningprodigy/diabetes-analysis

pandas pickle pip python3 streamlit xgboost

Last synced: 20 days ago
JSON representation

A simple Diabetes Prediction App built using Streamlit and Machine Learning. This app predicts diabetes risk based on health parameters. πŸ₯πŸ”¬

Awesome Lists containing this project

README

        

# 🩸 Diabetes Detection App

A simple **Diabetes Prediction App** built using **Streamlit** and **Machine Learning**. This app predicts diabetes risk based on health parameters. πŸ₯πŸ”¬

## ✨ Features
- **User-friendly UI** with sliders & dropdowns πŸ–±οΈ
- **Machine Learning Model** for accurate predictions πŸ€–
- **Color-coded results**: No Diabetes 🟒 | Diabetes Present πŸ”΄
- **Interactive user inputs** for better experience 🎯

## πŸ› οΈ Technologies Used
- **Python** 🐍
- **Streamlit** 🎈
- **Pandas** πŸ“Š
- **XGBoost** ⚑
- **Pickle (Model Loading)** πŸ“¦

## πŸš€ How to Run
### 1️⃣ Install Dependencies
```sh
pip install streamlit pandas xgboost pickle-mixin
```

### 2️⃣ Run the App
```sh
streamlit run app.py
```

## πŸ“Š Input Features
- **Gender** 🚻
- **Age** πŸ‘ΆπŸ‘΄
- **Hypertension** ❀️
- **Heart Disease** πŸ’”
- **Smoking History** 🚬
- **BMI (Body Mass Index)** βš–οΈ
- **HbA1c Level (Hemoglobin A1c)** 🩸
- **Blood Glucose Level** 🍬

## 🎯 Prediction
The model predicts diabetes risk based on user inputs and displays the result with a **color-coded message**:
- 🟒 **No Diabetes**
- πŸ”΄ **Diabetes Present**

## πŸ“Œ Future Enhancements
- βœ… Improve model performance
- βœ… Add visualizations πŸ“Š
- βœ… Enhance UI/UX

## πŸ‘¨β€πŸ’» Developed By
[Machine Learning Prodigy](https://github.com/machinelearningprodigy)

## πŸ“œ License
This project is open-source under the **MIT License**.