Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,4 +9,25 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
|
| 13 |
+
# Heart Risk Prediction using KNN
|
| 14 |
+
|
| 15 |
+
This Gradio app predicts heart risk based on Blood Pressure and Cholesterol levels using a K-Nearest Neighbors (KNN) model.
|
| 16 |
+
|
| 17 |
+
## How it works
|
| 18 |
+
|
| 19 |
+
- Input: Blood Pressure and Cholesterol
|
| 20 |
+
- Model: Trained with KNN on heart data
|
| 21 |
+
- Output: "Risk" or "No Risk"
|
| 22 |
+
|
| 23 |
+
## Files
|
| 24 |
+
|
| 25 |
+
- `app.py` - Gradio application script
|
| 26 |
+
- `model.pkl` - Trained KNN model (uploaded separately)
|
| 27 |
+
- `requirements.txt` - Dependencies
|
| 28 |
+
|
| 29 |
+
## Run locally
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|