attiquers commited on
Commit
32b9530
Β·
verified Β·
1 Parent(s): 1c28dea

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -0
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Stroke Risk Prediction Model πŸš‘
2
+
3
+ This model predicts the stroke risk percentage based on user symptoms using a trained linear regression model.
4
+
5
+ ## πŸ“Œ Features:
6
+ - βœ… Takes 16 symptoms as input (Checkbox selection)
7
+ - βœ… Returns a stroke risk percentage
8
+ - βœ… Deployed using Gradio on Hugging Face Spaces
9
+
10
+ ## πŸ”§ How It Works:
11
+ 1. User selects relevant symptoms.
12
+ 2. The input is normalized based on precomputed dataset statistics.
13
+ 3. The trained model (`theta_final.npy`) predicts the stroke risk.
14
+
15
+ ## πŸš€ Try it Live:
16
+ [![Hugging Face Space](https://img.shields.io/badge/HuggingFace-Space-blue)](https://huggingface.co/spaces/your-space-name)
17
+
18
+ ## πŸ“‚ Files:
19
+ - `app.py`: Gradio interface and model inference.
20
+ - `theta_final.npy`: Trained model parameters.
21
+ - `requirements.txt`: Dependencies.
22
+
23
+ ## πŸ›  Installation (Local Testing):
24
+ ```bash
25
+ pip install gradio numpy
26
+ python app.py