Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
title: Insulin Dependency Predictor
|
| 2 |
emoji: π
|
| 3 |
colorFrom: indigo
|
|
@@ -6,41 +7,5 @@ sdk: gradio
|
|
| 6 |
sdk_version: 5.30.0
|
| 7 |
app_file: app.py
|
| 8 |
pinned: true
|
| 9 |
-
short_description: Predict insulin
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
# π§ Insulin Dependency Predictor
|
| 13 |
-
|
| 14 |
-
This interactive tool predicts whether a diabetic patient is likely to require **insulin therapy** based on their clinical information. The prediction model is trained using a **Random Forest classifier**, and the interface is built with **Gradio**.
|
| 15 |
-
|
| 16 |
-
# π©Ί Features
|
| 17 |
-
|
| 18 |
-
- Input patient data (e.g., age, BMI, HbA1c, glucose levels)
|
| 19 |
-
- Real-time prediction of insulin dependency (Yes / No)
|
| 20 |
-
- Built using Scikit-learn and hosted on Hugging Face Spaces
|
| 21 |
-
- Experimental integration with ensemble models (LightGBM, XGBoost)
|
| 22 |
-
|
| 23 |
-
# π Usage
|
| 24 |
-
|
| 25 |
-
Enter the patient details and click **Submit**. The model will return a prediction for insulin dependency.
|
| 26 |
-
|
| 27 |
-
# π Model
|
| 28 |
-
|
| 29 |
-
The model was trained on a real-world diabetes dataset with features such as:
|
| 30 |
-
|
| 31 |
-
- Age, Gender, Height, Weight, BMI
|
| 32 |
-
- Fasting Blood Sugar (FBS), Postprandial Blood Sugar (PPBS)
|
| 33 |
-
- HbA1c, Smoking and Alcohol use, Diabetes duration
|
| 34 |
-
|
| 35 |
-
Model type: RandomForestClassifier
|
| 36 |
-
Saved as: `random_forest_model.pkl`
|
| 37 |
-
|
| 38 |
-
# π Future Work
|
| 39 |
-
|
| 40 |
-
- Deploying ensemble models (Random Forest + LightGBM)
|
| 41 |
-
- More feature engineering and model optimization
|
| 42 |
-
- Clinical testing and validation
|
| 43 |
-
|
| 44 |
-
# β οΈ Disclaimer
|
| 45 |
-
|
| 46 |
-
This is an **experimental tool** and should not be used for medical diagnosis. Always consult a licensed healthcare provider for medical advice.
|
|
|
|
| 1 |
+
---
|
| 2 |
title: Insulin Dependency Predictor
|
| 3 |
emoji: π
|
| 4 |
colorFrom: indigo
|
|
|
|
| 7 |
sdk_version: 5.30.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: true
|
| 10 |
+
short_description: "Predict insulin need in diabetic patients."
|
| 11 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|