| Literature DB >> 35664686 |
Mostafa Shanbehzadeh1, Raoof Nopour2, Hadi Kazemi-Arpanahi3,4.
Abstract
Introduction: The fast pandemic of coronavirus disease 2019 (COVID-19) has challenged clinicians with many uncertainties and ambiguities regarding disease outcomes and complications. To deal with these uncertainties, our study aimed to develop and evaluate several artificial neural networks (ANNs) to predict the mortality risk in hospitalized COVID-19 patients. Material and methods: The data of 1710 hospitalized COVID-19 patients were used in this retrospective and developmental study. First, a Chi-square test (P < 0.05), Eta coefficient (η > 0.4), and binary logistics regression (BLR) analysis were performed to determine the factors affecting COVID-19 mortality. Then, using the selected variables, two types of feed-forward (FF) models, including the back-propagation (BP) and distributed time delay (DTD) were trained. The models' performance was assessed using mean squared error (MSE), error histogram (EH), and area under the ROC curve (AUC-ROC) metrics.Entities:
Keywords: Artificial intelligence; COVID-19; Machine learning; Neural networks
Year: 2022 PMID: 35664686 PMCID: PMC9148440 DOI: 10.1016/j.imu.2022.100983
Source DB: PubMed Journal: Inform Med Unlocked ISSN: 2352-9148
Fig. 1The study's roadmap.
Characteristics associated with COVID-19 mortality.
| NO. | Variable category | Variable name |
|---|---|---|
| 1 | Demographic factors | Age (year), Height (cm)1, Weight (Kg)2, Blood type (AB+, AB−, O+, O−, A+, A−, B+, B−), Sex (male, female) |
| 2 | Hospitalization factors | Length of hospitalization (Day), ICU hospitalization (Yes, No) |
| 3 | Clinical manifestations, including symptoms and signs | Contusion (Has, Does not have), Headache (Has, Does not have), Body temperature, Fever (Has, Does not have), Dyspnea (Has, Does not have), Loss of taste (Has, Does not have), Rhinorrhea (Has, Does not have), Muscular pain (Has, Does not have), Cardiac disease (Has, Does not have), Loss of smell (Has, Does not have), Lung consolidation (Has, Does not have), Cough (Has, Does not have), Gastrointestinal manifestation (GI) (Has, Does not have), Chill sensation (Has, Does not have), other underlying diseases (Has, Does not have), pneumonia (Has, Does not have), Nausea (Has, Does not have), Vomiting (Has, Does not have), Blood pressure (Has, Does not have), Diabetes (Has, Does not have), Sore throat (Has, Does not have) |
| 4 | Therapy | Oxygen therapy (Has, Does not have) |
| 5 | Laboratory data | Hypersensitive troponin (ng/L)3, White cell count (Cells/mL)4, Erythrocyte sedimentation rate (mm/hr)5, C-reactive protein (mg/L)6, Alkaline phosphatase (Units/L)7, Prothrombin time (s)8, Activated partial thromboplastin time (s)8, Lactate dehydrogenase (Units/L)7, Blood glucose (mg/dL)9, Serum albumin (g/dL)10, Alanine aminotransferase (units/L)7, Aspartate aminotransferase (units/L)7, Total bilirubin (mg/dL)9, Blood urea nitrogen (mg/dL)9, Blood potassium (mEq/L)11, Blood phosphor (mg/dL)9, Blood magnesium (mEq/L)11, Blood sodium (mEq/L)11, Blood calcium (mg/dL)6, Absolute neutrophil count (103Cells/μL)12, Absolute lymphocyte count (103 Cells/μL)12, Platelet count (Cells/μL)12, Hemoglobin rate (g/dL)10, Hematocrit (L/L)13, Red cell count (mc/mL)13, Blood creatinine (mg/dL)9 |
| 6 | Epidemiological factors | Smoking (Yes, No), Alcohol addiction (Has, Does not have) |
1- Centimeters, 2- Kilograms, 3- Nanograms per liter, 4- Cell per microliter, 5-Millimeters per hour, 6- Milligrams per liter, 7- Units per liter, 8- Seconds, 9- Milligrams per deciliter, 10- Grams per deciliter, 11- Milliequivalents per liter, 12- Number of cells per microliter, 13- Million cells per microliter.
Fig. 2The overall schema of ANN configuration.
Confusion matrix.
| Real Model | + | – |
|---|---|---|
| + | True Positive (TP) | False Negative (FN) |
| – | False Positive (FP) | True Negative (TN) |
Fig. 3The RMSE of simple K-means in K = 1 for 15 epochs.
Fig. 4The RMSE of simple K-means in K = 3 for 15 epochs.
Fig. 5The RMSE of simple K-means in K = 5 for 15 epochs.
The essential variables at P < 0.05 or Eta>0.4
| Variable name | Variable type | Variable feature | Variable frequency or mean (SD) | P-value or Eta coefficient |
|---|---|---|---|---|
| Cough | Nominal | No (0) | No (779) | <0.001 |
| Contusion | Nominal | No (0) | No (729) | <0.001 |
| Nausea | Nominal | No (0) | No (983) | 0.001 |
| Vomiting | Nominal | No (0) | No (839) | 0.001 |
| Oxygen therapy | Nominal | No (0) | No (926) | <0.001 |
| Dyspnea | Nominal | No (0) | No (830) | 0.001 |
| Loss of taste | Nominal | No (0) | No (758) | <0.001 |
| Loss of smell | Nominal | No (0) | No (930) | <0.001 |
| Rhinorrhea | Nominal | No (0) | No (789) | <0.001 |
| Sore throat | Nominal | No (0) | No (739) | 0.001 |
| Other underlying diseases | Nominal | No (0) | No (660) | <0.001 |
| Cardiac disease | Nominal | No (0) | No (829) | 0.001 |
| Blood pressure | Nominal | No (0) | No (850) | 0.001 |
| White cell count | Numeric | – | 9223.52 (6223) | 0.9 |
| Platelet count | Numeric | – | 212318.59 (658.2) | 0.9 |
| Absolute lymphocyte count | Numeric | – | 21.54 (8.432) | 0.6 |
| Absolute neutrophil count | Numeric | – | 75.22 (4.3) | 0.6 |
| Blood urea nitrogen | Numeric | – | 53.52 (6.663) | 0.6 |
| Aspartate amino transferase | Numeric | – | 55.5 (12.3) | 0.6 |
| Alanine aminotransferase | Numeric | – | 48.32 (5.2) | 0.7 |
| Blood glucose | Numeric | – | 135.40 (41.2) | 0.7 |
| Lactate dehydrogenase | Numeric | – | 604.22 (41.6) | 0.9 |
| Activated partial thromboplastin time | Numeric | – | 28.6 (6.7) | 0.9 |
| Alkaline phosphatase | Numeric | – | 255 (150.9) | 0.7 |
| Erythrocyte sedimentation rate | Numeric | – | 33.24 (19.3) | 0.7 |
| Hypersensitive troponin | Nominal | Negative (0) | Negative (1224) | 0.001 |
| Lung consolidation | Nominal | No (0) | No (437) | <0.001 |
| Pleural fluid | Nominal | No (0) | No (410) | <0.001 |
| ICU hospitalization | Nominal | No (0) | No (875) | <0.001 |
| Length of hospitalization | Numeric | – | 4.83 (3.2) | 0.6 |
| Age | Numeric | – | 58.8 (7.6) | 0.6 |
The results of entering the variables into the BLR.
| Model if Term Removed | |||||
|---|---|---|---|---|---|
| Variable | Model Log-Likelihood | Change in −2 Log-Likelihood | df | Sig. of the Change | |
| Step 1 | ICU hospitalization | −216.347 | 199.209 | 1 | .000 |
| Step 2 | Pleural fluid | −116.742 | 131.975 | 1 | .000 |
| ICU hospitalization | −123.828 | 146.145 | 1 | .000 | |
| Step 3 | Absolute neutrophil count | −50.755 | 19.260 | 1 | .000 |
| Pleural fluid | −109.997 | 137.745 | 1 | .000 | |
| ICU hospitalization | −93.544 | 104.838 | 1 | .000 | |
| Step 4 | Vomiting | −41.125 | 22.932 | 1 | .000 |
| Absolute neutrophil count | −42.350 | 25.382 | 1 | .000 | |
| Pleural fluid | −105.400 | 151.482 | 1 | .000 | |
| ICU hospitalization | −83.648 | 107.979 | 1 | .000 | |
| Step 5 | Vomiting | −136.164 | 22.659 | 1 | .000 |
| Absolute neutrophil count | −38.497 | 27.325 | 1 | .000 | |
| Pleural fluid | −99.083 | 148.496 | 1 | .000 | |
| ICU hospitalization | −79.791 | 109.913 | 1 | .000 | |
| Length of hospitalization | −29.659 | 9.649 | 1 | .000 | |
| Step 6 | Vomiting | −31.591 | 21.789 | 1 | .000 |
| Loss of taste | −24.835 | 8.276 | 1 | .000 | |
| Absolute neutrophil count | −33.224 | 25.055 | 1 | .000 | |
| Pleural fluid | −89.802 | 138.210 | 1 | .000 | |
| ICU hospitalization | −73.150 | 104.906 | 1 | .000 | |
| Length of hospitalization | −25.903 | 10.413 | 1 | .000 | |
| Step 7 | Vomiting | −27.255 | 21.951 | 1 | .000 |
| Loss of taste | −20.757 | 8.955 | 1 | .000 | |
| Loss of smell | −20.697 | 8.835 | 1 | .000 | |
| Absolute neutrophil count | −28.461 | 24.364 | 1 | .000 | |
| Pleural fluid | −81.758 | 130.959 | 1 | .000 | |
| ICU hospitalization | −65.344 | 98.131 | 1 | .000 | |
| Length of hospitalization | −21.648 | 10.737 | 1 | .000 | |
| Step 8 | Vomiting | −19.608 | 16.955 | 1 | .000 |
| Loss of taste | −16.899 | 11.535 | 1 | .000 | |
| Loss of smell | −17.389 | 12.515 | 1 | .000 | |
| Rhinorrhea | −16.279 | 10.296 | 1 | .000 | |
| Absolute neutrophil count | −23.352 | 24.441 | 1 | .000 | |
| Pleural fluid | −76.071 | 129.880 | 1 | .000 | |
| ICU hospitalization | −55.328 | 88.394 | 1 | .000 | |
| Length of hospitalization | −16.641 | 11.021 | 1 | .000 | |
| Step 9 | Vomiting | −15.966 | 18.051 | 1 | .000 |
| Loss of taste | −12.084 | 10.288 | 1 | .000 | |
| Loss of smell | −13.482 | 13.083 | 1 | .000 | |
| Rhinorrhea | −12.862 | 11.843 | 1 | .000 | |
| Absolute neutrophil count | −17.749 | 21.618 | 1 | .000 | |
| Pleural fluid | −71.503 | 129.125 | 1 | .000 | |
| ICU hospitalization | −47.948 | 82.016 | 1 | .000 | |
| Length of hospitalization | −12.410 | 10.940 | 1 | .000 | |
| Age | −11.131 | 8.382 | 1 | .000 | |
| Step 10 | Vomiting | −10.197 | 17.564 | 1 | .000 |
| Oxygen therapy | −6.940 | 11.049 | 1 | .000 | |
| Loss of taste | −7.432 | 12.032 | 1 | .000 | |
| Loss of smell | −8.983 | 15.135 | 1 | .000 | |
| Rhinorrhea | −8.524 | 14.218 | 1 | .000 | |
| Absolute neutrophil count | −11.581 | 20.330 | 1 | .000 | |
| Pleural fluid | −65.568 | 128.304 | 1 | .000 | |
| ICU hospitalization | −40.117 | 77.403 | 1 | .000 | |
| Length of hospitalization | −6.783 | 10.734 | 1 | .000 | |
| Age | −6.475 | 10.119 | 1 | .000 | |
| Step 11 | Vomiting | −7.137 | 17.168 | 1 | .000 |
| Oxygen therapy | −4.804 | 12.502 | 1 | .000 | |
| Loss of taste | −4.415 | 11.725 | 1 | .000 | |
| Loss of smell | −6.159 | 15.213 | 1 | .000 | |
| Rhinorrhea | −5.221 | 13.337 | 1 | .000 | |
| Absolute neutrophil count | −8.051 | 18.997 | 1 | .000 | |
| Erythrocyte sedimentation rate | −1.416 | 5.726 | 1 | .000 | |
| Pleural fluid | −60.513 | 123.920 | 1 | .000 | |
| ICU hospitalization | −38.927 | 80.749 | 1 | .000 | |
| Length of hospitalization | −3.528 | 9.951 | 1 | .000 | |
| Age | −4.725 | 12.344 | 1 | .000 | |
| Step 12 | Vomiting | −3.057 | 15.997 | 1 | .000 |
| Oxygen therapy | −1.216 | 12.314 | 1 | .000 | |
| Loss of taste | −1.902 | 13.687 | 1 | .000 | |
| Loss of smell | −3.445 | 16.772 | 1 | .000 | |
| Rhinorrhea | −1.574 | 13.031 | 1 | .000 | |
| Platelet count | −8.552 | 6.988 | 1 | .000 | |
| Absolute neutrophil count | −5.947 | 21.776 | 1 | .000 | |
| Erythrocyte sedimentation rate | −9.360 | 8.604 | 1 | .000 | |
| Pleural fluid | −59.973 | 129.829 | 1 | .000 | |
| ICU hospitalization | −35.363 | 80.609 | 1 | .000 | |
| Length of hospitalization | −0.095 | 10.073 | 1 | .002 | |
| Age | −1.038 | 11.959 | 1 | .001 | |
| Step 13 | Vomiting | −2.386 | 16.588 | 1 | .000 |
| Oxygen therapy | −1.159 | 12.135 | 1 | .000 | |
| Loss of taste | −1.695 | 13.205 | 1 | .000 | |
| Loss of smell | −2.814 | 17.444 | 1 | .000 | |
| Rhinorrhea | −1.766 | 13.348 | 1 | .000 | |
| White-cell count | −5.059 | 1.933 | 1 | .001 | |
| Platelet count | −7.992 | 7.801 | 1 | .005 | |
| Absolute neutrophil count | −1.093 | 20.003 | 1 | .000 | |
| Erythrocyte sedimentation rate | −9.572 | 8.960 | 1 | .003 | |
| Pleural fluid | −1.511 | 128.839 | 1 | .000 | |
| ICU hospitalization | −1.126 | 80.067 | 1 | .000 | |
| Length of hospitalization | −9.026 | 9.868 | 1 | .002 | |
| Age | −1.257 | 12.331 | 1 | .000 | |
Comparing different configurations of the ANN.
| BP (50% train, 50% test) | DTD (50% train, 50% test) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Configuration | TP | FN | FP | TN | Configuration | TP | FN | FP | TN |
| 13-1-1 | 450 | 139 | 297 | 824 | 13-1-1 | 428 | 161 | 320 | 801 |
| 13-2-1 | 477 | 112 | 267 | 854 | 13-2-1 | 455 | 134 | 311 | 810 |
| 13-3-1 | 483 | 106 | 233 | 888 | 13-3-1 | 466 | 123 | 295 | 826 |
| 13-4-1 | 502 | 87 | 219 | 902 | 13-4-1 | 473 | 116 | 273 | 848 |
| 13-5-1 | 527 | 62 | 167 | 954 | 13-5-1 | 489 | 100 | 261 | 860 |
| 13-6-1 | 533 | 56 | 144 | 977 | 13-6-1 | 501 | 88 | 225 | 896 |
| 13-7-1 | 539 | 50 | 112 | 1009 | 13-7-1 | 513 | 76 | 208 | 913 |
| 13-8-1 | 550 | 39 | 98 | 1023 | 13-8-1 | 534 | 55 | 146 | 975 |
| 13-9-1 | 548 | 41 | 79 | 1042 | 13-9-1 | 542 | 47 | 119 | 1002 |
| 13-10-1 | 567 | 22 | 61 | 1060 | 13-10-1 | 553 | 36 | 95 | 1026 |
| BP (60% train, 40% test) | BP (60% train, 40% test) | ||||||||
| Configuration | TP | FN | FP | TN | Configuration | TP | FN | FP | TN |
| 13-1-1 | 455 | 134 | 282 | 839 | 13-1-1 | 436 | 156 | 309 | 812 |
| 13-2-1 | 481 | 108 | 261 | 860 | 13-2-1 | 461 | 128 | 300 | 821 |
| 13-3-1 | 486 | 103 | 225 | 896 | 13-3-1 | 473 | 116 | 281 | 840 |
| 13-4-1 | 506 | 83 | 209 | 912 | 13-4-1 | 480 | 109 | 265 | 856 |
| 13-5-1 | 529 | 60 | 151 | 970 | 13-5-1 | 491 | 98 | 249 | 872 |
| 13-6-1 | 543 | 46 | 126 | 995 | 13-6-1 | 506 | 83 | 216 | 905 |
| 13-7-1 | 550 | 39 | 94 | 1027 | 13-7-1 | 516 | 73 | 197 | 924 |
| 13-8-1 | 561 | 28 | 80 | 1041 | 13-8-1 | 540 | 49 | 137 | 984 |
| 13-9-1 | 568 | 21 | 59 | 1062 | 13-9-1 | 546 | 43 | 115 | 1006 |
| 13-10-1 | 577 | 12 | 51 | 1070 | 13-10-1 | 563 | 26 | 85 | 1036 |
| BP (70% train, 30% test) | BP (70% train, 30% test) | ||||||||
| Configuration | TP | FN | FP | TN | Configuration | TP | FN | FP | TN |
| 13-1-1 | 465 | 124 | 282 | 839 | 13-1-1 | 450 | 142 | 300 | 821 |
| 13-2-1 | 490 | 99 | 261 | 860 | 13-2-1 | 465 | 124 | 288 | 833 |
| 13-3-1 | 476 | 93 | 225 | 896 | 13-3-1 | 480 | 109 | 271 | 850 |
| 13-4-1 | 515 | 74 | 209 | 912 | 13-4-1 | 490 | 99 | 255 | 866 |
| 13-5-1 | 539 | 50 | 151 | 970 | 13-5-1 | 501 | 88 | 241 | 880 |
| 13-6-1 | 523 | 35 | 126 | 995 | 13-6-1 | 515 | 74 | 211 | 910 |
| 13-7-1 | 555 | 34 | 94 | 1027 | 13-7-1 | 526 | 63 | 191 | 930 |
| 13-8-1 | 570 | 19 | 80 | 1041 | 13-8-1 | 550 | 39 | 131 | 990 |
| 13-9-1 | 573 | 16 | 59 | 1062 | 13-9-1 | 556 | 33 | 95 | 1026 |
| 13-10-1 | 581 | 8 | 51 | 1070 | 13-10-1 | 570 | 19 | 81 | 1040 |
| BP (80% train, 20% test) | BP (80% train, 20% test) | ||||||||
| Configuration | TP | FN | FP | TN | Configuration | TP | FN | FP | TN |
| 13-1-1 | 471 | 118 | 259 | 862 | 13-1-1 | 459 | 133 | 289 | 832 |
| 13-2-1 | 495 | 94 | 271 | 870 | 13-2-1 | 475 | 114 | 278 | 843 |
| 13-3-1 | 502 | 87 | 205 | 916 | 13-3-1 | 485 | 104 | 259 | 862 |
| 13-4-1 | 521 | 68 | 189 | 932 | 13-4-1 | 496 | 93 | 252 | 869 |
| 13-5-1 | 541 | 48 | 140 | 981 | 13-5-1 | 510 | 79 | 238 | 883 |
| 13-6-1 | 545 | 31 | 116 | 1005 | 13-6-1 | 517 | 72 | 206 | 915 |
| 13-7-1 | 560 | 29 | 80 | 1041 | 13-7-1 | 536 | 53 | 184 | 937 |
| 13-8-1 | 575 | 14 | 61 | 1060 | 13-8-1 | 562 | 27 | 120 | 1001 |
| 13-9-1 | 578 | 11 | 53 | 1068 | 13-9-1 | 546 | 23 | 86 | 1035 |
| 13-10-1 | 586 | 3 | 25 | 1096 | 13-10-1 | 578 | 11 | 71 | 1050 |
Based on comparing the different architectures of two selected configurations of the ANN using the confusion matrix, we obtained BP-ANN with the structure of 13–10-1 with TP = 586, FN = 3, FP = 25, and TN = 1096. DTD with the design of 13–10-1 with TP = 578, FN = 11, FP = 71, and TN = 11,050 gained the best performance compared to other configurations in 80% data for train and 20% data for test. The results of measuring the TPR, FPR, TNR, TPR, and the precision of two selected ANN configurations for various dataset splittings are depicted in Fig. 6, Fig. 7, Fig. 8, Fig. 9.
Fig. 6Different performance criteria of two selected ANN modes (1–10 neurons from left to right).
Fig. 7Different performance criteria of two selected ANN modes (1–10 neurons from left to right).
Fig. 8Different performance criteria of two selected ANN modes (1–10 neurons from left to right).
Fig. 9Different performance criteria of two selected ANN modes (1–10 neurons from left to right).
Fig. 10The best configuration of BP (above) and DTD (below).
Fig. 11Comparing the two selected configurations using the MSE.
Fig. 12Comparing the two selected configurations using the error histogram.
Fig. 13All ROC modes of the two FF of the ANN.
Fig. 14The CDSS to predict COVID-19 mortality based on ANN.