AWeirdDev commited on
Commit
600d1bf
1 Parent(s): 8af3cd1
Files changed (1) hide show
  1. README.md +162 -1
README.md CHANGED
@@ -2,4 +2,165 @@
2
  license: mit
3
  library_name: sklearn
4
  pipeline_tag: tabular-classification
5
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: mit
3
  library_name: sklearn
4
  pipeline_tag: tabular-classification
5
+ ---
6
+
7
+ # human-disease-prediction
8
+
9
+ ```python
10
+ import joblib
11
+ import numpy
12
+ from huggingface_hub import hf_hub_download
13
+
14
+ model = joblib.load(
15
+ hf_hub_download("AWeirdDev/human-disease-prediction", "sklearn_model.joblib")
16
+ )
17
+
18
+ model.predict(
19
+ numpy.array([your_data])
20
+ )
21
+ ```
22
+
23
+ The `your_data` variable should be a vector of zeros and ones.
24
+
25
+ A zero means "False," and a one means "True."
26
+
27
+ Create a vector that pairs with the following symptoms, then the model will predict what disease it might be.
28
+
29
+ ```python
30
+ ['itching',
31
+ 'skin_rash',
32
+ 'nodal_skin_eruptions',
33
+ 'continuous_sneezing',
34
+ 'shivering',
35
+ 'chills',
36
+ 'joint_pain',
37
+ 'stomach_pain',
38
+ 'acidity',
39
+ 'ulcers_on_tongue',
40
+ 'muscle_wasting',
41
+ 'vomiting',
42
+ 'burning_micturition',
43
+ 'spotting_ urination',
44
+ 'fatigue',
45
+ 'weight_gain',
46
+ 'anxiety',
47
+ 'cold_hands_and_feets',
48
+ 'mood_swings',
49
+ 'weight_loss',
50
+ 'restlessness',
51
+ 'lethargy',
52
+ 'patches_in_throat',
53
+ 'irregular_sugar_level',
54
+ 'cough',
55
+ 'high_fever',
56
+ 'sunken_eyes',
57
+ 'breathlessness',
58
+ 'sweating',
59
+ 'dehydration',
60
+ 'indigestion',
61
+ 'headache',
62
+ 'yellowish_skin',
63
+ 'dark_urine',
64
+ 'nausea',
65
+ 'loss_of_appetite',
66
+ 'pain_behind_the_eyes',
67
+ 'back_pain',
68
+ 'constipation',
69
+ 'abdominal_pain',
70
+ 'diarrhoea',
71
+ 'mild_fever',
72
+ 'yellow_urine',
73
+ 'yellowing_of_eyes',
74
+ 'acute_liver_failure',
75
+ 'fluid_overload',
76
+ 'swelling_of_stomach',
77
+ 'swelled_lymph_nodes',
78
+ 'malaise',
79
+ 'blurred_and_distorted_vision',
80
+ 'phlegm',
81
+ 'throat_irritation',
82
+ 'redness_of_eyes',
83
+ 'sinus_pressure',
84
+ 'runny_nose',
85
+ 'congestion',
86
+ 'chest_pain',
87
+ 'weakness_in_limbs',
88
+ 'fast_heart_rate',
89
+ 'pain_during_bowel_movements',
90
+ 'pain_in_anal_region',
91
+ 'bloody_stool',
92
+ 'irritation_in_anus',
93
+ 'neck_pain',
94
+ 'dizziness',
95
+ 'cramps',
96
+ 'bruising',
97
+ 'obesity',
98
+ 'swollen_legs',
99
+ 'swollen_blood_vessels',
100
+ 'puffy_face_and_eyes',
101
+ 'enlarged_thyroid',
102
+ 'brittle_nails',
103
+ 'swollen_extremeties',
104
+ 'excessive_hunger',
105
+ 'extra_marital_contacts',
106
+ 'drying_and_tingling_lips',
107
+ 'slurred_speech',
108
+ 'knee_pain',
109
+ 'hip_joint_pain',
110
+ 'muscle_weakness',
111
+ 'stiff_neck',
112
+ 'swelling_joints',
113
+ 'movement_stiffness',
114
+ 'spinning_movements',
115
+ 'loss_of_balance',
116
+ 'unsteadiness',
117
+ 'weakness_of_one_body_side',
118
+ 'loss_of_smell',
119
+ 'bladder_discomfort',
120
+ 'foul_smell_of urine',
121
+ 'continuous_feel_of_urine',
122
+ 'passage_of_gases',
123
+ 'internal_itching',
124
+ 'toxic_look_(typhos)',
125
+ 'depression',
126
+ 'irritability',
127
+ 'muscle_pain',
128
+ 'altered_sensorium',
129
+ 'red_spots_over_body',
130
+ 'belly_pain',
131
+ 'abnormal_menstruation',
132
+ 'dischromic _patches',
133
+ 'watering_from_eyes',
134
+ 'increased_appetite',
135
+ 'polyuria',
136
+ 'family_history',
137
+ 'mucoid_sputum',
138
+ 'rusty_sputum',
139
+ 'lack_of_concentration',
140
+ 'visual_disturbances',
141
+ 'receiving_blood_transfusion',
142
+ 'receiving_unsterile_injections',
143
+ 'coma',
144
+ 'stomach_bleeding',
145
+ 'distention_of_abdomen',
146
+ 'history_of_alcohol_consumption',
147
+ 'fluid_overload.1',
148
+ 'blood_in_sputum',
149
+ 'prominent_veins_on_calf',
150
+ 'palpitations',
151
+ 'painful_walking',
152
+ 'pus_filled_pimples',
153
+ 'blackheads',
154
+ 'scurring',
155
+ 'skin_peeling',
156
+ 'silver_like_dusting',
157
+ 'small_dents_in_nails',
158
+ 'inflammatory_nails',
159
+ 'blister',
160
+ 'red_sore_around_nose',
161
+ 'yellow_crust_ooze']
162
+ ```
163
+
164
+ ## Accuracy
165
+
166
+ It has been reported as `1.0` (100%), but I don't believe it.