Original Article

Machine Learning-Based Clinical Decision Support System for automatic diagnosis of COVID-19 based on the routine blood test


Background: Needless to say that correct and real-time detection and effective prognosis of the COVID-19 are necessary measures to deliver the best possible care for patients and, accordingly, diminish the pressure on the health care industries. The main purpose of the present paper was to devise practical solutions based on Machine Learning (ML) techniques to ease the COVID-19 screening in routine blood test data. We came up with different algorithms for the early detection of COVID-19 and finally succeeded to opt for the best performing algorithm.

Material and methods:  In this developmental study,  the laboratory data of 1703 COVID-19 and non-COVID-19 patients Using a single-center registry from February 9, 2020, to December 20, 2020, were analyzed by several ML algorithms which included, K-Nearest Neighbors, AdaBoost Classifier, Decision Tree, and HistGradient Boosting Classifier. A 10-fold cross-validation method and six performance evaluation metrics were used to evaluate and compare these implemented algorithms. Using the best ML-developed model, a Clinical Decision Support System (CDSS) was implemented with C# programming language.

Results: The results indicated that the best performance belongs to the AdaBoost classifier with mean accuracy, specificity, sensitivity, F-measure, KAPA rate, and ROC of 87.1%, 85.3%, 87.3%, 87.1 %, 89.4%, and 87.3 % respectively

Discussion: The ML makes a reasonable level of accuracy possible for an early diagnosis and screening of COVID-19. The empirical results reveal that the Adaboost model yielded higher performance compared with other classification models and was used for developing our CDSS interface in discriminates positive COVID-19 from negative cases.

1. Dinicolantonio JJ, McCarty M, Barroso-Aranda J. Melatonin may decrease the risk for and aid treatment of COVID-19 and other RNA viral infections. Open Heart. 2021;8(1).
2. Tan JY, Sim XYJ, Wee LE, Chua YY, Cherng BPZ, Ng IM, et al. A comparative study on the clinical features of COVID-19 with non-SARS-CoV-2 respiratory viral infections. Journal of Medical Virology. 2021;93(3):1548-55.
3. Bai L, Yang D, Wang X, Tong L, Zhu X, Bai C, et al. Chinese experts’ consensus on the Internet of Things-aided diagnosis and treatment of coronavirus disease 2019. Clinical eHealth. 2020.
4. Bayram M, Springer S, Garvey CK, Özdemir V. COVID-19 digital health innovation policy: A portal to alternative futures in the making. OMICS: A Journal of Integrative Biology. 2020.
5. Yan L, Zhang H-T, Goncalves J, Xiao Y, Wang M, Guo Y, et al. An interpretable mortality prediction model for COVID-19 patients. Nature Machine Intelligence. 2020:1-6.
6. Hu H, Yao N, Qiu Y. Comparing Rapid Scoring Systems in Mortality Prediction of Critically Ill Patients With Novel Coronavirus Disease. Academic Emergency Medicine. 2020;27(6):461-8.
7. Zhao Z, Chen A, Hou W, Graham JM, Li H, Richman PS, et al. Prediction model and risk scores of ICU admission and mortality in COVID-19. PloS one. 2020;15(7):e0236618.
8. Liu Y, Wang Z, Ren J, Tian Y, Zhou M, Zhou T, et al. A COVID-19 Risk Assessment Decision Support System for General Practitioners: Design and Development Study. Journal of medical Internet research. 2020;22(6):e19786.
9. Alom MZ, Rahman M, Nasrin MS, Taha TM, Asari VK. COVID_MTNet: COVID-19 Detection with Multi-Task Deep Learning Approaches. arXiv preprint arXiv:200403747. 2020.
10. Bansal A, Padappayil RP, Garg C, Singal A, Gupta M, Klein A. Utility of Artificial Intelligence Amidst the COVID 19 Pandemic: A Review. Journal of Medical Systems. 2020;44(9).
11. Lai C-C, Shih T-P, Ko W-C, Tang H-J, Hsueh P-R. Severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) and coronavirus disease-2019 (COVID-19): The epidemic and the challenges. International Journal of Antimicrobial Agents. 2020;55(3):105924.
12. Hussain A, Bhowmik B, do Vale Moreira NC. COVID-19 and diabetes: Knowledge in progress. Diabetes Research and Clinical Practice. 2020;162.
13. Moujaess E, Kourie HR, Ghosn M. Cancer patients and research during COVID-19 pandemic: A systematic review of current evidence. Critical Reviews in Oncology/Hematology. 2020;150:102972.
14. Kanagarathinam K, Sekar K. Estimation of the reproduction number and early prediction of the COVID-19 outbreak in India using a statistical computing approach. Epidemiology and Health. 2020;42.
15. Briz-Redon A, Serrano-Aroca A. The effect of climate on the spread of the COVID-19 pandemic: A review of findings, and statistical and modeling techniques. Progress in Physical Geography-Earth and Environment.
16. Sarkodie SA, Owusu PA. Investigating the cases of novel coronavirus disease (COVID-19) in China using dynamic statistical techniques. Heliyon. 2020;6(4).
17. Malki Z, Atlam E-S, Hassanien AE, Dagnew G, Elhosseini MA, Gad I. Association between weather data and COVID-19 pandemic predicting mortality rate: Machine learning approaches. Chaos, Solitons & Fractals. 2020;138:110137.
18. Shanbehzadeh M, Nopour R, Kazemi-Arpanahi H. Comparison of Four Data Mining Algorithms for Predicting Colorectal Cancer Risk. Journal of Advances in Medical and Biomedical Research.29(133):100-8.
19. Shipe ME, Deppen SA, Farjah F, Grogan EL. Developing prediction models for clinical use using logistic regression: an overview. Journal of thoracic disease. 2019;11(Suppl 4): S574.
20. Gao Y, Cai G-Y, Fang W, Li H-Y, Wang S-Y, Chen L, et al. Machine learning-based early warning system enables accurate mortality risk prediction for COVID-19. Nature communications. 2020;11(1):1-10.
21. Kukar M, Gunčar G, Vovko T, Podnar S, Černelč P, Brvar M, et al. COVID-19 diagnosis by routine blood tests using machine learning. Scientific reports. 2021;11(1):1-9.
22. Castiglioni I, Ippolito D, Interlenghi M, Monti CB, Salvatore C, Schiaffino S, et al. Machine learning applied on chest x-ray can aid in the diagnosis of COVID-19: a first experience from Lombardy, Italy. European Radiology Experimental. 2021;5(1):1-10.
23. Tamal M, Alshammari M, Abdullah M, Hourani R, Alola HA, Hegazi TM. An integrated framework with machine learning and radiomics for accurate and rapid early diagnosis of COVID-19 from chest X-ray. Expert systems with applications. 2021;180:115152.
24. Baktash V, Hosack T, Rule R, Patel N, Kho J, Sekhar R, et al. Development, evaluation, and validation of machine learning algorithms to detect atypical and asymptomatic presentations of Covid-19 in hospital practice. QJM: An International Journal of Medicine. 2021.
25. Alves MA, Castro GZ, Oliveira BAS, Ferreira LA, Ramírez JA, Silva R, et al. Explaining machine learning-based diagnosis of COVID-19 from routine blood tests with decision trees and criteria graphs. Computers in Biology and Medicine. 2021;132:104335.
26. Mohammed MA, Abdulkareem KH, Garcia-Zapirain B, Mostafa SA, Maashi MS, Al-Waisy AS, et al. A comprehensive investigation of machine learning feature extraction and classification methods for automated diagnosis of covid-19 based on x-ray images. Computers, Materials, and Continua. 2020;66(3).
27. Saha P, Sadi MS, Islam MM. EMCNet: Automated COVID-19 diagnosis from X-ray images using convolutional neural network and ensemble of machine learning classifiers. Informatics in medicine unlocked. 2021;22:100505.
28. Kim H-J, Han D, Kim J-H, Kim D, Ha B, Seog W, et al. An Easy-to-Use Machine Learning Model to Predict the Prognosis of Patients With COVID-19: Retrospective Cohort Study. Journal of medical Internet research. 2020;22(11):e24225.
IssueVol 8 No 1 (2022) QRcode
SectionOriginal Article(s)
DOI https://doi.org/10.18502/jbe.v8i1.10407
: COVID-19 Coronavirus Machine learning Artificial intelligence Decision Support Systems

Rights and permissions
Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
How to Cite
Afrash MR, Erfanniya L, Amraei M, Mehrabi N, Jelvay S, Nopour raoof, Shanbehzadeh M. Machine Learning-Based Clinical Decision Support System for automatic diagnosis of COVID-19 based on the routine blood test. JBE. 2022;8(1):77-89.