Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 May 4;157(5):758-766.
doi: 10.1093/ajcp/aqab187.

Detection of COVID-19 by Machine Learning Using Routine Laboratory Tests

Affiliations

Detection of COVID-19 by Machine Learning Using Routine Laboratory Tests

Hikmet Can Çubukçu et al. Am J Clin Pathol. .

Abstract

Objectives: The present study aimed to develop a clinical decision support tool to assist coronavirus disease 2019 (COVID-19) diagnoses with machine learning (ML) models using routine laboratory test results.

Methods: We developed ML models using laboratory data (n = 1,391) composed of six clinical chemistry (CC) results, 14 CBC parameter results, and results of a severe acute respiratory syndrome coronavirus 2 real-time reverse transcription-polymerase chain reaction as a gold standard method. Four ML algorithms, including random forest (RF), gradient boosting (XGBoost), support vector machine (SVM), and logistic regression, were used to build eight ML models using CBC and a combination of CC and CBC parameters. Performance evaluation was conducted on the test data set and external validation data set from Brazil.

Results: The accuracy values of all models ranged from 74% to 91%. The RF model trained from CC and CBC analytes showed the best performance on the present study's data set (accuracy, 85.3%; sensitivity, 79.6%; specificity, 91.2%). The RF model trained from only CBC parameters detected COVID-19 cases with 82.8% accuracy. The best performance on the external validation data set belonged to the SVM model trained from CC and CBC parameters (accuracy, 91.18%; sensitivity, 100%; specificity, 84.21%).

Conclusions: ML models presented in this study can be used as clinical decision support tools to contribute to physicians' clinical judgment for COVID-19 diagnoses.

Keywords: Artificial intelligence; COVID-19; Laboratory tests; Machine learning; SARS-CoV-2.

PubMed Disclaimer

Figures

FIGURE 1
FIGURE 1
Study design. CC, clinical chemistry; LIS, laboratory information system; ML, machine learning; PCR, polymerase chain reaction; SARS-CoV-2, severe acute respiratory syndrome coronavirus 2.
FIGURE 2
FIGURE 2
Boruta feature selection plot. Green indicates important features, and blue represents tentative features. ALT, alanine aminotransferase; AST, aspartate aminotransferase; CRP, C-reactive protein; LDH, lactate dehydrogenase; MCH, mean corpuscular hemoglobin; MCHC, mean corpuscular hemoglobin concentration; MCV, mean corpuscular volume; RDW, red cell distribution width.
FIGURE 3
FIGURE 3
Receiver operating characteristic curves of the machine learning (ML) models. A, ML models built using clinical chemistry and CBC parameters. B, ML models built using CBC parameters. AUC, area under the curve; SVM, support vector machine.
FIGURE 4
FIGURE 4
Receiver operating characteristic curves of the machine learning (ML) models on São Paulo data set. A, ML models built using clinical chemistry and CBC parameters. B, ML models built using CBC parameters. AUC, area under the curve; SVM, support vector machine.

References

    1. Sun J, He WT, Wang L, et al. . COVID-19: epidemiology, evolution, and cross-disciplinary perspectives. Trends Mol Med. 2020;26:483-495. - PMC - PubMed
    1. Zhang JJ, Dong X, Cao YY, et al. . Clinical characteristics of 140 patients infected with SARS-CoV-2 in Wuhan, China. Allergy. 2020;75:1730-1741. - PubMed
    1. Lippi G, Plebani M. Procalcitonin in patients with severe coronavirus disease 2019 (COVID-19): a meta-analysis. Clin Chim Acta. 2020;505:190-191. - PMC - PubMed
    1. Lippi G, Plebani M, Henry BM. Thrombocytopenia is associated with severe coronavirus disease 2019 (COVID-19) infections: a meta-analysis. Clinica Chimica Acta. 2020;506:145-148. - PMC - PubMed
    1. Huang C, Wang Y, Li X, et al. . Clinical features of patients infected with 2019 novel coronavirus in Wuhan, China. Lancet. 2020;395:497-506. - PMC - PubMed