high77 commited on
Commit
b1cf468
·
verified ·
1 Parent(s): 59a438a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -8
README.md CHANGED
@@ -1,13 +1,46 @@
1
- ---
2
  title: Insulin Dependency Predictor
3
- emoji: 📊
4
- colorFrom: gray
5
- colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 5.30.0
8
  app_file: app.py
9
- pinned: false
10
- short_description: Predict diabetes patients' Insulin dependency (Experimental)
11
- ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  title: Insulin Dependency Predictor
2
+ emoji: 💉
3
+ colorFrom: indigo
4
+ colorTo: green
5
  sdk: gradio
6
  sdk_version: 5.30.0
7
  app_file: app.py
8
+ pinned: true
9
+ short_description: Predict insulin dependency in diabetic patients using clinical data.
 
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.