-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
242 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Esophagitis | ||
Enteritis | ||
Asthma | ||
Coronary heart disease | ||
Pneumonia | ||
Rhinitis | ||
Thyroiditis | ||
Traumatic brain injury | ||
Dermatitis | ||
External otitis | ||
Conjunctivitis | ||
Mastitis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"import pickle" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"with open('train.pk','rb') as f:\n", | ||
" train_data = pickle.load(f)\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 3, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"<class 'list'> 1912\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"print(type(train_data), len(train_data))" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 4, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
"text/plain": [ | ||
"[{'explicit_inform_slots': {'Cough': True,\n", | ||
" 'Chest tightness and shortness of breath': False},\n", | ||
" 'implicit_inform_slots': {'Pain behind the breastbone': False,\n", | ||
" 'Chest tightness': False,\n", | ||
" 'Hemoptysis': True,\n", | ||
" 'Expectoration': True},\n", | ||
" 'disease_tag': 'Esophagitis'},\n", | ||
" {'explicit_inform_slots': {'Burning sensation behind the breastbone': True,\n", | ||
" 'Acid reflux': True,\n", | ||
" 'Chest tightness': False},\n", | ||
" 'implicit_inform_slots': {'Pain behind the breastbone': False},\n", | ||
" 'disease_tag': 'Esophagitis'},\n", | ||
" {'explicit_inform_slots': {'Burning sensation behind the breastbone': True},\n", | ||
" 'implicit_inform_slots': {'Cough': True, 'Acid reflux': True},\n", | ||
" 'disease_tag': 'Esophagitis'},\n", | ||
" {'explicit_inform_slots': {'Acid reflux': True},\n", | ||
" 'implicit_inform_slots': {'Stomach ache': False,\n", | ||
" 'Vomiting': True,\n", | ||
" 'Diarrhea': True,\n", | ||
" 'Nausea': True,\n", | ||
" 'Bloating': True},\n", | ||
" 'disease_tag': 'Esophagitis'}]" | ||
] | ||
}, | ||
"execution_count": 4, | ||
"metadata": {}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"source": [ | ||
"train_data[0:4]" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"with open('test.pk','rb') as f:\n", | ||
" test = pickle.load(f)" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.8.5" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
Dizziness | ||
Chest tightness | ||
Burning sensation behind the breastbone | ||
Chest tightness and shortness of breath | ||
Pain behind the breastbone | ||
Acid reflux | ||
Nausea | ||
Vomiting | ||
Hard to swallow | ||
Stomach ache | ||
Bloating | ||
Pharynx discomfort | ||
Expectoration | ||
Cough | ||
Fever | ||
Palpitations | ||
Diarrhea | ||
Feel sick and vomit | ||
Loss of appetite | ||
Hiccup | ||
Thin | ||
Anorexia | ||
Increased stool frequency | ||
Edema | ||
Constipation | ||
Bitter | ||
Thirst | ||
Hiccough | ||
Hemoptysis | ||
Runny nose | ||
Twitch | ||
Suppuration | ||
Chills and fever | ||
Black stool | ||
Sweating | ||
Shortness of breath | ||
Poor spirits | ||
Poor sleep | ||
Stuffy nose | ||
Hoarse | ||
Hematemesis | ||
Fear of cold | ||
Bloody stools | ||
Headache | ||
Fatigue | ||
Dizzy | ||
Syncope | ||
Consciousness disorder | ||
Sleep disorder | ||
Body aches | ||
Blood in the tears | ||
Diplopia | ||
Difficulty breathing | ||
Frequent urination | ||
Hazy | ||
Backache | ||
Night sweats | ||
Hematuria | ||
Painful urination | ||
Radiating pain | ||
Defecate | ||
Cyanosis | ||
Mucus pus and blood in the stool | ||
Tensile and heavy | ||
Rash | ||
Chills | ||
Urgency | ||
Decreased urine output | ||
Abdominal pain and diarrhea | ||
Sneeze | ||
Cry | ||
Waist pain | ||
First degree swelling of bilateral tonsils | ||
Oliguria | ||
Afraid of cold | ||
Joint pain | ||
Itching | ||
Swelling of both nasal mucosa | ||
Itchy eyes | ||
Ear itching | ||
Thin white moss | ||
Nasal congestion | ||
Inspiratory tri-concave sign | ||
Tinnitus | ||
Vertigo | ||
Headache and dizziness | ||
Poor physical activity | ||
Pain in front of neck | ||
Redness | ||
Earache | ||
Snore | ||
Ulcer | ||
Right earache | ||
Nose bleeding | ||
Nasal mucosal congestion | ||
Hearing loss | ||
Hand tremor | ||
Proptosis | ||
Mild thyroid enlargement | ||
Afraid of heat | ||
Shaking hands | ||
Eye swelling | ||
Vision loss | ||
Head trauma pain | ||
Unconsciousness | ||
Incontinence | ||
Limb numbness | ||
Itchy and uncomfortable eyes | ||
Jealous | ||
Photophobia | ||
Papule | ||
Congestion of skin and mucous membranes | ||
Dysmenorrhea | ||
Breast tenderness | ||
Eye pain | ||
Lumbago | ||
Vaginal bleeding | ||
Increased vaginal discharge |
Binary file not shown.
Binary file not shown.