{
"cells": [
{
"cell_type": "code",
"execution_count": 251,
"metadata": {},
"outputs": [],
"source": [
"#import libraries\n",
"import pandas as pd\n",
"import numpy as np\n",
"from imblearn.over_sampling import ADASYN\n",
"import pandas as pd\n",
"import imblearn\n",
"from imblearn.over_sampling import ADASYN\n",
"from collections import Counter\n",
"from sklearn.model_selection import train_test_split\n",
"from sklearn.linear_model import LogisticRegression\n",
"import xgboost as xg\n",
"from xgboost import XGBClassifier\n",
"from sklearn.decomposition import FastICA\n",
"from sklearn.ensemble import RandomForestClassifier\n",
"pd.set_option('display.max_columns', None)"
]
},
{
"cell_type": "code",
"execution_count": 252,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"
\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender..female.0..male1. | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.Vomiting | \n",
" Sore.throat | \n",
" Runny.nose.Nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..chest.pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D.dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic.BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU.or.not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 28 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 18 | \n",
" 22.0 | \n",
" 389 | \n",
" 932.1 | \n",
" 124 | \n",
" 562 | \n",
" 10.4 | \n",
" 88 | \n",
" 1.81 | \n",
" 17 | \n",
" 123 | \n",
" 39.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 3 | \n",
" 28 | \n",
" 1 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 183 | \n",
" 10.5 | \n",
" 370 | \n",
" 2068.0 | \n",
" 123 | \n",
" 706 | \n",
" 13.4 | \n",
" 94 | \n",
" 0.92 | \n",
" 20 | \n",
" 120 | \n",
" 38.9 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 4 | \n",
" 30 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 218 | \n",
" 6.7 | \n",
" 349 | \n",
" 2141.0 | \n",
" 101 | \n",
" 688 | \n",
" 17.9 | \n",
" 98 | \n",
" 0.37 | \n",
" 15 | \n",
" 130 | \n",
" 37.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender..female.0..male1. ethnicity race Fever Cough SOB Fatigue \\\n",
"0 23 0 2 1 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 \n",
"2 28 1 2 1 1 1 1 0 \n",
"3 28 1 1 7 1 1 1 0 \n",
"4 30 1 2 1 1 1 0 1 \n",
"\n",
" Sputum Myalgia Diarrhea Nausea.Vomiting Sore.throat \\\n",
"0 0 0 0 0 0 \n",
"1 1 1 0 0 0 \n",
"2 0 0 1 1 1 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" Runny.nose.Nasal.congestion Loss.of.smell Loss.of.taste Headahce \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 1 \n",
"2 1 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Chest.discomfort..chest.pain Asymptomatic smoking_history \\\n",
"0 0 1 0 \n",
"1 1 0 0 \n",
"2 1 0 0 \n",
"3 0 0 0 \n",
"4 0 0 0 \n",
"\n",
" hypertensionhx diabeteshx asthmahx coronaryheartdiseasehx copdhx \\\n",
"0 0 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" heartfailurehx carcinomahx immunosuppressionhx ckdhx ALT CRP \\\n",
"0 0 0 0 0 31 2.2 \n",
"1 0 0 0 0 37 11.7 \n",
"2 0 0 0 0 18 22.0 \n",
"3 0 0 0 0 183 10.5 \n",
"4 0 0 0 0 218 6.7 \n",
"\n",
" D.dimer Ferritin HR LDH Lymphocyte SpO2 Procalcitonin RR \\\n",
"0 857 203.9 117 345 40.6 96 0.28 18 \n",
"1 183 587.1 132 483 6.8 98 0.64 28 \n",
"2 389 932.1 124 562 10.4 88 1.81 17 \n",
"3 370 2068.0 123 706 13.4 94 0.92 20 \n",
"4 349 2141.0 101 688 17.9 98 0.37 15 \n",
"\n",
" Systolic.BP Temperature Troponin ICU.or.not \n",
"0 89 37.0 0.01 1 \n",
"1 107 39.5 0.01 1 \n",
"2 123 39.1 0.01 1 \n",
"3 120 38.9 0.01 1 \n",
"4 130 37.1 0.01 1 "
]
},
"execution_count": 252,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu = pd.read_csv('ICUMICE2754.csv')\n",
"data_icu.head()"
]
},
{
"cell_type": "code",
"execution_count": 253,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.or.vomiting | \n",
" Sore.throat | \n",
" Runny.nose.nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..Chest.pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D.dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocytes | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic.BP | \n",
" Temperature | \n",
" Troponin | \n",
" death | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 23 | \n",
" 1.7 | \n",
" 415 | \n",
" 29.1 | \n",
" 109 | \n",
" 130 | \n",
" 30.7 | \n",
" 97 | \n",
" 0.06 | \n",
" 20 | \n",
" 102 | \n",
" 37.2 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 1 | \n",
" 50 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 21 | \n",
" 5.6 | \n",
" 150 | \n",
" 153.2 | \n",
" 108 | \n",
" 130 | \n",
" 9.2 | \n",
" 94 | \n",
" 0.08 | \n",
" 16 | \n",
" 127 | \n",
" 37.3 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 2 | \n",
" 29 | \n",
" 0 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 10 | \n",
" 1.2 | \n",
" 625 | \n",
" 42.4 | \n",
" 88 | \n",
" 133 | \n",
" 15.1 | \n",
" 97 | \n",
" 0.07 | \n",
" 19 | \n",
" 103 | \n",
" 36.9 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 3 | \n",
" 57 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 34 | \n",
" 12.2 | \n",
" 206 | \n",
" 373.9 | \n",
" 67 | \n",
" 133 | \n",
" 15.4 | \n",
" 98 | \n",
" 0.05 | \n",
" 18 | \n",
" 153 | \n",
" 37.4 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 4 | \n",
" 26 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 51 | \n",
" 14.3 | \n",
" 273 | \n",
" 107.7 | \n",
" 100 | \n",
" 147 | \n",
" 18.3 | \n",
" 96 | \n",
" 0.43 | \n",
" 14 | \n",
" 120 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 3 7 1 1 1 0 1 0 \n",
"1 50 0 1 1 0 1 0 0 0 1 \n",
"2 29 0 1 7 1 1 1 0 0 1 \n",
"3 57 1 2 1 1 1 1 0 0 0 \n",
"4 26 0 2 1 1 0 0 0 0 0 \n",
"\n",
" Diarrhea Nausea.or.vomiting Sore.throat Runny.nose.nasal.congestion \\\n",
"0 1 1 0 0 \n",
"1 1 1 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Loss.of.smell Loss.of.taste Headahce Chest.discomfort..Chest.pain \\\n",
"0 0 1 0 1 \n",
"1 0 0 0 0 \n",
"2 0 0 0 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 0 0 0 0 0 \n",
"1 0 0 1 1 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D.dimer Ferritin HR LDH \\\n",
"0 0 0 23 1.7 415 29.1 109 130 \n",
"1 0 0 21 5.6 150 153.2 108 130 \n",
"2 0 0 10 1.2 625 42.4 88 133 \n",
"3 0 0 34 12.2 206 373.9 67 133 \n",
"4 0 0 51 14.3 273 107.7 100 147 \n",
"\n",
" Lymphocytes SpO2 Procalcitonin RR Systolic.BP Temperature Troponin \\\n",
"0 30.7 97 0.06 20 102 37.2 0.01 \n",
"1 9.2 94 0.08 16 127 37.3 0.01 \n",
"2 15.1 97 0.07 19 103 36.9 0.01 \n",
"3 15.4 98 0.05 18 153 37.4 0.01 \n",
"4 18.3 96 0.43 14 120 37.0 0.01 \n",
"\n",
" death \n",
"0 0 \n",
"1 0 \n",
"2 0 \n",
"3 0 \n",
"4 0 "
]
},
"execution_count": 253,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_death = pd.read_csv('DeadMICE.csv')\n",
"data_death.head()"
]
},
{
"cell_type": "code",
"execution_count": 254,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(1020, 43)"
]
},
"execution_count": 254,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_death.shape"
]
},
{
"cell_type": "code",
"execution_count": 255,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(1106, 43)"
]
},
"execution_count": 255,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu.shape"
]
},
{
"cell_type": "code",
"execution_count": 258,
"metadata": {},
"outputs": [],
"source": [
"#data_icu['ICU_or_not'].value_counts()/len(data_icu['ICU_or_not'])"
]
},
{
"cell_type": "code",
"execution_count": 259,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 0.860784\n",
"1 0.139216\n",
"Name: death, dtype: float64"
]
},
"execution_count": 259,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_death['death'].value_counts()/len(data_death['death'])"
]
},
{
"cell_type": "code",
"execution_count": 260,
"metadata": {},
"outputs": [],
"source": [
"#fix the column names\n",
"data_icu.columns = data_icu.columns.str.replace('.','_')"
]
},
{
"cell_type": "code",
"execution_count": 261,
"metadata": {},
"outputs": [],
"source": [
"#fix the gender column\n",
"data_icu = data_icu.rename(columns={'Gender__female_0__male1_':'Gender'})"
]
},
{
"cell_type": "code",
"execution_count": 262,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 28 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 18 | \n",
" 22.0 | \n",
" 389 | \n",
" 932.1 | \n",
" 124 | \n",
" 562 | \n",
" 10.4 | \n",
" 88 | \n",
" 1.81 | \n",
" 17 | \n",
" 123 | \n",
" 39.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 3 | \n",
" 28 | \n",
" 1 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 183 | \n",
" 10.5 | \n",
" 370 | \n",
" 2068.0 | \n",
" 123 | \n",
" 706 | \n",
" 13.4 | \n",
" 94 | \n",
" 0.92 | \n",
" 20 | \n",
" 120 | \n",
" 38.9 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 4 | \n",
" 30 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 218 | \n",
" 6.7 | \n",
" 349 | \n",
" 2141.0 | \n",
" 101 | \n",
" 688 | \n",
" 17.9 | \n",
" 98 | \n",
" 0.37 | \n",
" 15 | \n",
" 130 | \n",
" 37.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 2 1 0 0 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 1 1 \n",
"2 28 1 2 1 1 1 1 0 0 0 \n",
"3 28 1 1 7 1 1 1 0 0 0 \n",
"4 30 1 2 1 1 1 0 1 0 0 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 1 1 1 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce Chest_discomfort__chest_pain \\\n",
"0 0 0 0 0 \n",
"1 0 0 1 1 \n",
"2 0 0 0 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 1 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D_dimer Ferritin HR LDH \\\n",
"0 0 0 31 2.2 857 203.9 117 345 \n",
"1 0 0 37 11.7 183 587.1 132 483 \n",
"2 0 0 18 22.0 389 932.1 124 562 \n",
"3 0 0 183 10.5 370 2068.0 123 706 \n",
"4 0 0 218 6.7 349 2141.0 101 688 \n",
"\n",
" Lymphocyte SpO2 Procalcitonin RR Systolic_BP Temperature Troponin \\\n",
"0 40.6 96 0.28 18 89 37.0 0.01 \n",
"1 6.8 98 0.64 28 107 39.5 0.01 \n",
"2 10.4 88 1.81 17 123 39.1 0.01 \n",
"3 13.4 94 0.92 20 120 38.9 0.01 \n",
"4 17.9 98 0.37 15 130 37.1 0.01 \n",
"\n",
" ICU_or_not \n",
"0 1 \n",
"1 1 \n",
"2 1 \n",
"3 1 \n",
"4 1 "
]
},
"execution_count": 262,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu.head()"
]
},
{
"cell_type": "code",
"execution_count": 263,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Age 0\n",
"Gender 0\n",
"ethnicity 0\n",
"race 0\n",
"Fever 0\n",
"Cough 0\n",
"SOB 0\n",
"Fatigue 0\n",
"Sputum 0\n",
"Myalgia 0\n",
"Diarrhea 0\n",
"Nausea_Vomiting 0\n",
"Sore_throat 0\n",
"Runny_nose_Nasal_congestion 0\n",
"Loss_of_smell 0\n",
"Loss_of_taste 0\n",
"Headahce 0\n",
"Chest_discomfort__chest_pain 0\n",
"Asymptomatic 0\n",
"smoking_history 0\n",
"hypertensionhx 0\n",
"diabeteshx 0\n",
"asthmahx 0\n",
"coronaryheartdiseasehx 0\n",
"copdhx 0\n",
"heartfailurehx 0\n",
"carcinomahx 0\n",
"immunosuppressionhx 0\n",
"ckdhx 0\n",
"ALT 0\n",
"CRP 0\n",
"D_dimer 0\n",
"Ferritin 0\n",
"HR 0\n",
"LDH 0\n",
"Lymphocyte 0\n",
"SpO2 0\n",
"Procalcitonin 0\n",
"RR 0\n",
"Systolic_BP 0\n",
"Temperature 0\n",
"Troponin 0\n",
"ICU_or_not 0\n",
"dtype: int64"
]
},
"execution_count": 263,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"#checking for missing values\n",
"data_icu.isnull().sum()"
]
},
{
"cell_type": "code",
"execution_count": 264,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" count | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
" 1106.000000 | \n",
"
\n",
" \n",
" mean | \n",
" 61.415009 | \n",
" 0.573237 | \n",
" 1.865280 | \n",
" 3.357143 | \n",
" 0.666365 | \n",
" 0.681736 | \n",
" 0.693490 | \n",
" 0.232369 | \n",
" 0.067812 | \n",
" 0.228752 | \n",
" 0.235081 | \n",
" 0.201627 | \n",
" 0.073237 | \n",
" 0.045208 | \n",
" 0.040687 | \n",
" 0.048825 | \n",
" 0.096745 | \n",
" 0.159132 | \n",
" 0.022604 | \n",
" 0.248644 | \n",
" 0.486438 | \n",
" 0.271248 | \n",
" 0.059675 | \n",
" 0.149186 | \n",
" 0.084087 | \n",
" 0.072333 | \n",
" 0.093128 | \n",
" 0.075949 | \n",
" 0.091320 | \n",
" 47.662749 | \n",
" 10.934693 | \n",
" 1183.905967 | \n",
" 1119.177758 | \n",
" 100.138336 | \n",
" 403.297468 | \n",
" 14.259222 | \n",
" 92.677215 | \n",
" 1.385325 | \n",
" 22.629295 | \n",
" 127.981013 | \n",
" 37.508590 | \n",
" 0.031908 | \n",
" 0.245027 | \n",
"
\n",
" \n",
" std | \n",
" 16.935344 | \n",
" 0.494831 | \n",
" 0.624483 | \n",
" 2.804316 | \n",
" 0.471724 | \n",
" 0.466013 | \n",
" 0.461253 | \n",
" 0.422534 | \n",
" 0.251537 | \n",
" 0.420219 | \n",
" 0.424242 | \n",
" 0.401397 | \n",
" 0.260643 | \n",
" 0.207854 | \n",
" 0.197654 | \n",
" 0.215599 | \n",
" 0.295744 | \n",
" 0.365965 | \n",
" 0.148705 | \n",
" 0.432422 | \n",
" 0.500042 | \n",
" 0.444805 | \n",
" 0.236990 | \n",
" 0.356433 | \n",
" 0.277643 | \n",
" 0.259155 | \n",
" 0.290744 | \n",
" 0.265037 | \n",
" 0.288194 | \n",
" 99.308219 | \n",
" 9.418313 | \n",
" 3995.780189 | \n",
" 1495.375409 | \n",
" 49.285812 | \n",
" 427.391233 | \n",
" 9.111762 | \n",
" 6.619303 | \n",
" 9.977642 | \n",
" 8.467666 | \n",
" 24.559994 | \n",
" 1.353958 | \n",
" 0.118970 | \n",
" 0.430298 | \n",
"
\n",
" \n",
" min | \n",
" 22.000000 | \n",
" 0.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 5.000000 | \n",
" 0.100000 | \n",
" 150.000000 | \n",
" 5.300000 | \n",
" 6.000000 | \n",
" 120.000000 | \n",
" 0.300000 | \n",
" 27.000000 | \n",
" 0.020000 | \n",
" 5.000000 | \n",
" 18.000000 | \n",
" 3.600000 | \n",
" 0.010000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 25% | \n",
" 50.000000 | \n",
" 0.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 18.000000 | \n",
" 3.700000 | \n",
" 227.000000 | \n",
" 327.350000 | \n",
" 84.000000 | \n",
" 266.000000 | \n",
" 7.900000 | \n",
" 91.000000 | \n",
" 0.100000 | \n",
" 18.000000 | \n",
" 112.000000 | \n",
" 36.900000 | \n",
" 0.010000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 50% | \n",
" 61.000000 | \n",
" 1.000000 | \n",
" 2.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 30.000000 | \n",
" 8.400000 | \n",
" 361.000000 | \n",
" 696.500000 | \n",
" 98.000000 | \n",
" 350.000000 | \n",
" 12.500000 | \n",
" 94.000000 | \n",
" 0.170000 | \n",
" 20.000000 | \n",
" 125.000000 | \n",
" 37.300000 | \n",
" 0.010000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 75% | \n",
" 74.000000 | \n",
" 1.000000 | \n",
" 2.000000 | \n",
" 7.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
" 54.000000 | \n",
" 15.550000 | \n",
" 695.250000 | \n",
" 1377.500000 | \n",
" 111.000000 | \n",
" 470.000000 | \n",
" 18.600000 | \n",
" 96.000000 | \n",
" 0.360000 | \n",
" 24.000000 | \n",
" 142.000000 | \n",
" 38.000000 | \n",
" 0.010000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" max | \n",
" 99.000000 | \n",
" 1.000000 | \n",
" 3.000000 | \n",
" 7.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 1.000000 | \n",
" 2909.000000 | \n",
" 56.600000 | \n",
" 63670.000000 | \n",
" 22420.000000 | \n",
" 1288.000000 | \n",
" 13320.000000 | \n",
" 72.000000 | \n",
" 100.000000 | \n",
" 193.500000 | \n",
" 165.000000 | \n",
" 322.000000 | \n",
" 39.700000 | \n",
" 2.400000 | \n",
" 1.000000 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever \\\n",
"count 1106.000000 1106.000000 1106.000000 1106.000000 1106.000000 \n",
"mean 61.415009 0.573237 1.865280 3.357143 0.666365 \n",
"std 16.935344 0.494831 0.624483 2.804316 0.471724 \n",
"min 22.000000 0.000000 1.000000 1.000000 0.000000 \n",
"25% 50.000000 0.000000 1.000000 1.000000 0.000000 \n",
"50% 61.000000 1.000000 2.000000 1.000000 1.000000 \n",
"75% 74.000000 1.000000 2.000000 7.000000 1.000000 \n",
"max 99.000000 1.000000 3.000000 7.000000 1.000000 \n",
"\n",
" Cough SOB Fatigue Sputum Myalgia \\\n",
"count 1106.000000 1106.000000 1106.000000 1106.000000 1106.000000 \n",
"mean 0.681736 0.693490 0.232369 0.067812 0.228752 \n",
"std 0.466013 0.461253 0.422534 0.251537 0.420219 \n",
"min 0.000000 0.000000 0.000000 0.000000 0.000000 \n",
"25% 0.000000 0.000000 0.000000 0.000000 0.000000 \n",
"50% 1.000000 1.000000 0.000000 0.000000 0.000000 \n",
"75% 1.000000 1.000000 0.000000 0.000000 0.000000 \n",
"max 1.000000 1.000000 1.000000 1.000000 1.000000 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"count 1106.000000 1106.000000 1106.000000 1106.000000 \n",
"mean 0.235081 0.201627 0.073237 0.045208 \n",
"std 0.424242 0.401397 0.260643 0.207854 \n",
"min 0.000000 0.000000 0.000000 0.000000 \n",
"25% 0.000000 0.000000 0.000000 0.000000 \n",
"50% 0.000000 0.000000 0.000000 0.000000 \n",
"75% 0.000000 0.000000 0.000000 0.000000 \n",
"max 1.000000 1.000000 1.000000 1.000000 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce \\\n",
"count 1106.000000 1106.000000 1106.000000 \n",
"mean 0.040687 0.048825 0.096745 \n",
"std 0.197654 0.215599 0.295744 \n",
"min 0.000000 0.000000 0.000000 \n",
"25% 0.000000 0.000000 0.000000 \n",
"50% 0.000000 0.000000 0.000000 \n",
"75% 0.000000 0.000000 0.000000 \n",
"max 1.000000 1.000000 1.000000 \n",
"\n",
" Chest_discomfort__chest_pain Asymptomatic smoking_history \\\n",
"count 1106.000000 1106.000000 1106.000000 \n",
"mean 0.159132 0.022604 0.248644 \n",
"std 0.365965 0.148705 0.432422 \n",
"min 0.000000 0.000000 0.000000 \n",
"25% 0.000000 0.000000 0.000000 \n",
"50% 0.000000 0.000000 0.000000 \n",
"75% 0.000000 0.000000 0.000000 \n",
"max 1.000000 1.000000 1.000000 \n",
"\n",
" hypertensionhx diabeteshx asthmahx coronaryheartdiseasehx \\\n",
"count 1106.000000 1106.000000 1106.000000 1106.000000 \n",
"mean 0.486438 0.271248 0.059675 0.149186 \n",
"std 0.500042 0.444805 0.236990 0.356433 \n",
"min 0.000000 0.000000 0.000000 0.000000 \n",
"25% 0.000000 0.000000 0.000000 0.000000 \n",
"50% 0.000000 0.000000 0.000000 0.000000 \n",
"75% 1.000000 1.000000 0.000000 0.000000 \n",
"max 1.000000 1.000000 1.000000 1.000000 \n",
"\n",
" copdhx heartfailurehx carcinomahx immunosuppressionhx \\\n",
"count 1106.000000 1106.000000 1106.000000 1106.000000 \n",
"mean 0.084087 0.072333 0.093128 0.075949 \n",
"std 0.277643 0.259155 0.290744 0.265037 \n",
"min 0.000000 0.000000 0.000000 0.000000 \n",
"25% 0.000000 0.000000 0.000000 0.000000 \n",
"50% 0.000000 0.000000 0.000000 0.000000 \n",
"75% 0.000000 0.000000 0.000000 0.000000 \n",
"max 1.000000 1.000000 1.000000 1.000000 \n",
"\n",
" ckdhx ALT CRP D_dimer Ferritin \\\n",
"count 1106.000000 1106.000000 1106.000000 1106.000000 1106.000000 \n",
"mean 0.091320 47.662749 10.934693 1183.905967 1119.177758 \n",
"std 0.288194 99.308219 9.418313 3995.780189 1495.375409 \n",
"min 0.000000 5.000000 0.100000 150.000000 5.300000 \n",
"25% 0.000000 18.000000 3.700000 227.000000 327.350000 \n",
"50% 0.000000 30.000000 8.400000 361.000000 696.500000 \n",
"75% 0.000000 54.000000 15.550000 695.250000 1377.500000 \n",
"max 1.000000 2909.000000 56.600000 63670.000000 22420.000000 \n",
"\n",
" HR LDH Lymphocyte SpO2 Procalcitonin \\\n",
"count 1106.000000 1106.000000 1106.000000 1106.000000 1106.000000 \n",
"mean 100.138336 403.297468 14.259222 92.677215 1.385325 \n",
"std 49.285812 427.391233 9.111762 6.619303 9.977642 \n",
"min 6.000000 120.000000 0.300000 27.000000 0.020000 \n",
"25% 84.000000 266.000000 7.900000 91.000000 0.100000 \n",
"50% 98.000000 350.000000 12.500000 94.000000 0.170000 \n",
"75% 111.000000 470.000000 18.600000 96.000000 0.360000 \n",
"max 1288.000000 13320.000000 72.000000 100.000000 193.500000 \n",
"\n",
" RR Systolic_BP Temperature Troponin ICU_or_not \n",
"count 1106.000000 1106.000000 1106.000000 1106.000000 1106.000000 \n",
"mean 22.629295 127.981013 37.508590 0.031908 0.245027 \n",
"std 8.467666 24.559994 1.353958 0.118970 0.430298 \n",
"min 5.000000 18.000000 3.600000 0.010000 0.000000 \n",
"25% 18.000000 112.000000 36.900000 0.010000 0.000000 \n",
"50% 20.000000 125.000000 37.300000 0.010000 0.000000 \n",
"75% 24.000000 142.000000 38.000000 0.010000 0.000000 \n",
"max 165.000000 322.000000 39.700000 2.400000 1.000000 "
]
},
"execution_count": 264,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu.describe()"
]
},
{
"cell_type": "code",
"execution_count": 265,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Age int64\n",
"Gender int64\n",
"ethnicity int64\n",
"race int64\n",
"Fever int64\n",
"Cough int64\n",
"SOB int64\n",
"Fatigue int64\n",
"Sputum int64\n",
"Myalgia int64\n",
"Diarrhea int64\n",
"Nausea_Vomiting int64\n",
"Sore_throat int64\n",
"Runny_nose_Nasal_congestion int64\n",
"Loss_of_smell int64\n",
"Loss_of_taste int64\n",
"Headahce int64\n",
"Chest_discomfort__chest_pain int64\n",
"Asymptomatic int64\n",
"smoking_history int64\n",
"hypertensionhx int64\n",
"diabeteshx int64\n",
"asthmahx int64\n",
"coronaryheartdiseasehx int64\n",
"copdhx int64\n",
"heartfailurehx int64\n",
"carcinomahx int64\n",
"immunosuppressionhx int64\n",
"ckdhx int64\n",
"ALT int64\n",
"CRP float64\n",
"D_dimer int64\n",
"Ferritin float64\n",
"HR int64\n",
"LDH int64\n",
"Lymphocyte float64\n",
"SpO2 int64\n",
"Procalcitonin float64\n",
"RR int64\n",
"Systolic_BP int64\n",
"Temperature float64\n",
"Troponin float64\n",
"ICU_or_not int64\n",
"dtype: object"
]
},
"execution_count": 265,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu.dtypes"
]
},
{
"cell_type": "code",
"execution_count": 266,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"61.41500904159132"
]
},
"execution_count": 266,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu['Age'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 267,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 835\n",
"1 271\n",
"Name: ICU_or_not, dtype: int64"
]
},
"execution_count": 267,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu['ICU_or_not'].value_counts()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Symptoms"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"##### No icu"
]
},
{
"cell_type": "code",
"execution_count": 268,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 256 | \n",
" 22 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 10 | \n",
" 0.7 | \n",
" 256 | \n",
" 85.8 | \n",
" 106 | \n",
" 199 | \n",
" 41.3 | \n",
" 99 | \n",
" 0.11 | \n",
" 17 | \n",
" 105 | \n",
" 37.5 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 257 | \n",
" 22 | \n",
" 1 | \n",
" 1 | \n",
" 7 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 77 | \n",
" 5.9 | \n",
" 160 | \n",
" 946.3 | \n",
" 119 | \n",
" 424 | \n",
" 12.7 | \n",
" 96 | \n",
" 0.10 | \n",
" 20 | \n",
" 133 | \n",
" 37.8 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 258 | \n",
" 22 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 167 | \n",
" 16.8 | \n",
" 217 | \n",
" 2957.0 | \n",
" 156 | \n",
" 499 | \n",
" 13.1 | \n",
" 92 | \n",
" 0.28 | \n",
" 23 | \n",
" 124 | \n",
" 37.4 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 259 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 7.3 | \n",
" 150 | \n",
" 177.0 | \n",
" 110 | \n",
" 287 | \n",
" 22.7 | \n",
" 93 | \n",
" 0.06 | \n",
" 18 | \n",
" 116 | \n",
" 36.9 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 260 | \n",
" 23 | \n",
" 0 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 180 | \n",
" 14.3 | \n",
" 266 | \n",
" 1575.0 | \n",
" 150 | \n",
" 330 | \n",
" 13.4 | \n",
" 95 | \n",
" 0.20 | \n",
" 22 | \n",
" 126 | \n",
" 37.8 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum \\\n",
"256 22 0 2 1 1 1 1 0 0 \n",
"257 22 1 1 7 0 1 0 0 0 \n",
"258 22 1 2 1 1 1 1 0 0 \n",
"259 23 0 2 1 1 1 1 0 0 \n",
"260 23 0 1 7 1 1 1 1 0 \n",
"\n",
" Myalgia Diarrhea Nausea_Vomiting Sore_throat \\\n",
"256 0 0 1 1 \n",
"257 1 0 1 0 \n",
"258 0 1 0 0 \n",
"259 0 0 0 0 \n",
"260 0 0 0 0 \n",
"\n",
" Runny_nose_Nasal_congestion Loss_of_smell Loss_of_taste Headahce \\\n",
"256 0 0 0 0 \n",
"257 1 0 0 0 \n",
"258 0 0 0 0 \n",
"259 0 0 0 0 \n",
"260 0 1 1 0 \n",
"\n",
" Chest_discomfort__chest_pain Asymptomatic smoking_history \\\n",
"256 1 0 0 \n",
"257 0 0 1 \n",
"258 0 0 0 \n",
"259 0 0 0 \n",
"260 0 0 0 \n",
"\n",
" hypertensionhx diabeteshx asthmahx coronaryheartdiseasehx copdhx \\\n",
"256 0 1 0 0 0 \n",
"257 0 0 1 0 0 \n",
"258 0 0 0 0 0 \n",
"259 0 0 1 0 0 \n",
"260 0 0 0 0 0 \n",
"\n",
" heartfailurehx carcinomahx immunosuppressionhx ckdhx ALT CRP \\\n",
"256 0 0 0 0 10 0.7 \n",
"257 0 0 0 0 77 5.9 \n",
"258 0 0 0 0 167 16.8 \n",
"259 0 0 0 0 37 7.3 \n",
"260 0 0 0 0 180 14.3 \n",
"\n",
" D_dimer Ferritin HR LDH Lymphocyte SpO2 Procalcitonin RR \\\n",
"256 256 85.8 106 199 41.3 99 0.11 17 \n",
"257 160 946.3 119 424 12.7 96 0.10 20 \n",
"258 217 2957.0 156 499 13.1 92 0.28 23 \n",
"259 150 177.0 110 287 22.7 93 0.06 18 \n",
"260 266 1575.0 150 330 13.4 95 0.20 22 \n",
"\n",
" Systolic_BP Temperature Troponin ICU_or_not \n",
"256 105 37.5 0.01 0 \n",
"257 133 37.8 0.01 0 \n",
"258 124 37.4 0.01 0 \n",
"259 116 36.9 0.01 0 \n",
"260 126 37.8 0.01 0 "
]
},
"execution_count": 268,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu = data_icu[data_icu['ICU_or_not']==0]\n",
"n_icu.head()"
]
},
{
"cell_type": "code",
"execution_count": 269,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1 0.653892\n",
"0 0.346108\n",
"Name: Fever, dtype: float64"
]
},
"execution_count": 269,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Fever'].value_counts()/len(n_icu['Fever'])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 270,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 28 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 18 | \n",
" 22.0 | \n",
" 389 | \n",
" 932.1 | \n",
" 124 | \n",
" 562 | \n",
" 10.4 | \n",
" 88 | \n",
" 1.81 | \n",
" 17 | \n",
" 123 | \n",
" 39.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 3 | \n",
" 28 | \n",
" 1 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 183 | \n",
" 10.5 | \n",
" 370 | \n",
" 2068.0 | \n",
" 123 | \n",
" 706 | \n",
" 13.4 | \n",
" 94 | \n",
" 0.92 | \n",
" 20 | \n",
" 120 | \n",
" 38.9 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 4 | \n",
" 30 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 218 | \n",
" 6.7 | \n",
" 349 | \n",
" 2141.0 | \n",
" 101 | \n",
" 688 | \n",
" 17.9 | \n",
" 98 | \n",
" 0.37 | \n",
" 15 | \n",
" 130 | \n",
" 37.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 2 1 0 0 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 1 1 \n",
"2 28 1 2 1 1 1 1 0 0 0 \n",
"3 28 1 1 7 1 1 1 0 0 0 \n",
"4 30 1 2 1 1 1 0 1 0 0 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 1 1 1 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce Chest_discomfort__chest_pain \\\n",
"0 0 0 0 0 \n",
"1 0 0 1 1 \n",
"2 0 0 0 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 1 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D_dimer Ferritin HR LDH \\\n",
"0 0 0 31 2.2 857 203.9 117 345 \n",
"1 0 0 37 11.7 183 587.1 132 483 \n",
"2 0 0 18 22.0 389 932.1 124 562 \n",
"3 0 0 183 10.5 370 2068.0 123 706 \n",
"4 0 0 218 6.7 349 2141.0 101 688 \n",
"\n",
" Lymphocyte SpO2 Procalcitonin RR Systolic_BP Temperature Troponin \\\n",
"0 40.6 96 0.28 18 89 37.0 0.01 \n",
"1 6.8 98 0.64 28 107 39.5 0.01 \n",
"2 10.4 88 1.81 17 123 39.1 0.01 \n",
"3 13.4 94 0.92 20 120 38.9 0.01 \n",
"4 17.9 98 0.37 15 130 37.1 0.01 \n",
"\n",
" ICU_or_not \n",
"0 1 \n",
"1 1 \n",
"2 1 \n",
"3 1 \n",
"4 1 "
]
},
"execution_count": 270,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu = data_icu[data_icu['ICU_or_not']==1]\n",
"icu.head()"
]
},
{
"cell_type": "code",
"execution_count": 271,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1 0.704797\n",
"0 0.295203\n",
"Name: Fever, dtype: float64"
]
},
"execution_count": 271,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Fever'].value_counts()/len(icu['Fever'])"
]
},
{
"cell_type": "code",
"execution_count": 272,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1 0.704797\n",
"0 0.295203\n",
"Name: Cough, dtype: float64"
]
},
"execution_count": 272,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Cough'].value_counts()/len(icu['Cough'])"
]
},
{
"cell_type": "code",
"execution_count": 273,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1 0.774908\n",
"0 0.225092\n",
"Name: SOB, dtype: float64"
]
},
"execution_count": 273,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['SOB'].value_counts()/len(icu['SOB'])"
]
},
{
"cell_type": "code",
"execution_count": 274,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 0.793358\n",
"1 0.206642\n",
"Name: Fatigue, dtype: float64"
]
},
"execution_count": 274,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Fatigue'].value_counts()/len(icu['Fatigue'])"
]
},
{
"cell_type": "code",
"execution_count": 275,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 246\n",
"1 25\n",
"Name: Sputum, dtype: int64"
]
},
"execution_count": 275,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Sputum'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 276,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 210\n",
"1 61\n",
"Name: Myalgia, dtype: int64"
]
},
"execution_count": 276,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Myalgia'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 277,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 211\n",
"1 60\n",
"Name: Diarrhea, dtype: int64"
]
},
"execution_count": 277,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Diarrhea'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 278,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 223\n",
"1 48\n",
"Name: Nausea_Vomiting, dtype: int64"
]
},
"execution_count": 278,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Nausea_Vomiting'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 279,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 2 1 0 0 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 1 1 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce Chest_discomfort__chest_pain \\\n",
"0 0 0 0 0 \n",
"1 0 0 1 1 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 1 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D_dimer Ferritin HR LDH \\\n",
"0 0 0 31 2.2 857 203.9 117 345 \n",
"1 0 0 37 11.7 183 587.1 132 483 \n",
"\n",
" Lymphocyte SpO2 Procalcitonin RR Systolic_BP Temperature Troponin \\\n",
"0 40.6 96 0.28 18 89 37.0 0.01 \n",
"1 6.8 98 0.64 28 107 39.5 0.01 \n",
"\n",
" ICU_or_not \n",
"0 1 \n",
"1 1 "
]
},
"execution_count": 279,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu.head(2)"
]
},
{
"cell_type": "code",
"execution_count": 280,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 250\n",
"1 21\n",
"Name: Sore_throat, dtype: int64"
]
},
"execution_count": 280,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Sore_throat'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 281,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 257\n",
"1 14\n",
"Name: Runny_nose_Nasal_congestion, dtype: int64"
]
},
"execution_count": 281,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Runny_nose_Nasal_congestion'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 282,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 260\n",
"1 11\n",
"Name: Loss_of_smell, dtype: int64"
]
},
"execution_count": 282,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Loss_of_smell'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 283,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 259\n",
"1 12\n",
"Name: Loss_of_taste, dtype: int64"
]
},
"execution_count": 283,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Loss_of_taste'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 284,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 243\n",
"1 28\n",
"Name: Headahce, dtype: int64"
]
},
"execution_count": 284,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Headahce'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 285,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 228\n",
"1 43\n",
"Name: Chest_discomfort__chest_pain, dtype: int64"
]
},
"execution_count": 285,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Chest_discomfort__chest_pain'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 286,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 0.98155\n",
"1 0.01845\n",
"Name: Asymptomatic, dtype: float64"
]
},
"execution_count": 286,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Asymptomatic'].value_counts()/len(icu['Asymptomatic'])"
]
},
{
"cell_type": "code",
"execution_count": 287,
"metadata": {},
"outputs": [],
"source": [
"symptoms = data_icu[['Fever','Cough','SOB','Fatigue','Sputum','Myalgia','Diarrhea','Nausea_Vomiting','Sore_throat','Runny_nose_Nasal_congestion',\n",
" 'Loss_of_smell','Loss_of_taste','Headahce','Chest_discomfort__chest_pain','ICU_or_not']]"
]
},
{
"cell_type": "code",
"execution_count": 288,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 3 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 4 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Fever Cough SOB Fatigue Sputum Myalgia Diarrhea Nausea_Vomiting \\\n",
"0 0 0 0 0 0 0 0 0 \n",
"1 1 1 0 1 1 1 0 0 \n",
"2 1 1 1 0 0 0 1 1 \n",
"3 1 1 1 0 0 0 0 0 \n",
"4 1 1 0 1 0 0 0 0 \n",
"\n",
" Sore_throat Runny_nose_Nasal_congestion Loss_of_smell Loss_of_taste \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 1 1 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Headahce Chest_discomfort__chest_pain ICU_or_not \n",
"0 0 0 1 \n",
"1 1 1 1 \n",
"2 0 1 1 \n",
"3 0 0 1 \n",
"4 0 0 1 "
]
},
"execution_count": 288,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"symptoms.head()"
]
},
{
"cell_type": "code",
"execution_count": 289,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" Fever | \n",
" 1.000000 | \n",
" 0.413980 | \n",
" 0.195058 | \n",
" 0.030621 | \n",
" 0.099322 | \n",
" 0.189049 | \n",
" 0.098332 | \n",
" 0.030591 | \n",
" 0.103226 | \n",
" 0.052441 | \n",
" 0.106899 | \n",
" 0.124720 | \n",
" 0.095350 | \n",
" 0.124343 | \n",
" 0.046434 | \n",
"
\n",
" \n",
" Cough | \n",
" 0.413980 | \n",
" 1.000000 | \n",
" 0.366742 | \n",
" 0.077184 | \n",
" 0.168843 | \n",
" 0.205744 | \n",
" 0.108709 | \n",
" 0.053087 | \n",
" 0.065412 | \n",
" 0.064589 | \n",
" 0.111238 | \n",
" 0.127780 | \n",
" 0.105418 | \n",
" 0.143350 | \n",
" 0.028205 | \n",
"
\n",
" \n",
" SOB | \n",
" 0.195058 | \n",
" 0.366742 | \n",
" 1.000000 | \n",
" 0.068597 | \n",
" 0.031109 | \n",
" 0.095934 | \n",
" 0.072574 | \n",
" 0.001719 | \n",
" 0.066448 | \n",
" 0.059708 | \n",
" 0.087283 | \n",
" 0.077821 | \n",
" 0.071626 | \n",
" 0.160544 | \n",
" 0.100605 | \n",
"
\n",
" \n",
" Fatigue | \n",
" 0.030621 | \n",
" 0.077184 | \n",
" 0.068597 | \n",
" 1.000000 | \n",
" 0.004873 | \n",
" 0.108107 | \n",
" 0.083725 | \n",
" 0.054328 | \n",
" -0.014971 | \n",
" 0.034844 | \n",
" 0.049232 | \n",
" 0.044228 | \n",
" 0.029957 | \n",
" -0.028659 | \n",
" -0.034703 | \n",
"
\n",
" \n",
" Sputum | \n",
" 0.099322 | \n",
" 0.168843 | \n",
" 0.031109 | \n",
" 0.004873 | \n",
" 1.000000 | \n",
" 0.007222 | \n",
" 0.054012 | \n",
" -0.036947 | \n",
" 0.048412 | \n",
" 0.045167 | \n",
" 0.053669 | \n",
" 0.055705 | \n",
" 0.045548 | \n",
" 0.098950 | \n",
" 0.055376 | \n",
"
\n",
" \n",
" Myalgia | \n",
" 0.189049 | \n",
" 0.205744 | \n",
" 0.095934 | \n",
" 0.108107 | \n",
" 0.007222 | \n",
" 1.000000 | \n",
" 0.088959 | \n",
" 0.091146 | \n",
" 0.061730 | \n",
" 0.067993 | \n",
" -0.003202 | \n",
" 0.016455 | \n",
" 0.222270 | \n",
" 0.039660 | \n",
" -0.004964 | \n",
"
\n",
" \n",
" Diarrhea | \n",
" 0.098332 | \n",
" 0.108709 | \n",
" 0.072574 | \n",
" 0.083725 | \n",
" 0.054012 | \n",
" 0.088959 | \n",
" 1.000000 | \n",
" 0.220954 | \n",
" 0.081502 | \n",
" 0.043575 | \n",
" 0.166434 | \n",
" 0.220695 | \n",
" 0.020530 | \n",
" 0.073594 | \n",
" -0.018377 | \n",
"
\n",
" \n",
" Nausea_Vomiting | \n",
" 0.030591 | \n",
" 0.053087 | \n",
" 0.001719 | \n",
" 0.054328 | \n",
" -0.036947 | \n",
" 0.091146 | \n",
" 0.220954 | \n",
" 1.000000 | \n",
" 0.066330 | \n",
" 0.031658 | \n",
" 0.056198 | \n",
" 0.032544 | \n",
" 0.102350 | \n",
" 0.052449 | \n",
" -0.034796 | \n",
"
\n",
" \n",
" Sore_throat | \n",
" 0.103226 | \n",
" 0.065412 | \n",
" 0.066448 | \n",
" -0.014971 | \n",
" 0.048412 | \n",
" 0.061730 | \n",
" 0.081502 | \n",
" 0.066330 | \n",
" 1.000000 | \n",
" 0.189398 | \n",
" 0.012373 | \n",
" 0.000728 | \n",
" 0.060622 | \n",
" 0.105409 | \n",
" 0.009302 | \n",
"
\n",
" \n",
" Runny_nose_Nasal_congestion | \n",
" 0.052441 | \n",
" 0.064589 | \n",
" 0.059708 | \n",
" 0.034844 | \n",
" 0.045167 | \n",
" 0.067993 | \n",
" 0.043575 | \n",
" 0.031658 | \n",
" 0.189398 | \n",
" 1.000000 | \n",
" -0.000757 | \n",
" -0.008910 | \n",
" 0.061284 | \n",
" 0.060002 | \n",
" 0.017693 | \n",
"
\n",
" \n",
" Loss_of_smell | \n",
" 0.106899 | \n",
" 0.111238 | \n",
" 0.087283 | \n",
" 0.049232 | \n",
" 0.053669 | \n",
" -0.003202 | \n",
" 0.166434 | \n",
" 0.056198 | \n",
" 0.012373 | \n",
" -0.000757 | \n",
" 1.000000 | \n",
" 0.845281 | \n",
" 0.025490 | \n",
" 0.085564 | \n",
" -0.000279 | \n",
"
\n",
" \n",
" Loss_of_taste | \n",
" 0.124720 | \n",
" 0.127780 | \n",
" 0.077821 | \n",
" 0.044228 | \n",
" 0.055705 | \n",
" 0.016455 | \n",
" 0.220695 | \n",
" 0.032544 | \n",
" 0.000728 | \n",
" -0.008910 | \n",
" 0.845281 | \n",
" 1.000000 | \n",
" 0.011011 | \n",
" 0.084955 | \n",
" -0.012013 | \n",
"
\n",
" \n",
" Headahce | \n",
" 0.095350 | \n",
" 0.105418 | \n",
" 0.071626 | \n",
" 0.029957 | \n",
" 0.045548 | \n",
" 0.222270 | \n",
" 0.020530 | \n",
" 0.102350 | \n",
" 0.060622 | \n",
" 0.061284 | \n",
" 0.025490 | \n",
" 0.011011 | \n",
" 1.000000 | \n",
" 0.100111 | \n",
" 0.012673 | \n",
"
\n",
" \n",
" Chest_discomfort__chest_pain | \n",
" 0.124343 | \n",
" 0.143350 | \n",
" 0.160544 | \n",
" -0.028659 | \n",
" 0.098950 | \n",
" 0.039660 | \n",
" 0.073594 | \n",
" 0.052449 | \n",
" 0.105409 | \n",
" 0.060002 | \n",
" 0.085564 | \n",
" 0.084955 | \n",
" 0.100111 | \n",
" 1.000000 | \n",
" -0.000717 | \n",
"
\n",
" \n",
" ICU_or_not | \n",
" 0.046434 | \n",
" 0.028205 | \n",
" 0.100605 | \n",
" -0.034703 | \n",
" 0.055376 | \n",
" -0.004964 | \n",
" -0.018377 | \n",
" -0.034796 | \n",
" 0.009302 | \n",
" 0.017693 | \n",
" -0.000279 | \n",
" -0.012013 | \n",
" 0.012673 | \n",
" -0.000717 | \n",
" 1.000000 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Fever Cough SOB Fatigue \\\n",
"Fever 1.000000 0.413980 0.195058 0.030621 \n",
"Cough 0.413980 1.000000 0.366742 0.077184 \n",
"SOB 0.195058 0.366742 1.000000 0.068597 \n",
"Fatigue 0.030621 0.077184 0.068597 1.000000 \n",
"Sputum 0.099322 0.168843 0.031109 0.004873 \n",
"Myalgia 0.189049 0.205744 0.095934 0.108107 \n",
"Diarrhea 0.098332 0.108709 0.072574 0.083725 \n",
"Nausea_Vomiting 0.030591 0.053087 0.001719 0.054328 \n",
"Sore_throat 0.103226 0.065412 0.066448 -0.014971 \n",
"Runny_nose_Nasal_congestion 0.052441 0.064589 0.059708 0.034844 \n",
"Loss_of_smell 0.106899 0.111238 0.087283 0.049232 \n",
"Loss_of_taste 0.124720 0.127780 0.077821 0.044228 \n",
"Headahce 0.095350 0.105418 0.071626 0.029957 \n",
"Chest_discomfort__chest_pain 0.124343 0.143350 0.160544 -0.028659 \n",
"ICU_or_not 0.046434 0.028205 0.100605 -0.034703 \n",
"\n",
" Sputum Myalgia Diarrhea Nausea_Vomiting \\\n",
"Fever 0.099322 0.189049 0.098332 0.030591 \n",
"Cough 0.168843 0.205744 0.108709 0.053087 \n",
"SOB 0.031109 0.095934 0.072574 0.001719 \n",
"Fatigue 0.004873 0.108107 0.083725 0.054328 \n",
"Sputum 1.000000 0.007222 0.054012 -0.036947 \n",
"Myalgia 0.007222 1.000000 0.088959 0.091146 \n",
"Diarrhea 0.054012 0.088959 1.000000 0.220954 \n",
"Nausea_Vomiting -0.036947 0.091146 0.220954 1.000000 \n",
"Sore_throat 0.048412 0.061730 0.081502 0.066330 \n",
"Runny_nose_Nasal_congestion 0.045167 0.067993 0.043575 0.031658 \n",
"Loss_of_smell 0.053669 -0.003202 0.166434 0.056198 \n",
"Loss_of_taste 0.055705 0.016455 0.220695 0.032544 \n",
"Headahce 0.045548 0.222270 0.020530 0.102350 \n",
"Chest_discomfort__chest_pain 0.098950 0.039660 0.073594 0.052449 \n",
"ICU_or_not 0.055376 -0.004964 -0.018377 -0.034796 \n",
"\n",
" Sore_throat Runny_nose_Nasal_congestion \\\n",
"Fever 0.103226 0.052441 \n",
"Cough 0.065412 0.064589 \n",
"SOB 0.066448 0.059708 \n",
"Fatigue -0.014971 0.034844 \n",
"Sputum 0.048412 0.045167 \n",
"Myalgia 0.061730 0.067993 \n",
"Diarrhea 0.081502 0.043575 \n",
"Nausea_Vomiting 0.066330 0.031658 \n",
"Sore_throat 1.000000 0.189398 \n",
"Runny_nose_Nasal_congestion 0.189398 1.000000 \n",
"Loss_of_smell 0.012373 -0.000757 \n",
"Loss_of_taste 0.000728 -0.008910 \n",
"Headahce 0.060622 0.061284 \n",
"Chest_discomfort__chest_pain 0.105409 0.060002 \n",
"ICU_or_not 0.009302 0.017693 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce \\\n",
"Fever 0.106899 0.124720 0.095350 \n",
"Cough 0.111238 0.127780 0.105418 \n",
"SOB 0.087283 0.077821 0.071626 \n",
"Fatigue 0.049232 0.044228 0.029957 \n",
"Sputum 0.053669 0.055705 0.045548 \n",
"Myalgia -0.003202 0.016455 0.222270 \n",
"Diarrhea 0.166434 0.220695 0.020530 \n",
"Nausea_Vomiting 0.056198 0.032544 0.102350 \n",
"Sore_throat 0.012373 0.000728 0.060622 \n",
"Runny_nose_Nasal_congestion -0.000757 -0.008910 0.061284 \n",
"Loss_of_smell 1.000000 0.845281 0.025490 \n",
"Loss_of_taste 0.845281 1.000000 0.011011 \n",
"Headahce 0.025490 0.011011 1.000000 \n",
"Chest_discomfort__chest_pain 0.085564 0.084955 0.100111 \n",
"ICU_or_not -0.000279 -0.012013 0.012673 \n",
"\n",
" Chest_discomfort__chest_pain ICU_or_not \n",
"Fever 0.124343 0.046434 \n",
"Cough 0.143350 0.028205 \n",
"SOB 0.160544 0.100605 \n",
"Fatigue -0.028659 -0.034703 \n",
"Sputum 0.098950 0.055376 \n",
"Myalgia 0.039660 -0.004964 \n",
"Diarrhea 0.073594 -0.018377 \n",
"Nausea_Vomiting 0.052449 -0.034796 \n",
"Sore_throat 0.105409 0.009302 \n",
"Runny_nose_Nasal_congestion 0.060002 0.017693 \n",
"Loss_of_smell 0.085564 -0.000279 \n",
"Loss_of_taste 0.084955 -0.012013 \n",
"Headahce 0.100111 0.012673 \n",
"Chest_discomfort__chest_pain 1.000000 -0.000717 \n",
"ICU_or_not -0.000717 1.000000 "
]
},
"execution_count": 289,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"symptoms.corr()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Statistical Analysis\n"
]
},
{
"cell_type": "code",
"execution_count": 290,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 28 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 18 | \n",
" 22.0 | \n",
" 389 | \n",
" 932.1 | \n",
" 124 | \n",
" 562 | \n",
" 10.4 | \n",
" 88 | \n",
" 1.81 | \n",
" 17 | \n",
" 123 | \n",
" 39.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 3 | \n",
" 28 | \n",
" 1 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 183 | \n",
" 10.5 | \n",
" 370 | \n",
" 2068.0 | \n",
" 123 | \n",
" 706 | \n",
" 13.4 | \n",
" 94 | \n",
" 0.92 | \n",
" 20 | \n",
" 120 | \n",
" 38.9 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 4 | \n",
" 30 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 218 | \n",
" 6.7 | \n",
" 349 | \n",
" 2141.0 | \n",
" 101 | \n",
" 688 | \n",
" 17.9 | \n",
" 98 | \n",
" 0.37 | \n",
" 15 | \n",
" 130 | \n",
" 37.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 2 1 0 0 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 1 1 \n",
"2 28 1 2 1 1 1 1 0 0 0 \n",
"3 28 1 1 7 1 1 1 0 0 0 \n",
"4 30 1 2 1 1 1 0 1 0 0 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 1 1 1 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce Chest_discomfort__chest_pain \\\n",
"0 0 0 0 0 \n",
"1 0 0 1 1 \n",
"2 0 0 0 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 1 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D_dimer Ferritin HR LDH \\\n",
"0 0 0 31 2.2 857 203.9 117 345 \n",
"1 0 0 37 11.7 183 587.1 132 483 \n",
"2 0 0 18 22.0 389 932.1 124 562 \n",
"3 0 0 183 10.5 370 2068.0 123 706 \n",
"4 0 0 218 6.7 349 2141.0 101 688 \n",
"\n",
" Lymphocyte SpO2 Procalcitonin RR Systolic_BP Temperature Troponin \\\n",
"0 40.6 96 0.28 18 89 37.0 0.01 \n",
"1 6.8 98 0.64 28 107 39.5 0.01 \n",
"2 10.4 88 1.81 17 123 39.1 0.01 \n",
"3 13.4 94 0.92 20 120 38.9 0.01 \n",
"4 17.9 98 0.37 15 130 37.1 0.01 \n",
"\n",
" ICU_or_not \n",
"0 1 \n",
"1 1 \n",
"2 1 \n",
"3 1 \n",
"4 1 "
]
},
"execution_count": 290,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu.head()"
]
},
{
"cell_type": "code",
"execution_count": 291,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"61.41500904159132"
]
},
"execution_count": 291,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu['Age'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 292,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 28 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 18 | \n",
" 22.0 | \n",
" 389 | \n",
" 932.1 | \n",
" 124 | \n",
" 562 | \n",
" 10.4 | \n",
" 88 | \n",
" 1.81 | \n",
" 17 | \n",
" 123 | \n",
" 39.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 3 | \n",
" 28 | \n",
" 1 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 183 | \n",
" 10.5 | \n",
" 370 | \n",
" 2068.0 | \n",
" 123 | \n",
" 706 | \n",
" 13.4 | \n",
" 94 | \n",
" 0.92 | \n",
" 20 | \n",
" 120 | \n",
" 38.9 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 4 | \n",
" 30 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 218 | \n",
" 6.7 | \n",
" 349 | \n",
" 2141.0 | \n",
" 101 | \n",
" 688 | \n",
" 17.9 | \n",
" 98 | \n",
" 0.37 | \n",
" 15 | \n",
" 130 | \n",
" 37.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 2 1 0 0 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 1 1 \n",
"2 28 1 2 1 1 1 1 0 0 0 \n",
"3 28 1 1 7 1 1 1 0 0 0 \n",
"4 30 1 2 1 1 1 0 1 0 0 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 1 1 1 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce Chest_discomfort__chest_pain \\\n",
"0 0 0 0 0 \n",
"1 0 0 1 1 \n",
"2 0 0 0 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 1 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D_dimer Ferritin HR LDH \\\n",
"0 0 0 31 2.2 857 203.9 117 345 \n",
"1 0 0 37 11.7 183 587.1 132 483 \n",
"2 0 0 18 22.0 389 932.1 124 562 \n",
"3 0 0 183 10.5 370 2068.0 123 706 \n",
"4 0 0 218 6.7 349 2141.0 101 688 \n",
"\n",
" Lymphocyte SpO2 Procalcitonin RR Systolic_BP Temperature Troponin \\\n",
"0 40.6 96 0.28 18 89 37.0 0.01 \n",
"1 6.8 98 0.64 28 107 39.5 0.01 \n",
"2 10.4 88 1.81 17 123 39.1 0.01 \n",
"3 13.4 94 0.92 20 120 38.9 0.01 \n",
"4 17.9 98 0.37 15 130 37.1 0.01 \n",
"\n",
" ICU_or_not \n",
"0 1 \n",
"1 1 \n",
"2 1 \n",
"3 1 \n",
"4 1 "
]
},
"execution_count": 292,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu.head()"
]
},
{
"cell_type": "code",
"execution_count": 293,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 835\n",
"1 271\n",
"Name: ICU_or_not, dtype: int64"
]
},
"execution_count": 293,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu['ICU_or_not'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 294,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"59.420664206642066"
]
},
"execution_count": 294,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu['Age'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 295,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"62.0622754491018"
]
},
"execution_count": 295,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Age'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 296,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1 451\n",
"0 384\n",
"Name: Gender, dtype: int64"
]
},
"execution_count": 296,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Gender'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 297,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"2 507\n",
"1 222\n",
"3 106\n",
"Name: ethnicity, dtype: int64"
]
},
"execution_count": 297,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['ethnicity'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 298,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1 453\n",
"7 287\n",
"2 61\n",
"3 26\n",
"6 5\n",
"4 2\n",
"5 1\n",
"Name: race, dtype: int64"
]
},
"execution_count": 298,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['race'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 299,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1 0.542515\n",
"7 0.343713\n",
"2 0.073054\n",
"3 0.031138\n",
"6 0.005988\n",
"4 0.002395\n",
"5 0.001198\n",
"Name: race, dtype: float64"
]
},
"execution_count": 299,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['race'].value_counts()/len(n_icu['race'])"
]
},
{
"cell_type": "code",
"execution_count": 300,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 621\n",
"1 214\n",
"Name: smoking_history, dtype: int64"
]
},
"execution_count": 300,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['smoking_history'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 301,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 615\n",
"1 220\n",
"Name: diabeteshx, dtype: int64"
]
},
"execution_count": 301,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['diabeteshx'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 302,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 423\n",
"1 412\n",
"Name: hypertensionhx, dtype: int64"
]
},
"execution_count": 302,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['hypertensionhx'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 303,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 792\n",
"1 43\n",
"Name: asthmahx, dtype: int64"
]
},
"execution_count": 303,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['asthmahx'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 304,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 759\n",
"1 76\n",
"Name: copdhx, dtype: int64"
]
},
"execution_count": 304,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['copdhx'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 305,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 709\n",
"1 126\n",
"Name: coronaryheartdiseasehx, dtype: int64"
]
},
"execution_count": 305,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['coronaryheartdiseasehx'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 306,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 0.925749\n",
"1 0.074251\n",
"Name: heartfailurehx, dtype: float64"
]
},
"execution_count": 306,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['heartfailurehx'].value_counts()/len(n_icu['heartfailurehx'])"
]
},
{
"cell_type": "code",
"execution_count": 307,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 28 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 18 | \n",
" 22.0 | \n",
" 389 | \n",
" 932.1 | \n",
" 124 | \n",
" 562 | \n",
" 10.4 | \n",
" 88 | \n",
" 1.81 | \n",
" 17 | \n",
" 123 | \n",
" 39.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 3 | \n",
" 28 | \n",
" 1 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 183 | \n",
" 10.5 | \n",
" 370 | \n",
" 2068.0 | \n",
" 123 | \n",
" 706 | \n",
" 13.4 | \n",
" 94 | \n",
" 0.92 | \n",
" 20 | \n",
" 120 | \n",
" 38.9 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 4 | \n",
" 30 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 218 | \n",
" 6.7 | \n",
" 349 | \n",
" 2141.0 | \n",
" 101 | \n",
" 688 | \n",
" 17.9 | \n",
" 98 | \n",
" 0.37 | \n",
" 15 | \n",
" 130 | \n",
" 37.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 2 1 0 0 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 1 1 \n",
"2 28 1 2 1 1 1 1 0 0 0 \n",
"3 28 1 1 7 1 1 1 0 0 0 \n",
"4 30 1 2 1 1 1 0 1 0 0 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 1 1 1 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce Chest_discomfort__chest_pain \\\n",
"0 0 0 0 0 \n",
"1 0 0 1 1 \n",
"2 0 0 0 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 1 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D_dimer Ferritin HR LDH \\\n",
"0 0 0 31 2.2 857 203.9 117 345 \n",
"1 0 0 37 11.7 183 587.1 132 483 \n",
"2 0 0 18 22.0 389 932.1 124 562 \n",
"3 0 0 183 10.5 370 2068.0 123 706 \n",
"4 0 0 218 6.7 349 2141.0 101 688 \n",
"\n",
" Lymphocyte SpO2 Procalcitonin RR Systolic_BP Temperature Troponin \\\n",
"0 40.6 96 0.28 18 89 37.0 0.01 \n",
"1 6.8 98 0.64 28 107 39.5 0.01 \n",
"2 10.4 88 1.81 17 123 39.1 0.01 \n",
"3 13.4 94 0.92 20 120 38.9 0.01 \n",
"4 17.9 98 0.37 15 130 37.1 0.01 \n",
"\n",
" ICU_or_not \n",
"0 1 \n",
"1 1 \n",
"2 1 \n",
"3 1 \n",
"4 1 "
]
},
"execution_count": 307,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu.head()"
]
},
{
"cell_type": "code",
"execution_count": 308,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 747\n",
"1 88\n",
"Name: carcinomahx, dtype: int64"
]
},
"execution_count": 308,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['carcinomahx'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 309,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 771\n",
"1 64\n",
"Name: immunosuppressionhx, dtype: int64"
]
},
"execution_count": 309,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['immunosuppressionhx'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 310,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 754\n",
"1 81\n",
"Name: ckdhx, dtype: int64"
]
},
"execution_count": 310,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['ckdhx'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 311,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 28 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 18 | \n",
" 22.0 | \n",
" 389 | \n",
" 932.1 | \n",
" 124 | \n",
" 562 | \n",
" 10.4 | \n",
" 88 | \n",
" 1.81 | \n",
" 17 | \n",
" 123 | \n",
" 39.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 3 | \n",
" 28 | \n",
" 1 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 183 | \n",
" 10.5 | \n",
" 370 | \n",
" 2068.0 | \n",
" 123 | \n",
" 706 | \n",
" 13.4 | \n",
" 94 | \n",
" 0.92 | \n",
" 20 | \n",
" 120 | \n",
" 38.9 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 4 | \n",
" 30 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 218 | \n",
" 6.7 | \n",
" 349 | \n",
" 2141.0 | \n",
" 101 | \n",
" 688 | \n",
" 17.9 | \n",
" 98 | \n",
" 0.37 | \n",
" 15 | \n",
" 130 | \n",
" 37.1 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 2 1 0 0 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 1 1 \n",
"2 28 1 2 1 1 1 1 0 0 0 \n",
"3 28 1 1 7 1 1 1 0 0 0 \n",
"4 30 1 2 1 1 1 0 1 0 0 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 1 1 1 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce Chest_discomfort__chest_pain \\\n",
"0 0 0 0 0 \n",
"1 0 0 1 1 \n",
"2 0 0 0 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 1 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D_dimer Ferritin HR LDH \\\n",
"0 0 0 31 2.2 857 203.9 117 345 \n",
"1 0 0 37 11.7 183 587.1 132 483 \n",
"2 0 0 18 22.0 389 932.1 124 562 \n",
"3 0 0 183 10.5 370 2068.0 123 706 \n",
"4 0 0 218 6.7 349 2141.0 101 688 \n",
"\n",
" Lymphocyte SpO2 Procalcitonin RR Systolic_BP Temperature Troponin \\\n",
"0 40.6 96 0.28 18 89 37.0 0.01 \n",
"1 6.8 98 0.64 28 107 39.5 0.01 \n",
"2 10.4 88 1.81 17 123 39.1 0.01 \n",
"3 13.4 94 0.92 20 120 38.9 0.01 \n",
"4 17.9 98 0.37 15 130 37.1 0.01 \n",
"\n",
" ICU_or_not \n",
"0 1 \n",
"1 1 \n",
"2 1 \n",
"3 1 \n",
"4 1 "
]
},
"execution_count": 311,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu.head()"
]
},
{
"cell_type": "code",
"execution_count": 312,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"128.99760479041916"
]
},
"execution_count": 312,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Systolic_BP'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 313,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"37.468862275449105"
]
},
"execution_count": 313,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Temperature'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 314,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"21.767664670658682"
]
},
"execution_count": 314,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['RR'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 315,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"47.02754491017964"
]
},
"execution_count": 315,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['ALT'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 316,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"9.486790419161675"
]
},
"execution_count": 316,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['CRP'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 317,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea_Vomiting | \n",
" Sore_throat | \n",
" Runny_nose_Nasal_congestion | \n",
" Loss_of_smell | \n",
" Loss_of_taste | \n",
" Headahce | \n",
" Chest_discomfort__chest_pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D_dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocyte | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic_BP | \n",
" Temperature | \n",
" Troponin | \n",
" ICU_or_not | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 31 | \n",
" 2.2 | \n",
" 857 | \n",
" 203.9 | \n",
" 117 | \n",
" 345 | \n",
" 40.6 | \n",
" 96 | \n",
" 0.28 | \n",
" 18 | \n",
" 89 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
" 1 | \n",
" 25 | \n",
" 1 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 37 | \n",
" 11.7 | \n",
" 183 | \n",
" 587.1 | \n",
" 132 | \n",
" 483 | \n",
" 6.8 | \n",
" 98 | \n",
" 0.64 | \n",
" 28 | \n",
" 107 | \n",
" 39.5 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 2 1 0 0 0 0 0 0 \n",
"1 25 1 3 7 1 1 0 1 1 1 \n",
"\n",
" Diarrhea Nausea_Vomiting Sore_throat Runny_nose_Nasal_congestion \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"\n",
" Loss_of_smell Loss_of_taste Headahce Chest_discomfort__chest_pain \\\n",
"0 0 0 0 0 \n",
"1 0 0 1 1 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 1 0 0 0 0 \n",
"1 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D_dimer Ferritin HR LDH \\\n",
"0 0 0 31 2.2 857 203.9 117 345 \n",
"1 0 0 37 11.7 183 587.1 132 483 \n",
"\n",
" Lymphocyte SpO2 Procalcitonin RR Systolic_BP Temperature Troponin \\\n",
"0 40.6 96 0.28 18 89 37.0 0.01 \n",
"1 6.8 98 0.64 28 107 39.5 0.01 \n",
"\n",
" ICU_or_not \n",
"0 1 \n",
"1 1 "
]
},
"execution_count": 317,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"icu.head(2)"
]
},
{
"cell_type": "code",
"execution_count": 318,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1210.5149700598802"
]
},
"execution_count": 318,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['D_dimer'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 319,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1005.425748502994"
]
},
"execution_count": 319,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Ferritin'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 320,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"377.8526946107784"
]
},
"execution_count": 320,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['LDH'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 321,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"14.854371257485031"
]
},
"execution_count": 321,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Lymphocyte'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 322,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.9722155688622754"
]
},
"execution_count": 322,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Procalcitonin'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 323,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.029892215568862276"
]
},
"execution_count": 323,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['Troponin'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 324,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"98.20239520958084"
]
},
"execution_count": 324,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_icu['HR'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 325,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.or.vomiting | \n",
" Sore.throat | \n",
" Runny.nose.nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..Chest.pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D.dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocytes | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic.BP | \n",
" Temperature | \n",
" Troponin | \n",
" death | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 23 | \n",
" 1.7 | \n",
" 415 | \n",
" 29.1 | \n",
" 109 | \n",
" 130 | \n",
" 30.7 | \n",
" 97 | \n",
" 0.06 | \n",
" 20 | \n",
" 102 | \n",
" 37.2 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 1 | \n",
" 50 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 21 | \n",
" 5.6 | \n",
" 150 | \n",
" 153.2 | \n",
" 108 | \n",
" 130 | \n",
" 9.2 | \n",
" 94 | \n",
" 0.08 | \n",
" 16 | \n",
" 127 | \n",
" 37.3 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 2 | \n",
" 29 | \n",
" 0 | \n",
" 1 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 10 | \n",
" 1.2 | \n",
" 625 | \n",
" 42.4 | \n",
" 88 | \n",
" 133 | \n",
" 15.1 | \n",
" 97 | \n",
" 0.07 | \n",
" 19 | \n",
" 103 | \n",
" 36.9 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 3 | \n",
" 57 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 34 | \n",
" 12.2 | \n",
" 206 | \n",
" 373.9 | \n",
" 67 | \n",
" 133 | \n",
" 15.4 | \n",
" 98 | \n",
" 0.05 | \n",
" 18 | \n",
" 153 | \n",
" 37.4 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 4 | \n",
" 26 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 51 | \n",
" 14.3 | \n",
" 273 | \n",
" 107.7 | \n",
" 100 | \n",
" 147 | \n",
" 18.3 | \n",
" 96 | \n",
" 0.43 | \n",
" 14 | \n",
" 120 | \n",
" 37.0 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 3 7 1 1 1 0 1 0 \n",
"1 50 0 1 1 0 1 0 0 0 1 \n",
"2 29 0 1 7 1 1 1 0 0 1 \n",
"3 57 1 2 1 1 1 1 0 0 0 \n",
"4 26 0 2 1 1 0 0 0 0 0 \n",
"\n",
" Diarrhea Nausea.or.vomiting Sore.throat Runny.nose.nasal.congestion \\\n",
"0 1 1 0 0 \n",
"1 1 1 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Loss.of.smell Loss.of.taste Headahce Chest.discomfort..Chest.pain \\\n",
"0 0 1 0 1 \n",
"1 0 0 0 0 \n",
"2 0 0 0 1 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 0 0 0 0 0 \n",
"1 0 0 1 1 0 \n",
"2 0 0 0 0 0 \n",
"3 0 0 0 0 0 \n",
"4 0 0 0 0 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"3 0 0 0 0 \n",
"4 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D.dimer Ferritin HR LDH \\\n",
"0 0 0 23 1.7 415 29.1 109 130 \n",
"1 0 0 21 5.6 150 153.2 108 130 \n",
"2 0 0 10 1.2 625 42.4 88 133 \n",
"3 0 0 34 12.2 206 373.9 67 133 \n",
"4 0 0 51 14.3 273 107.7 100 147 \n",
"\n",
" Lymphocytes SpO2 Procalcitonin RR Systolic.BP Temperature Troponin \\\n",
"0 30.7 97 0.06 20 102 37.2 0.01 \n",
"1 9.2 94 0.08 16 127 37.3 0.01 \n",
"2 15.1 97 0.07 19 103 36.9 0.01 \n",
"3 15.4 98 0.05 18 153 37.4 0.01 \n",
"4 18.3 96 0.43 14 120 37.0 0.01 \n",
"\n",
" death \n",
"0 0 \n",
"1 0 \n",
"2 0 \n",
"3 0 \n",
"4 0 "
]
},
"execution_count": 325,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_death.head()"
]
},
{
"cell_type": "code",
"execution_count": 326,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 878\n",
"1 142\n",
"Name: death, dtype: int64"
]
},
"execution_count": 326,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_death['death'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 327,
"metadata": {},
"outputs": [],
"source": [
"symptoms_death = data_death[['Fever','Cough','SOB','Fatigue','Sputum','Myalgia','Diarrhea','Nausea.or.vomiting','Sore.throat','Runny.nose.nasal.congestion',\n",
" 'Loss.of.smell','Loss.of.taste','Headahce','Chest.discomfort..Chest.pain','death']]"
]
},
{
"cell_type": "code",
"execution_count": 328,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.or.vomiting | \n",
" Sore.throat | \n",
" Runny.nose.nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..Chest.pain | \n",
" death | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
"
\n",
" \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Fever Cough SOB Fatigue Sputum Myalgia Diarrhea Nausea.or.vomiting \\\n",
"0 1 1 1 0 1 0 1 1 \n",
"1 0 1 0 0 0 1 1 1 \n",
"2 1 1 1 0 0 1 0 0 \n",
"\n",
" Sore.throat Runny.nose.nasal.congestion Loss.of.smell Loss.of.taste \\\n",
"0 0 0 0 1 \n",
"1 0 0 0 0 \n",
"2 0 0 0 0 \n",
"\n",
" Headahce Chest.discomfort..Chest.pain death \n",
"0 0 1 0 \n",
"1 0 0 0 \n",
"2 0 1 0 "
]
},
"execution_count": 328,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"symptoms_death.head(3)"
]
},
{
"cell_type": "code",
"execution_count": 329,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.or.vomiting | \n",
" Sore.throat | \n",
" Runny.nose.nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..Chest.pain | \n",
" death | \n",
"
\n",
" \n",
" \n",
" \n",
" Fever | \n",
" 1.000000 | \n",
" 0.403182 | \n",
" 0.181600 | \n",
" 0.022524 | \n",
" 0.097754 | \n",
" 0.190326 | \n",
" 0.089717 | \n",
" 0.021928 | \n",
" 0.104096 | \n",
" 0.061166 | \n",
" 0.111053 | \n",
" 0.122393 | \n",
" 0.093195 | \n",
" 0.113001 | \n",
" -0.081211 | \n",
"
\n",
" \n",
" Cough | \n",
" 0.403182 | \n",
" 1.000000 | \n",
" 0.378286 | \n",
" 0.088942 | \n",
" 0.163761 | \n",
" 0.199332 | \n",
" 0.106826 | \n",
" 0.053430 | \n",
" 0.069048 | \n",
" 0.062944 | \n",
" 0.114827 | \n",
" 0.124148 | \n",
" 0.094921 | \n",
" 0.159424 | \n",
" -0.149239 | \n",
"
\n",
" \n",
" SOB | \n",
" 0.181600 | \n",
" 0.378286 | \n",
" 1.000000 | \n",
" 0.058247 | \n",
" 0.030392 | \n",
" 0.108256 | \n",
" 0.071214 | \n",
" -0.000810 | \n",
" 0.071190 | \n",
" 0.054289 | \n",
" 0.083599 | \n",
" 0.076879 | \n",
" 0.068471 | \n",
" 0.156763 | \n",
" 0.031060 | \n",
"
\n",
" \n",
" Fatigue | \n",
" 0.022524 | \n",
" 0.088942 | \n",
" 0.058247 | \n",
" 1.000000 | \n",
" 0.021779 | \n",
" 0.126386 | \n",
" 0.084882 | \n",
" 0.050871 | \n",
" -0.011413 | \n",
" 0.041182 | \n",
" 0.057386 | \n",
" 0.048314 | \n",
" 0.038930 | \n",
" -0.045296 | \n",
" -0.092248 | \n",
"
\n",
" \n",
" Sputum | \n",
" 0.097754 | \n",
" 0.163761 | \n",
" 0.030392 | \n",
" 0.021779 | \n",
" 1.000000 | \n",
" 0.003111 | \n",
" 0.029780 | \n",
" -0.043475 | \n",
" 0.060234 | \n",
" 0.019139 | \n",
" 0.026997 | \n",
" 0.030339 | \n",
" 0.034997 | \n",
" 0.110674 | \n",
" 0.006055 | \n",
"
\n",
" \n",
" Myalgia | \n",
" 0.190326 | \n",
" 0.199332 | \n",
" 0.108256 | \n",
" 0.126386 | \n",
" 0.003111 | \n",
" 1.000000 | \n",
" 0.073856 | \n",
" 0.091843 | \n",
" 0.059950 | \n",
" 0.063858 | \n",
" -0.002587 | \n",
" 0.015964 | \n",
" 0.198404 | \n",
" 0.050492 | \n",
" -0.119151 | \n",
"
\n",
" \n",
" Diarrhea | \n",
" 0.089717 | \n",
" 0.106826 | \n",
" 0.071214 | \n",
" 0.084882 | \n",
" 0.029780 | \n",
" 0.073856 | \n",
" 1.000000 | \n",
" 0.241004 | \n",
" 0.094041 | \n",
" 0.028759 | \n",
" 0.163911 | \n",
" 0.219143 | \n",
" -0.002432 | \n",
" 0.073801 | \n",
" -0.040196 | \n",
"
\n",
" \n",
" Nausea.or.vomiting | \n",
" 0.021928 | \n",
" 0.053430 | \n",
" -0.000810 | \n",
" 0.050871 | \n",
" -0.043475 | \n",
" 0.091843 | \n",
" 0.241004 | \n",
" 1.000000 | \n",
" 0.058742 | \n",
" 0.025592 | \n",
" 0.052284 | \n",
" 0.035925 | \n",
" 0.085104 | \n",
" 0.035649 | \n",
" -0.128031 | \n",
"
\n",
" \n",
" Sore.throat | \n",
" 0.104096 | \n",
" 0.069048 | \n",
" 0.071190 | \n",
" -0.011413 | \n",
" 0.060234 | \n",
" 0.059950 | \n",
" 0.094041 | \n",
" 0.058742 | \n",
" 1.000000 | \n",
" 0.195556 | \n",
" 0.020490 | \n",
" 0.005629 | \n",
" 0.063564 | \n",
" 0.114994 | \n",
" -0.037340 | \n",
"
\n",
" \n",
" Runny.nose.nasal.congestion | \n",
" 0.061166 | \n",
" 0.062944 | \n",
" 0.054289 | \n",
" 0.041182 | \n",
" 0.019139 | \n",
" 0.063858 | \n",
" 0.028759 | \n",
" 0.025592 | \n",
" 0.195556 | \n",
" 1.000000 | \n",
" -0.018808 | \n",
" -0.026664 | \n",
" 0.045203 | \n",
" 0.051029 | \n",
" -0.031233 | \n",
"
\n",
" \n",
" Loss.of.smell | \n",
" 0.111053 | \n",
" 0.114827 | \n",
" 0.083599 | \n",
" 0.057386 | \n",
" 0.026997 | \n",
" -0.002587 | \n",
" 0.163911 | \n",
" 0.052284 | \n",
" 0.020490 | \n",
" -0.018808 | \n",
" 1.000000 | \n",
" 0.843066 | \n",
" 0.004070 | \n",
" 0.092626 | \n",
" -0.052068 | \n",
"
\n",
" \n",
" Loss.of.taste | \n",
" 0.122393 | \n",
" 0.124148 | \n",
" 0.076879 | \n",
" 0.048314 | \n",
" 0.030339 | \n",
" 0.015964 | \n",
" 0.219143 | \n",
" 0.035925 | \n",
" 0.005629 | \n",
" -0.026664 | \n",
" 0.843066 | \n",
" 1.000000 | \n",
" 0.004574 | \n",
" 0.088523 | \n",
" -0.065071 | \n",
"
\n",
" \n",
" Headahce | \n",
" 0.093195 | \n",
" 0.094921 | \n",
" 0.068471 | \n",
" 0.038930 | \n",
" 0.034997 | \n",
" 0.198404 | \n",
" -0.002432 | \n",
" 0.085104 | \n",
" 0.063564 | \n",
" 0.045203 | \n",
" 0.004070 | \n",
" 0.004574 | \n",
" 1.000000 | \n",
" 0.090683 | \n",
" -0.061733 | \n",
"
\n",
" \n",
" Chest.discomfort..Chest.pain | \n",
" 0.113001 | \n",
" 0.159424 | \n",
" 0.156763 | \n",
" -0.045296 | \n",
" 0.110674 | \n",
" 0.050492 | \n",
" 0.073801 | \n",
" 0.035649 | \n",
" 0.114994 | \n",
" 0.051029 | \n",
" 0.092626 | \n",
" 0.088523 | \n",
" 0.090683 | \n",
" 1.000000 | \n",
" -0.096428 | \n",
"
\n",
" \n",
" death | \n",
" -0.081211 | \n",
" -0.149239 | \n",
" 0.031060 | \n",
" -0.092248 | \n",
" 0.006055 | \n",
" -0.119151 | \n",
" -0.040196 | \n",
" -0.128031 | \n",
" -0.037340 | \n",
" -0.031233 | \n",
" -0.052068 | \n",
" -0.065071 | \n",
" -0.061733 | \n",
" -0.096428 | \n",
" 1.000000 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Fever Cough SOB Fatigue \\\n",
"Fever 1.000000 0.403182 0.181600 0.022524 \n",
"Cough 0.403182 1.000000 0.378286 0.088942 \n",
"SOB 0.181600 0.378286 1.000000 0.058247 \n",
"Fatigue 0.022524 0.088942 0.058247 1.000000 \n",
"Sputum 0.097754 0.163761 0.030392 0.021779 \n",
"Myalgia 0.190326 0.199332 0.108256 0.126386 \n",
"Diarrhea 0.089717 0.106826 0.071214 0.084882 \n",
"Nausea.or.vomiting 0.021928 0.053430 -0.000810 0.050871 \n",
"Sore.throat 0.104096 0.069048 0.071190 -0.011413 \n",
"Runny.nose.nasal.congestion 0.061166 0.062944 0.054289 0.041182 \n",
"Loss.of.smell 0.111053 0.114827 0.083599 0.057386 \n",
"Loss.of.taste 0.122393 0.124148 0.076879 0.048314 \n",
"Headahce 0.093195 0.094921 0.068471 0.038930 \n",
"Chest.discomfort..Chest.pain 0.113001 0.159424 0.156763 -0.045296 \n",
"death -0.081211 -0.149239 0.031060 -0.092248 \n",
"\n",
" Sputum Myalgia Diarrhea \\\n",
"Fever 0.097754 0.190326 0.089717 \n",
"Cough 0.163761 0.199332 0.106826 \n",
"SOB 0.030392 0.108256 0.071214 \n",
"Fatigue 0.021779 0.126386 0.084882 \n",
"Sputum 1.000000 0.003111 0.029780 \n",
"Myalgia 0.003111 1.000000 0.073856 \n",
"Diarrhea 0.029780 0.073856 1.000000 \n",
"Nausea.or.vomiting -0.043475 0.091843 0.241004 \n",
"Sore.throat 0.060234 0.059950 0.094041 \n",
"Runny.nose.nasal.congestion 0.019139 0.063858 0.028759 \n",
"Loss.of.smell 0.026997 -0.002587 0.163911 \n",
"Loss.of.taste 0.030339 0.015964 0.219143 \n",
"Headahce 0.034997 0.198404 -0.002432 \n",
"Chest.discomfort..Chest.pain 0.110674 0.050492 0.073801 \n",
"death 0.006055 -0.119151 -0.040196 \n",
"\n",
" Nausea.or.vomiting Sore.throat \\\n",
"Fever 0.021928 0.104096 \n",
"Cough 0.053430 0.069048 \n",
"SOB -0.000810 0.071190 \n",
"Fatigue 0.050871 -0.011413 \n",
"Sputum -0.043475 0.060234 \n",
"Myalgia 0.091843 0.059950 \n",
"Diarrhea 0.241004 0.094041 \n",
"Nausea.or.vomiting 1.000000 0.058742 \n",
"Sore.throat 0.058742 1.000000 \n",
"Runny.nose.nasal.congestion 0.025592 0.195556 \n",
"Loss.of.smell 0.052284 0.020490 \n",
"Loss.of.taste 0.035925 0.005629 \n",
"Headahce 0.085104 0.063564 \n",
"Chest.discomfort..Chest.pain 0.035649 0.114994 \n",
"death -0.128031 -0.037340 \n",
"\n",
" Runny.nose.nasal.congestion Loss.of.smell \\\n",
"Fever 0.061166 0.111053 \n",
"Cough 0.062944 0.114827 \n",
"SOB 0.054289 0.083599 \n",
"Fatigue 0.041182 0.057386 \n",
"Sputum 0.019139 0.026997 \n",
"Myalgia 0.063858 -0.002587 \n",
"Diarrhea 0.028759 0.163911 \n",
"Nausea.or.vomiting 0.025592 0.052284 \n",
"Sore.throat 0.195556 0.020490 \n",
"Runny.nose.nasal.congestion 1.000000 -0.018808 \n",
"Loss.of.smell -0.018808 1.000000 \n",
"Loss.of.taste -0.026664 0.843066 \n",
"Headahce 0.045203 0.004070 \n",
"Chest.discomfort..Chest.pain 0.051029 0.092626 \n",
"death -0.031233 -0.052068 \n",
"\n",
" Loss.of.taste Headahce \\\n",
"Fever 0.122393 0.093195 \n",
"Cough 0.124148 0.094921 \n",
"SOB 0.076879 0.068471 \n",
"Fatigue 0.048314 0.038930 \n",
"Sputum 0.030339 0.034997 \n",
"Myalgia 0.015964 0.198404 \n",
"Diarrhea 0.219143 -0.002432 \n",
"Nausea.or.vomiting 0.035925 0.085104 \n",
"Sore.throat 0.005629 0.063564 \n",
"Runny.nose.nasal.congestion -0.026664 0.045203 \n",
"Loss.of.smell 0.843066 0.004070 \n",
"Loss.of.taste 1.000000 0.004574 \n",
"Headahce 0.004574 1.000000 \n",
"Chest.discomfort..Chest.pain 0.088523 0.090683 \n",
"death -0.065071 -0.061733 \n",
"\n",
" Chest.discomfort..Chest.pain death \n",
"Fever 0.113001 -0.081211 \n",
"Cough 0.159424 -0.149239 \n",
"SOB 0.156763 0.031060 \n",
"Fatigue -0.045296 -0.092248 \n",
"Sputum 0.110674 0.006055 \n",
"Myalgia 0.050492 -0.119151 \n",
"Diarrhea 0.073801 -0.040196 \n",
"Nausea.or.vomiting 0.035649 -0.128031 \n",
"Sore.throat 0.114994 -0.037340 \n",
"Runny.nose.nasal.congestion 0.051029 -0.031233 \n",
"Loss.of.smell 0.092626 -0.052068 \n",
"Loss.of.taste 0.088523 -0.065071 \n",
"Headahce 0.090683 -0.061733 \n",
"Chest.discomfort..Chest.pain 1.000000 -0.096428 \n",
"death -0.096428 1.000000 "
]
},
"execution_count": 329,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"symptoms_death.corr()"
]
},
{
"cell_type": "code",
"execution_count": 330,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1020"
]
},
"execution_count": 330,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(data_death)"
]
},
{
"cell_type": "code",
"execution_count": 331,
"metadata": {},
"outputs": [],
"source": [
"import seaborn as sns"
]
},
{
"cell_type": "code",
"execution_count": 332,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
""
]
},
"execution_count": 332,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAeQAAAGDCAYAAAD6X2MbAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+j8jraAAAgAElEQVR4nOydebxVVdnHvz8mEUH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G8Kw4tDXSGEMNQjwMjSQfSoBZJeRz5ZLemdwF/KhtQfYoYcQghDPQ/MkXQ9sHiWvAKnzax3JHAZsLGkXwFrE6kzuyL2kEMIoYGkg5u1256xrGPpRXnfeCIg4KF8Fzl0KAbkEEIIlUjagaF5vs8uFlCfiCXrEEJoIOlRmmSfsj2hQDg9RdI5wMbAHOpOoAMxIHcoBuQQQhhqct3Xo4D9gLUKxdJrJgObO5ZXuy5OWYcQQgPbf6x7PGH7+8AupePqEfcD65QOoh/FDDmEEBpI2qbu6QjSrHBsoXB6gqTLSUvTY4EHJN3O4BPoK3zSlE7FgBxCCEOdWPf1QlIxhf3KhNIzLgPeCNzS0L4z8MSyD6f/xIAcQggNbE+pf56v+RwAzCsTUU/4e+ALtu+tb5S0ADiGyGXdsdhDDiGETNI4SUdL+jdJuyn5FPBbYP/S8RW2YeNgDGD7TtIVqNChmCGHEMKAc4BngV8DhwKfA1YB9rQ9p2RgPWDUEl4bvcyi6GMxIIcQwoAJtapFks4AngHWtz2/bFg94Q5Jh9o+vb5R0iGPEUFLAAAAe0lEQVTA7EIx9ZUYkEMIYcDiFJC2F0l6NAbjxY4ALpE0jYEBeDJpBWGvYlH1kUidGUIIWS4juKD2lLQU+3z+2rbHlYqtV0iaAmyZn861fUPJePpJDMghhBBCD4hT1iGEEEIPiAE5hBBC6AExIIcQQgg9IAbkEEIIoQf8L/uxaC/PgQCQAAAAAElFTkSuQmCC\n",
"text/plain": [
""
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"sns.heatmap(symptoms_death.corr(),)"
]
},
{
"cell_type": "code",
"execution_count": 333,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.or.vomiting | \n",
" Sore.throat | \n",
" Runny.nose.nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..Chest.pain | \n",
" death | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
"
\n",
" \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Fever Cough SOB Fatigue Sputum Myalgia Diarrhea Nausea.or.vomiting \\\n",
"0 1 1 1 0 1 0 1 1 \n",
"1 0 1 0 0 0 1 1 1 \n",
"\n",
" Sore.throat Runny.nose.nasal.congestion Loss.of.smell Loss.of.taste \\\n",
"0 0 0 0 1 \n",
"1 0 0 0 0 \n",
"\n",
" Headahce Chest.discomfort..Chest.pain death \n",
"0 0 1 0 \n",
"1 0 0 0 "
]
},
"execution_count": 333,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"symptoms_death.head(2)"
]
},
{
"cell_type": "code",
"execution_count": 334,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.or.vomiting | \n",
" Sore.throat | \n",
" Runny.nose.nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..Chest.pain | \n",
" death | \n",
"
\n",
" \n",
" \n",
" \n",
" 521 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 522 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Fever Cough SOB Fatigue Sputum Myalgia Diarrhea \\\n",
"521 1 0 0 0 0 0 0 \n",
"522 1 0 0 0 0 0 0 \n",
"\n",
" Nausea.or.vomiting Sore.throat Runny.nose.nasal.congestion \\\n",
"521 0 0 0 \n",
"522 0 1 0 \n",
"\n",
" Loss.of.smell Loss.of.taste Headahce Chest.discomfort..Chest.pain \\\n",
"521 0 0 0 0 \n",
"522 0 0 0 0 \n",
"\n",
" death \n",
"521 1 \n",
"522 1 "
]
},
"execution_count": 334,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"death = symptoms_death[symptoms_death['death']==1]\n",
"death.head(2)"
]
},
{
"cell_type": "code",
"execution_count": 335,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"142"
]
},
"execution_count": 335,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(death)"
]
},
{
"cell_type": "code",
"execution_count": 336,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 0.929577\n",
"1 0.070423\n",
"Name: Chest.discomfort..Chest.pain, dtype: float64"
]
},
"execution_count": 336,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"death['Chest.discomfort..Chest.pain'].value_counts()/len(death['Chest.discomfort..Chest.pain'])"
]
},
{
"cell_type": "code",
"execution_count": 337,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 132\n",
"1 10\n",
"Name: Chest.discomfort..Chest.pain, dtype: int64"
]
},
"execution_count": 337,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"death['Chest.discomfort..Chest.pain'].value_counts()"
]
},
{
"cell_type": "code",
"execution_count": 339,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.or.vomiting | \n",
" Sore.throat | \n",
" Runny.nose.nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..Chest.pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D.dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocytes | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic.BP | \n",
" Temperature | \n",
" Troponin | \n",
" death | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 23 | \n",
" 0 | \n",
" 3 | \n",
" 7 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 23 | \n",
" 1.7 | \n",
" 415 | \n",
" 29.1 | \n",
" 109 | \n",
" 130 | \n",
" 30.7 | \n",
" 97 | \n",
" 0.06 | \n",
" 20 | \n",
" 102 | \n",
" 37.2 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
" 1 | \n",
" 50 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 21 | \n",
" 5.6 | \n",
" 150 | \n",
" 153.2 | \n",
" 108 | \n",
" 130 | \n",
" 9.2 | \n",
" 94 | \n",
" 0.08 | \n",
" 16 | \n",
" 127 | \n",
" 37.3 | \n",
" 0.01 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum Myalgia \\\n",
"0 23 0 3 7 1 1 1 0 1 0 \n",
"1 50 0 1 1 0 1 0 0 0 1 \n",
"\n",
" Diarrhea Nausea.or.vomiting Sore.throat Runny.nose.nasal.congestion \\\n",
"0 1 1 0 0 \n",
"1 1 1 0 0 \n",
"\n",
" Loss.of.smell Loss.of.taste Headahce Chest.discomfort..Chest.pain \\\n",
"0 0 1 0 1 \n",
"1 0 0 0 0 \n",
"\n",
" Asymptomatic smoking_history hypertensionhx diabeteshx asthmahx \\\n",
"0 0 0 0 0 0 \n",
"1 0 0 1 1 0 \n",
"\n",
" coronaryheartdiseasehx copdhx heartfailurehx carcinomahx \\\n",
"0 0 0 0 0 \n",
"1 0 0 0 0 \n",
"\n",
" immunosuppressionhx ckdhx ALT CRP D.dimer Ferritin HR LDH \\\n",
"0 0 0 23 1.7 415 29.1 109 130 \n",
"1 0 0 21 5.6 150 153.2 108 130 \n",
"\n",
" Lymphocytes SpO2 Procalcitonin RR Systolic.BP Temperature Troponin \\\n",
"0 30.7 97 0.06 20 102 37.2 0.01 \n",
"1 9.2 94 0.08 16 127 37.3 0.01 \n",
"\n",
" death \n",
"0 0 \n",
"1 0 "
]
},
"execution_count": 339,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_death.head(2)"
]
},
{
"cell_type": "code",
"execution_count": 350,
"metadata": {},
"outputs": [],
"source": [
"death=data_death[data_death['death']==1]\n",
"n_death=data_death[data_death['death']==0]"
]
},
{
"cell_type": "code",
"execution_count": 428,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Age | \n",
" Gender | \n",
" ethnicity | \n",
" race | \n",
" Fever | \n",
" Cough | \n",
" SOB | \n",
" Fatigue | \n",
" Sputum | \n",
" Myalgia | \n",
" Diarrhea | \n",
" Nausea.or.vomiting | \n",
" Sore.throat | \n",
" Runny.nose.nasal.congestion | \n",
" Loss.of.smell | \n",
" Loss.of.taste | \n",
" Headahce | \n",
" Chest.discomfort..Chest.pain | \n",
" Asymptomatic | \n",
" smoking_history | \n",
" hypertensionhx | \n",
" diabeteshx | \n",
" asthmahx | \n",
" coronaryheartdiseasehx | \n",
" copdhx | \n",
" heartfailurehx | \n",
" carcinomahx | \n",
" immunosuppressionhx | \n",
" ckdhx | \n",
" ALT | \n",
" CRP | \n",
" D.dimer | \n",
" Ferritin | \n",
" HR | \n",
" LDH | \n",
" Lymphocytes | \n",
" SpO2 | \n",
" Procalcitonin | \n",
" RR | \n",
" Systolic.BP | \n",
" Temperature | \n",
" Troponin | \n",
" death | \n",
"
\n",
" \n",
" \n",
" \n",
" 521 | \n",
" 72 | \n",
" 1 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 15 | \n",
" 1.8 | \n",
" 199 | \n",
" 1467.0 | \n",
" 70 | \n",
" 212 | \n",
" 16.5 | \n",
" 98 | \n",
" 0.28 | \n",
" 16 | \n",
" 132 | \n",
" 38.1 | \n",
" 0.17 | \n",
" 1 | \n",
"
\n",
" \n",
" 522 | \n",
" 90 | \n",
" 0 | \n",
" 2 | \n",
" 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 10 | \n",
" 19.3 | \n",
" 1480 | \n",
" 131.7 | \n",
" 87 | \n",
" 212 | \n",
" 1.7 | \n",
" 96 | \n",
" 10.67 | \n",
" 17 | \n",
" 118 | \n",
" 36.7 | \n",
" 0.01 | \n",
" 1 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Age Gender ethnicity race Fever Cough SOB Fatigue Sputum \\\n",
"521 72 1 2 1 1 0 0 0 0 \n",
"522 90 0 2 1 1 0 0 0 0 \n",
"\n",
" Myalgia Diarrhea Nausea.or.vomiting Sore.throat \\\n",
"521 0 0 0 0 \n",
"522 0 0 0 1 \n",
"\n",
" Runny.nose.nasal.congestion Loss.of.smell Loss.of.taste Headahce \\\n",
"521 0 0 0 0 \n",
"522 0 0 0 0 \n",
"\n",
" Chest.discomfort..Chest.pain Asymptomatic smoking_history \\\n",
"521 0 0 0 \n",
"522 0 0 0 \n",
"\n",
" hypertensionhx diabeteshx asthmahx coronaryheartdiseasehx copdhx \\\n",
"521 1 1 0 0 0 \n",
"522 0 0 0 0 0 \n",
"\n",
" heartfailurehx carcinomahx immunosuppressionhx ckdhx ALT CRP \\\n",
"521 0 0 0 1 15 1.8 \n",
"522 0 0 0 0 10 19.3 \n",
"\n",
" D.dimer Ferritin HR LDH Lymphocytes SpO2 Procalcitonin RR \\\n",
"521 199 1467.0 70 212 16.5 98 0.28 16 \n",
"522 1480 131.7 87 212 1.7 96 10.67 17 \n",
"\n",
" Systolic.BP Temperature Troponin death \n",
"521 132 38.1 0.17 1 \n",
"522 118 36.7 0.01 1 "
]
},
"execution_count": 428,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"death.head(2)"
]
},
{
"cell_type": "code",
"execution_count": 457,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.07105633802816902"
]
},
"execution_count": 457,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"death['Troponin'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 458,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.02784738041002278"
]
},
"execution_count": 458,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"n_death['Troponin'].mean()"
]
},
{
"cell_type": "code",
"execution_count": 465,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 835\n",
"1 271\n",
"Name: ICU_or_not, dtype: int64"
]
},
"execution_count": 465,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data_icu['ICU_or_not'].value_counts()"
]
}
],
"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.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 4
}