Add README.md
Browse files
README.md
CHANGED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- random-forest
|
5 |
+
- stroke-prediction
|
6 |
+
- classification
|
7 |
+
- healthcare
|
8 |
+
license: mit
|
9 |
+
widget:
|
10 |
+
- text: "Patient details: Age 65, Hypertension 1, Avg_glucose_level 180, BMI 25"
|
11 |
+
datasets:
|
12 |
+
- stroke-prediction-dataset
|
13 |
+
---
|
14 |
+
|
15 |
+
# Stroke Prediction Model
|
16 |
+
|
17 |
+
This model uses a Random Forest Classifier to predict the likelihood of a stroke based on patient details.
|
18 |
+
|
19 |
+
## Model Details
|
20 |
+
- **Algorithm**: Random Forest
|
21 |
+
- **Use Case**: Healthcare, Stroke Risk Prediction
|
22 |
+
- **Performance Metrics**:
|
23 |
+
- **Accuracy**: 94.70%
|
24 |
+
- **ROC-AUC Score**: 0.79
|
25 |
+
- **Classification Report**:
|
26 |
+
|
27 |
+
```
|
28 |
+
precision recall f1-score support
|
29 |
+
|
30 |
+
0 0.95 1.00 0.97 929
|
31 |
+
1 1.00 0.02 0.04 53
|
32 |
+
|
33 |
+
accuracy 0.95 982
|
34 |
+
macro avg 0.97 0.51 0.50 982
|
35 |
+
weighted avg 0.95 0.95 0.92 982
|
36 |
+
```
|
37 |
+
|
38 |
+
## How to Use
|
39 |
+
Download the model and load it using `joblib
|