Update README.md
Browse files
README.md
CHANGED
@@ -6,7 +6,7 @@ tags:
|
|
6 |
- skops
|
7 |
- tabular-classification
|
8 |
model_format: pickle
|
9 |
-
model_file: skops-
|
10 |
widget:
|
11 |
- structuredData:
|
12 |
x0:
|
@@ -81,15 +81,74 @@ widget:
|
|
81 |
|
82 |
# Model description
|
83 |
|
84 |
-
This model was created following the instructions in the following Kaggle notebook:https://www.kaggle.com/code/thedankdel/disease-symptom-prediction-ml-
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
## Intended uses & limitations
|
87 |
|
88 |
This model follows the limitations of the Apache 2.0 license.
|
89 |
|
90 |
-
## Training Procedure
|
91 |
-
|
92 |
-
[More Information Needed]
|
93 |
|
94 |
### Hyperparameters
|
95 |
|
@@ -130,71 +189,11 @@ This model follows the limitations of the Apache 2.0 license.
|
|
130 |
| accuracy | 0.995935 |
|
131 |
| f1 score | 0.995935 |
|
132 |
|
133 |
-
### Model description/Evaluation Results/Classification report
|
134 |
-
|
135 |
-
| index | precision | recall | f1-score | support |
|
136 |
-
|-----------------------------------------|-------------|----------|------------|-----------|
|
137 |
-
| (vertigo) Paroymsal Positional Vertigo | 1 | 1 | 1 | 18 |
|
138 |
-
| AIDS | 1 | 1 | 1 | 20 |
|
139 |
-
| Acne | 1 | 1 | 1 | 32 |
|
140 |
-
| Alcoholic hepatitis | 1 | 1 | 1 | 29 |
|
141 |
-
| Allergy | 1 | 0.947368 | 0.972973 | 19 |
|
142 |
-
| Arthritis | 1 | 1 | 1 | 31 |
|
143 |
-
| Bronchial Asthma | 1 | 1 | 1 | 28 |
|
144 |
-
| Cervical spondylosis | 0.9375 | 1 | 0.967742 | 30 |
|
145 |
-
| Chicken pox | 1 | 1 | 1 | 27 |
|
146 |
-
| Chronic cholestasis | 1 | 1 | 1 | 19 |
|
147 |
-
| Common Cold | 1 | 1 | 1 | 25 |
|
148 |
-
| Dengue | 1 | 1 | 1 | 22 |
|
149 |
-
| Diabetes | 1 | 1 | 1 | 23 |
|
150 |
-
| Dimorphic hemmorhoids(piles) | 1 | 1 | 1 | 30 |
|
151 |
-
| Drug Reaction | 1 | 1 | 1 | 21 |
|
152 |
-
| Fungal infection | 1 | 1 | 1 | 25 |
|
153 |
-
| GERD | 1 | 1 | 1 | 24 |
|
154 |
-
| Gastroenteritis | 1 | 0.95 | 0.974359 | 20 |
|
155 |
-
| Heart attack | 1 | 1 | 1 | 18 |
|
156 |
-
| Hepatitis B | 1 | 1 | 1 | 28 |
|
157 |
-
| Hepatitis C | 1 | 1 | 1 | 19 |
|
158 |
-
| Hepatitis D | 1 | 1 | 1 | 22 |
|
159 |
-
| Hepatitis E | 1 | 1 | 1 | 30 |
|
160 |
-
| Hypertension | 1 | 0.931034 | 0.964286 | 29 |
|
161 |
-
| Hyperthyroidism | 1 | 1 | 1 | 24 |
|
162 |
-
| Hypoglycemia | 1 | 1 | 1 | 27 |
|
163 |
-
| Hypothyroidism | 1 | 1 | 1 | 28 |
|
164 |
-
| Impetigo | 1 | 1 | 1 | 24 |
|
165 |
-
| Jaundice | 1 | 1 | 1 | 25 |
|
166 |
-
| Malaria | 1 | 1 | 1 | 26 |
|
167 |
-
| Migraine | 1 | 1 | 1 | 18 |
|
168 |
-
| Osteoarthristis | 1 | 1 | 1 | 20 |
|
169 |
-
| Paralysis (brain hemorrhage) | 0.904762 | 1 | 0.95 | 19 |
|
170 |
-
| Peptic ulcer diseae | 1 | 1 | 1 | 27 |
|
171 |
-
| Pneumonia | 1 | 1 | 1 | 21 |
|
172 |
-
| Psoriasis | 1 | 1 | 1 | 22 |
|
173 |
-
| Tuberculosis | 1 | 1 | 1 | 23 |
|
174 |
-
| Typhoid | 1 | 1 | 1 | 20 |
|
175 |
-
| Urinary tract infection | 1 | 1 | 1 | 24 |
|
176 |
-
| Varicose veins | 1 | 1 | 1 | 26 |
|
177 |
-
| hepatitis A | 1 | 1 | 1 | 21 |
|
178 |
-
| macro avg | 0.996153 | 0.995815 | 0.995838 | 984 |
|
179 |
-
| weighted avg | 0.996256 | 0.995935 | 0.995955 | 984 |
|
180 |
-
|
181 |
-
# How to Get Started with the Model
|
182 |
|
183 |
-
[More Information Needed]
|
184 |
|
185 |
-
#
|
186 |
-
|
187 |
-
gianlab
|
188 |
-
|
189 |
-
# Model Card Contact
|
190 |
|
191 |
-
|
192 |
-
[More Information Needed]
|
193 |
|
194 |
-
# Citation
|
195 |
|
196 |
-
**BibTeX**
|
197 |
|
198 |
-
```
|
199 |
-
@inproceedings{...,year={2020}}
|
200 |
-
```
|
|
|
6 |
- skops
|
7 |
- tabular-classification
|
8 |
model_format: pickle
|
9 |
+
model_file: skops-dis9phuf.pkl
|
10 |
widget:
|
11 |
- structuredData:
|
12 |
x0:
|
|
|
81 |
|
82 |
# Model description
|
83 |
|
84 |
+
This model was created following the instructions in the following Kaggle notebook: https://www.kaggle.com/code/thedankdel/disease-symptom-prediction-ml-99
|
85 |
+
|
86 |
+
This model allows you to predict diseases through their symptoms.
|
87 |
+
|
88 |
+
**The possible classified diseases are:**
|
89 |
+
|
90 |
+
'Acne', 'Hyperthyroidism', 'AIDS', 'Chronic cholestasis',
|
91 |
+
'Hypertension', 'Hypoglycemia', 'Arthritis', 'Hepatitis B',
|
92 |
+
'Migraine', 'Urinary tract infection', 'Diabetes', 'Hepatitis D',
|
93 |
+
'Psoriasis', 'Alcoholic hepatitis', 'Dimorphic hemmorhoids(piles)',
|
94 |
+
'Hepatitis E', 'Cervical spondylosis', 'Bronchial Asthma',
|
95 |
+
'hepatitis A', 'Allergy', 'Hepatitis C', 'Pneumonia',
|
96 |
+
'Hypothyroidism', 'Gastroenteritis', 'Varicose veins', 'Jaundice',
|
97 |
+
'Drug Reaction', '(vertigo) Paroymsal Positional Vertigo',
|
98 |
+
'Heart attack', 'Tuberculosis', 'Typhoid', 'Common Cold',
|
99 |
+
'Peptic ulcer diseae', 'Paralysis (brain hemorrhage)',
|
100 |
+
'Fungal infection', 'Impetigo', 'GERD', 'Dengue', 'Malaria',
|
101 |
+
'Chicken pox', 'Osteoarthristis'
|
102 |
+
|
103 |
+
|
104 |
+
**The possible symptoms are:**
|
105 |
+
|
106 |
+
'itching', 'skin rash', 'nodal skin eruptions',
|
107 |
+
'continuous sneezing', 'shivering', 'chills', 'joint pain',
|
108 |
+
'stomach pain', 'acidity', 'ulcers on tongue', 'muscle wasting',
|
109 |
+
'vomiting', 'burning micturition', 'spotting urination', 'fatigue',
|
110 |
+
'weight gain', 'anxiety', 'cold hands and feets', 'mood swings',
|
111 |
+
'weight loss', 'restlessness', 'lethargy', 'patches in throat',
|
112 |
+
'irregular sugar level', 'cough', 'high fever', 'sunken eyes',
|
113 |
+
'breathlessness', 'sweating', 'dehydration', 'indigestion',
|
114 |
+
'headache', 'yellowish skin', 'dark urine', 'nausea',
|
115 |
+
'loss of appetite', 'pain behind the eyes', 'back pain',
|
116 |
+
'constipation', 'abdominal pain', 'diarrhoea', 'mild fever',
|
117 |
+
'yellow urine', 'yellowing of eyes', 'acute liver failure',
|
118 |
+
'fluid overload', 'swelling of stomach', 'swelled lymph nodes',
|
119 |
+
'malaise', 'blurred and distorted vision', 'phlegm',
|
120 |
+
'throat irritation', 'redness of eyes', 'sinus pressure',
|
121 |
+
'runny nose', 'congestion', 'chest pain', 'weakness in limbs',
|
122 |
+
'fast heart rate', 'pain during bowel movements',
|
123 |
+
'pain in anal region', 'bloody stool', 'irritation in anus',
|
124 |
+
'neck pain', 'dizziness', 'cramps', 'bruising', 'obesity',
|
125 |
+
'swollen legs', 'swollen blood vessels', 'puffy face and eyes',
|
126 |
+
'enlarged thyroid', 'brittle nails', 'swollen extremeties',
|
127 |
+
'excessive hunger', 'extra marital contacts',
|
128 |
+
'drying and tingling lips', 'slurred speech', 'knee pain',
|
129 |
+
'hip joint pain', 'muscle weakness', 'stiff neck',
|
130 |
+
'swelling joints', 'movement stiffness', 'spinning movements',
|
131 |
+
'loss of balance', 'unsteadiness', 'weakness of one body side',
|
132 |
+
'loss of smell', 'bladder discomfort', 'foul smell ofurine',
|
133 |
+
'continuous feel of urine', 'passage of gases', 'internal itching',
|
134 |
+
'toxic look (typhos)', 'depression', 'irritability', 'muscle pain',
|
135 |
+
'altered sensorium', 'red spots over body', 'belly pain',
|
136 |
+
'abnormal menstruation', 'dischromic patches',
|
137 |
+
'watering from eyes', 'increased appetite', 'polyuria',
|
138 |
+
'family history', 'mucoid sputum', 'rusty sputum',
|
139 |
+
'lack of concentration', 'visual disturbances',
|
140 |
+
'receiving blood transfusion', 'receiving unsterile injections',
|
141 |
+
'coma', 'stomach bleeding', 'distention of abdomen',
|
142 |
+
'history of alcohol consumption', 'blood in sputum',
|
143 |
+
'prominent veins on calf', 'palpitations', 'painful walking',
|
144 |
+
'pus filled pimples', 'blackheads', 'scurring', 'skin peeling',
|
145 |
+
'silver like dusting', 'small dents in nails',
|
146 |
+
'inflammatory nails', 'blister', 'red sore around nose',
|
147 |
+
'yellow crust ooze', 'prognosis'
|
148 |
## Intended uses & limitations
|
149 |
|
150 |
This model follows the limitations of the Apache 2.0 license.
|
151 |
|
|
|
|
|
|
|
152 |
|
153 |
### Hyperparameters
|
154 |
|
|
|
189 |
| accuracy | 0.995935 |
|
190 |
| f1 score | 0.995935 |
|
191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
|
|
|
193 |
|
194 |
+
# How to Get Started with the Model
|
|
|
|
|
|
|
|
|
195 |
|
196 |
+
This model can be tested by running the code contained in this Colab notebook: https://colab.research.google.com/drive/1jC-4OFrDhvp8N068Wa9Coq36jWs7SJ3M?usp=sharing
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
|
|
|