Asiya-Mohammed commited on
Commit
2799488
·
verified ·
1 Parent(s): 73572bb

Upload hfREADME.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. hfREADME.md +36 -0
hfREADME.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: sklearn
3
+ tags:
4
+ - random-forest
5
+ - stroke-prediction
6
+ - sklearn
7
+ pipeline_tag: tabular-classification
8
+ license: mit
9
+ ---
10
+
11
+
12
+ # Stroke Prediction Random Forest Model
13
+
14
+ This project uses a Random Forest model to predict the risk of strokes based on user input features. The model has been deployed on Hugging Face for seamless integration.
15
+
16
+ ## Features
17
+ - Predicts the likelihood of a stroke based on various health parameters.
18
+ - Fast and efficient model, hosted on Hugging Face.
19
+
20
+ ## Input Features
21
+ The model expects the following inputs:
22
+ - `age`: Patient's age (numeric)
23
+ - `age_group`: Patients age group child(Less than 18 ),Young Adult (18-34 ), Adult (35-59 ), Senior (60 and over )
24
+ - `hypertension`: 1 if the patient has hypertension, else 0
25
+ - `heart_disease`: 1 if the patient has heart disease, else 0
26
+ - `avg_glucose_level`: Average glucose level in the blood
27
+ - `bmi`: Body Mass Index
28
+ - `gender`: Male/Female/Other
29
+ - `ever_married`: Yes/No
30
+ - `work_type`: Type of work (e.g., Private, Self-employed, never_worked)
31
+ - `Residence_type`: Urban/Rural
32
+ - `smoking_status`: Smoking habits (e.g., never smoked, formerly smoked)
33
+
34
+ ## Model Deployment
35
+ The model has been deployed on the [Hugging Face Hub](https://huggingface.co). You can access it via my repo [Random Forest Model for Stroke Prediction](https://huggingface.co/Asiya-Mohammed/random-forest-model).
36
+