---
license: apache-2.0
library_name: sklearn
tags:
- sklearn
- skops
- tabular-classification
model_format: pickle
model_file: skops-dis9phuf.pkl
widget:
- structuredData:
x0:
- 3
- 5
- 1
x1:
- 5
- 5
- 3
x10:
- 0
- 0
- 0
x11:
- 0
- 0
- 0
x12:
- 0
- 0
- 0
x13:
- 0
- 0
- 0
x14:
- 0
- 0
- 0
x15:
- 0
- 0
- 0
x16:
- 0
- 0
- 0
x2:
- 3
- 4
- 0
x3:
- 5
- 4
- 0
x4:
- 4
- 4
- 0
x5:
- 4
- 0
- 0
x6:
- 3
- 0
- 0
x7:
- 2
- 0
- 0
x8:
- 3
- 0
- 0
x9:
- 0
- 0
- 0
---
# Model description
This model was created following the instructions in the following Kaggle notebook: https://www.kaggle.com/code/thedankdel/disease-symptom-prediction-ml-99
This model allows you to predict diseases through their symptoms.
**The possible classified diseases are:**
'Acne', 'Hyperthyroidism', 'AIDS', 'Chronic cholestasis',
'Hypertension', 'Hypoglycemia', 'Arthritis', 'Hepatitis B',
'Migraine', 'Urinary tract infection', 'Diabetes', 'Hepatitis D',
'Psoriasis', 'Alcoholic hepatitis', 'Dimorphic hemmorhoids(piles)',
'Hepatitis E', 'Cervical spondylosis', 'Bronchial Asthma',
'hepatitis A', 'Allergy', 'Hepatitis C', 'Pneumonia',
'Hypothyroidism', 'Gastroenteritis', 'Varicose veins', 'Jaundice',
'Drug Reaction', '(vertigo) Paroymsal Positional Vertigo',
'Heart attack', 'Tuberculosis', 'Typhoid', 'Common Cold',
'Peptic ulcer diseae', 'Paralysis (brain hemorrhage)',
'Fungal infection', 'Impetigo', 'GERD', 'Dengue', 'Malaria',
'Chicken pox', 'Osteoarthristis'
**The possible symptoms are:**
'itching', 'skin rash', 'nodal skin eruptions',
'continuous sneezing', 'shivering', 'chills', 'joint pain',
'stomach pain', 'acidity', 'ulcers on tongue', 'muscle wasting',
'vomiting', 'burning micturition', 'spotting urination', 'fatigue',
'weight gain', 'anxiety', 'cold hands and feets', 'mood swings',
'weight loss', 'restlessness', 'lethargy', 'patches in throat',
'irregular sugar level', 'cough', 'high fever', 'sunken eyes',
'breathlessness', 'sweating', 'dehydration', 'indigestion',
'headache', 'yellowish skin', 'dark urine', 'nausea',
'loss of appetite', 'pain behind the eyes', 'back pain',
'constipation', 'abdominal pain', 'diarrhoea', 'mild fever',
'yellow urine', 'yellowing of eyes', 'acute liver failure',
'fluid overload', 'swelling of stomach', 'swelled lymph nodes',
'malaise', 'blurred and distorted vision', 'phlegm',
'throat irritation', 'redness of eyes', 'sinus pressure',
'runny nose', 'congestion', 'chest pain', 'weakness in limbs',
'fast heart rate', 'pain during bowel movements',
'pain in anal region', 'bloody stool', 'irritation in anus',
'neck pain', 'dizziness', 'cramps', 'bruising', 'obesity',
'swollen legs', 'swollen blood vessels', 'puffy face and eyes',
'enlarged thyroid', 'brittle nails', 'swollen extremeties',
'excessive hunger', 'extra marital contacts',
'drying and tingling lips', 'slurred speech', 'knee pain',
'hip joint pain', 'muscle weakness', 'stiff neck',
'swelling joints', 'movement stiffness', 'spinning movements',
'loss of balance', 'unsteadiness', 'weakness of one body side',
'loss of smell', 'bladder discomfort', 'foul smell ofurine',
'continuous feel of urine', 'passage of gases', 'internal itching',
'toxic look (typhos)', 'depression', 'irritability', 'muscle pain',
'altered sensorium', 'red spots over body', 'belly pain',
'abnormal menstruation', 'dischromic patches',
'watering from eyes', 'increased appetite', 'polyuria',
'family history', 'mucoid sputum', 'rusty sputum',
'lack of concentration', 'visual disturbances',
'receiving blood transfusion', 'receiving unsterile injections',
'coma', 'stomach bleeding', 'distention of abdomen',
'history of alcohol consumption', 'blood in sputum',
'prominent veins on calf', 'palpitations', 'painful walking',
'pus filled pimples', 'blackheads', 'scurring', 'skin peeling',
'silver like dusting', 'small dents in nails',
'inflammatory nails', 'blister', 'red sore around nose',
'yellow crust ooze', 'prognosis'
## Intended uses & limitations
This model follows the limitations of the Apache 2.0 license.
### Hyperparameters
Click to expand
| Hyperparameter | Value |
|--------------------------|---------|
| bootstrap | True |
| ccp_alpha | 0.0 |
| class_weight | |
| criterion | gini |
| max_depth | 13 |
| max_features | sqrt |
| max_leaf_nodes | |
| max_samples | |
| min_impurity_decrease | 0.0 |
| min_samples_leaf | 1 |
| min_samples_split | 2 |
| min_weight_fraction_leaf | 0.0 |
| n_estimators | 500 |
| n_jobs | |
| oob_score | False |
| random_state | 42 |
| verbose | 0 |
| warm_start | False |
RandomForestClassifier(max_depth=13, n_estimators=500, random_state=42)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
RandomForestClassifier(max_depth=13, n_estimators=500, random_state=42)