Skip to main content
  • Original research
  • Open access
  • Published:

Development of machine learning models to predict RT-PCR results for severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) in patients with influenza-like symptoms using only basic clinical data

Abstract

Background

Reverse Transcription-Polymerase Chain Reaction (RT-PCR) for Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-COV-2) diagnosis currently requires quite a long time span. A quicker and more efficient diagnostic tool in emergency departments could improve management during this global crisis. Our main goal was assessing the accuracy of artificial intelligence in predicting the results of RT-PCR for SARS-COV-2, using basic information at hand in all emergency departments.

Methods

This is a retrospective study carried out between February 22, 2020 and March 16, 2020 in one of the main hospitals in Milan, Italy. We screened for eligibility all patients admitted with influenza-like symptoms tested for SARS-COV-2. Patients under 12 years old and patients in whom the leukocyte formula was not performed in the ED were excluded. Input data through artificial intelligence were made up of a combination of clinical, radiological and routine laboratory data upon hospital admission. Different Machine Learning algorithms available on WEKA data mining software and on Semeion Research Centre depository were trained using both the Training and Testing and the K-fold cross-validation protocol.

Results

Among 199 patients subject to study (median [interquartile range] age 65 [46–78] years; 127 [63.8%] men), 124 [62.3%] resulted positive to SARS-COV-2. The best Machine Learning System reached an accuracy of 91.4% with 94.1% sensitivity and 88.7% specificity.

Conclusion

Our study suggests that properly trained artificial intelligence algorithms may be able to predict correct results in RT-PCR for SARS-COV-2, using basic clinical data. If confirmed, on a larger-scale study, this approach could have important clinical and organizational implications.

Background

At the end of 2019, an outbreak of pneumonia, of unknown origin at the time, turned out to have stemmed from Wuhan, Hubei, China and consequently spread throughout the world, reaching Italy in February 2020 [1,2,3].

A new betacoronavirus, subsequently named Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-COV-2), was identified as the cause of the epidemic [4]. The infection with SARS-COV-2 has, in humans, a broad spectrum of clinical presentations [5] and was named Coronavirus Disease 2019 (COVID-19). Initial symptoms are nonspecific and similar to other seasonal viral diseases, which entail fever, dry cough and fatigue. This could lead to a fairly impossible clinical diagnosis. Therefore, etiological diagnosis relies on Reverse Transcription-Polymerase Chain Reaction (RT-PCR) to detect the genome of SARS-COV-2.

There are several important limitations to RT-PCR. First, current techniques take up to 6–8 h in order to obtain plausible results and often laboratories cannot handle the overload. Second, not all hospitals have the equipment and staff to run tests 24/7. Consequently, swabs are sent out to other facilities, thus slowing down the process and swamping central laboratories. Third, RT-PCR, on a retropharyngeal swab, may result falsely negative in the initial phase of the disease, in spite of the presence of typical symptoms [6,7,8]. Last of all, this technique carries a certain cost, which could mean a considerable financial burden weighing upon both health systems and patients.

A direct consequence of these limitations is the time spent by a large number of patients awaiting results in the emergency department before a decision can be taken as to where admit them to, e.g. in wards and intensive care units focused on COVID-19 patients, or in “non-infective” wards of the hospital [2, 9,10,11,12]. This is particularly troublesome for critically ill patients requiring immediate endotracheal intubation and mechanical ventilation. Specialized medical staff need to attend to these patients in emergency departments where, however, the health system is already under a lot of pressure.

Finding an easy and fast method of predicting positivity or negativity to SARS-COV-2, would prove to be of great clinical value. Algorithms have already been proposed using advanced imaging, e.g. chest computed tomography (CT) [13, 14]. However, not all hospitals or countries can carry out a CT scan on every patient.

The main goal of our study was therefore to develop a machine learning model to predict the results of RT-PCR for SARS-COV-2 using only basic clinical, radiological and routine laboratory data at hand in all emergency departments.

We hypothesized that using Artificial Neural Networks (ANNs), and other Machine Learning Systems (MLS), would allow to obtain accurate results on RT-PCR testing for SARS-COV-2 and that these systems could possibly be applied in the future. The performance of different ANNs and MLS was analyzed so as to distinguish between patients resulting positive or negative to SARS-COV-2, thus identifying those variables which express the maximum amount of relevant information.

Methods

Study design and selection of participants

This retrospective, single centre study, was approved by the Institutional Review Board of our hospital (N°3733). The need for informed consent from individual patients was waived owing to the retrospective nature of the study. While not developed specifically for models using machine learning [15], the study followed the guidelines of the Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD) [16].”

All patients admitted to the emergency department of our hospital between February 22, 2020 and March 16, 2020, were screened for eligibility. Symptoms of presentation compatible with COVID-19 (fever, sore throat, cough, dyspnoea, chest pain, headache, syncope, asthenia, arthralgia, diarrhoea, nausea and vomit) constituted the inclusion criteria. Age < 12 years and absence of evaluation of the leukocyte formula (defined as percentages of the five types of leukocytes: neutrophils, lymphocytes, eosinophils, basophils and monocytes) in the emergency department constituted exclusion criteria.

Data collection

Clinical data regarding the admission to the emergency department were retrieved from the Patient Data Management System of our hospital. Data included age, gender, presence and type of comorbidities, reported symptoms and medication currently being taken. Each drug was placed in a specific category.

In our hospital, there is no formal checklist to collect the medical and medication history. Therefore, if specified by the ER physicians, comorbidities and medication use were considered as present, otherwise if not specified, they were considered as absent. In addition, information regarding vital signs upon admission to the emergency department (first measurement), presence and type of ventilatory support, routinely performed blood tests, major electrocardiographic characteristics (presence of sinus rhythm and ST abnormalities) and chest X-rays (presence of any type of parenchymal involvement, presence of pleural effusion) were collected.

The results of the RT-PCR swab for SARS-COV-2 were recorded. Should the outcome have proved negative in a symptomatic patient, our hospital made it mandatory for a second swab to be carried out after 48 h and these swabs were checked to confirm negativity. The complete list of collected variables is summed up in Table 1.

Table 1 Variables under study (n = 74)

Statistical analysis and sample size

All data were tested for consistency with variance and normality of distribution using the Shapiro-Wilk test. Normally distributed data were expressed as mean ± standard deviation, while non-normally distributed data were reported as median and interquartile range. Binary data were summed up in percentages, frequency of occurrence, and compared through Chi-Square test. Continuous variables were compared through Student T-Test or Wilcoxon Rank-Sum test, as appropriate.

Pearson’s and Spearman’s correlation was used to assess the correlation between collected variables (continuous and nominal, respectively) and RT-PCR for SARS-COV-2 results. A P-value lower than 0.05 was considered as statistically significant. Analysis was performed with SigmaPlot v.12.0 (Systat Software Inc., USA).

The study was carried out on a convenience sample of 200 patients admitted to the emergency department and tested for SARS-COV-2.

Machine learning methods

Training and testing validation protocol

The target variable to be predicted was the result of the RT-PCR for SARS-COV-2 performed in the emergency department. In order to predict and estimate the results of the RT-PCR for SARS-COV-2 using an input of 74 variables under study (Table 1), different Machine Learning algorithms available on WEKA data mining software [17,18,19] and on Semeion Research Centre depository (Massimo Buscema, Deep Supervised ANNs, Semeion SW #12, version 33.0, 1999–2019) were trained. These classification tools were first applied to predict RT-PCR results using the Training and Testing validation protocol, with the following steps:

  1. 1

    Subdivision of the dataset into two sub-samples, A and B, each containing 50% of records and having an equal proportion of cases and controls (in our case SARS-COV-2 positive and SARS-COV-2 negative). The two sub-samples were obtained through the application of the TWIST algorithm, (i.e. they were not obtained by random extraction), in order to create two subsamples with similar probability density for all the input variables (see below). A homogeneity check was performed to confirm the substantial equivalence of the two subsets with regard to the distribution of variables. In the first run, A was used as Training Set and B as Testing Set.

  2. 2

    Application of ANN on the Training Set. In this phase, the ANN learned to associate the input variables with those indicated as targets.

  3. 3

    After the training phase, the weights matrix produced by the algorithm was saved and frozen together with all parameters used for the training.

  4. 4

    The Testing Set was then shown to a virgin twin (same architecture and base parameters) ANN with the same weights matrix of the trained ANN, acting as final classifier. This operation took place for all records and the results (right or wrong classification) was not communicated to the classifier. This allowed to assess the generalization ability of trained ANN.

  5. 5

    In a second run, another virgin ANN was applied to subset B which was used as training subset and then to subset A which was used as testing subset.

  6. 6

    Therefore, the results are relevant to two sequences of training testing protocol: A-B and B-A.

Results were drawn up in terms of sensitivity (correct classification of positive patients), specificity (correct classification of negative patients), global accuracy (arithmetic mean between sensitivity and specificity). Overall results are expressed as average of the two experiments. This crossover procedure allows to classify blindly all records with the trained algorithm ensuring the generalization capability of the model on records never seen before.

The machine learning algorithms developed at the University of Waikato, New Zealand, available on the WEKA data mining software are listed in Table 2 [20,21,22,23,24,25,26], while two ANNs (Self Momentum Back Propagation and Sine Net) [29, 30] were implemented in “Supervised ANNs Software”, developed at the Semeion Research Center in Rome, Italy (Buscema; Supervised ANNs. Semeion software #12, version 33.0). Table 3 shows the main features of Semeion Machine Learning Systems.

Table 2 Nicknames of Machine Learning Systems in WEKA software Package
Table 3 Main Features of Semeion Machine Learning Systems employed in the study

However, since noisy input attributes can sometimes hide the small meaningful information embedded in other attributes, a pruning procedure was used as a pre-processing tool to eliminate noisy variables before the outcome prediction of the main test. In order to conduct this procedure, an input selection algorithm named TWIST (Training With Input Selection and Testing) was applied [38, 39]. This selection algorithm was recently developed at the Semeion Research Center in Rome, Italy (Buscema M (2006–2012) TWIST Input Search, Semeion software #39, version 5.1, 2006–2016).

TWIST algorithm

As previously shown [40], the TWIST algorithm is a complex algorithm able to search for the best distribution of the global dataset divided in two optimally balanced subsets containing a minimum number of input features, useful for optimal pattern recognition. TWIST is an evolutionary algorithm based on a paper about Genetic Doping Systems [19], which has already been applied to medical data with very promising results [40,41,42,43,44]. A detailed description of the algorithm is available in the Online supplement.

5-K-fold

In addition to the Training and Testing validation protocol, a 5 K-fold cross-validation protocol was applied [45], in order to analyze data also with a standard and popular approach. The dataset was randomly split in 5 groups (folds) with a similar number of subjects. Each unique group was used as a hold out, or validation dataset, and the remaining groups were used as training datasets. The model fitted on the training set was evaluated on the validation set. Five different models for each employed machine learning system were created, and each model provided an evaluation score. The skill of the 5 models was summarized as mean sensitivity, specificity, overall accuracy and balanced accuracy.

Assessment of model calibration

Cost Curves [46] were applied to the studied algorithms in order to assess model calibration (Results presented in the Online Supplement).

Results

Three hundred forty-seven patients fulfilled the inclusion criteria, 148 patients presented exclusion criteria (9 patients < 12 years, 139 patients without leukocyte formula), leaving 199 patients for the analysis.

Population description and classic statistics

Table 4 summarizes the main characteristics of the overall study population (n = 199) and of the two subgroups, i.e. patients who tested positive (n = 124) and negative (n = 75) to SARS-COV-2. There were no missing data regarding the recorded variables. A comparison between the characteristics of the study population (n = 199) and of patients excluded due to the absence of leukocyte formula (n = 139) can be found in the Online Data Supplement (Table S3).

Table 4 Characteristics of the study population

Median age in the overall population was 65 [46–78] years, with similar distribution in the two subgroups (65 [49–77] vs. 66 [38–82] years p = .94, for positive and negative patients, respectively). Most patients were male (63.8%) with no significant difference between the two subgroups (62.9% vs. 65.3%, p = .85). The most common comorbidities were hypertension (42.7%) and diabetes (14.6%) with similar prevalence between patients with and without SARS-COV-2. A lower prevalence of Chronic obstructive pulmonary disease (COPD) was observed in patients with COVID-19 (4.0% vs. 13.3% p = .03).

Regarding current medications, positive patients had lower chronic use of anti-epileptics and drugs for psychiatric disorders, as compared to patients that tested negative (0.8% vs. 12.0%, p = .002 and 0.8% vs. 8.0%, p = .02, respectively). Furthermore, administration of antibiotics before access to the emergency department was higher in the positive subgroups (29.0% vs. 14.7%, p = .03).

As for reported signs and symptoms, fever and coughing were more prevalent in patients with COVID-19 (96.0% vs. 73.3%, p < .001 and 73.4% vs. 52.0%, p = .004, respectively).

Several clinical findings turned out to be significantly different between the two population studies (Table 4). In particular, SARS-COV-2 positive patients had a slightly higher external body temperature (37.8 ± 0.8 vs. 37.2 ± 1.0, p = <.001), lower prevalence of pleural effusion at chest X-ray (5.7% vs. 17.3%, p = .01) and a significant difference regarding the complete blood count and leukocyte formula (Table 4).

Table 5 summarizes the positive and negative linear correlation index between descriptive variables and the results of RT-PCR for SARS-COV-2.

Table 5 Study variables positively and negatively correlated with SARS-COV-2 positivity

Prediction of the RT-PCR outcome with machine learning algorithms

The TWIST system selected 42 variables of the original attributes. Selected variables are marked with and asterisk in Table 5. A global dataset of 42 input and 2 target attributes was thus generated. Thereafter, two optimal subsets were created, in order to apply the training and testing procedure described above.

Table 6 shows the results obtained by the application of an array of machine learning systems to the variables selected by TWIST system. These results are the average of two training-testing procedures (A-B and B-A sequences). Detailed predictive results for each experiment (A-B and B-A) is available in Table S1 in the Online Supplement.

Table 6 Predictive results with variables selection using Semeion (a) and WEKA (b) Machine learning systems

The best machine learning system reached ad accuracy of 91.4% with 94.1% sensitivity (correct prediction of positivity to SARS-COV-2) and 88.7% specificity (correct prediction of negativity to SARS-COV-2).

Table 7 shows the results obtained through applying a selected number of machine learning systems to the variables selected by the TWIST system. These results are the average of five Training-Testing procedures of a K-fold cross-validation protocol. Detailed predictive results for each experiment are available in Table S2 in the Online Supplement.

Table 7 Predictive results with 5-K fold protocol, using Semeion (a) and WEKA (b) machine learning systems

Discussion

In our exploratory, model development study, we analyzed data of 199 adult patients admitted to the emergency department of the largest hospital in Milan, Lombardy, with symptoms compatible with COVID-19 during the first 3 weeks of SARS-COV-2 outbreak in Italy. In the present manuscript, we describe this population and highlight the differences between patients who actually tested positive to SARS-COV-2 and those who did not. Few attempts in applying artificial intelligence to rapidly predict positivity/negativity to SARS-COV-2 were made since the outbreak, using mostly CT imaging and lab results, collected in Chinese population [35, 47, 48]. Nevertheless, we present the first European attempt and promising results applying artificial intelligence to predict the results of RT-PCR for SARS-COV-2, using only basic clinical data, available in the vast majority of emergency departments all over the world. The wide application of a similar decision support tool could have a major clinical and organizational impact during the current pandemic.

In our study, several differences were observed between the two study groups (Table 4). However, none of these, or a combination of them, allows, so far, to clearly differentiate between patients with COVID-19 and patients with other diseases, having a similar clinical presentation. Our data underline the key finding of Coronavirus-induced alterations in the white blood cell differential count (Table 4). On the one hand, in contrast to other reports [49,50,51,52] we did not observe a marked lymphocytopenia, possibly because of the early stage of the viral disease. On the other, other subtypes such as eosinophils might play a key role in COVID-19 [53].

When applying artificial intelligence to our dataset, in particular ANNs and MLS, we were able to predict with high sensitivity and specificity the results of RT-PCR for SARS-COV-2 (Table 6).

Artificial Neural Networks allow forecasting through understanding of the relationship between variables, in particular through the application of nonlinear relationships [40, 54, 55]. These systems initially learn from a set of data with a known solution (training). Thereafter, the networks, inspired by the analytical processes of the human brain, are able to reconstruct imprecise rules, which may be underlying a complex dataset (testing). Machine learning systems and, in particular, ANNs analyse real-world data very efficiently. The internal validity of their assessment is provided by uniquely strict validation protocols, seldom used in classical statistics [54, 56, 57].

In the present manuscript, it was possible to predict with reasonable accuracy the status of being positive or negative to SARS-COV-2 based on 42 simple variables. This was achieved using the TWIST algorithm, which does not have, at the moment, the same popularity of other techniques, such as K Fold, Boosting and others. Nevertheless, it has been used extensively in the past 15 years in different contexts [18, 58, 59]. The reason of its low diffusion is partly that TWIST is very complex to program, as it includes two evolutionary algorithms that work together managing a huge population of ANNs, kNN and Naive Bayes algorithms. The execution of TWIST needs therefore to be programmed in C language to be sufficiently fast. Thus, for its complexity and for needed running time, TWIST is not suitable for programming in Phyton, R or similar languages.

TWIST system allowed reaching a global accuracy of 91.4% with the best machine learning system: 94.1% sensitivity (correct prediction of positivity to SARS-COV-2) and 88.7% specificity (correct prediction of negativity to SARS-COV-2). Considering the eight best machine-learning systems their average performance was the following: sensitivity of 91.8%, specificity of 89.6% and global accuracy of 90.8%.

Comparing the two testing procedures (A-B and B-A), explained in the mathematical section, the differences in predicting values between these two experiment is small, therefore reasonably excluding overfitting of the model [16]. Furthermore, also the Cost Curves performed to assess mode calibration have shown acceptable results (Figs. S2-S5 of the Online Supplement).

In order to analyze our dataset also with a more popular and widely applied procedure, we applied a 5 k-fold cross-validation protocol, using a selected number of machine learning systems (Table 7). With this type of analysis, the best machine learning system obtained an overall accuracy of 87.7% with a sensibility and specificity of 89.2 and 86.2%, respectively. Global average performance was the following: sensitivity of 87.6%, specificity of 75.4% and a global accuracy of 81.5%.

Comparing these results with those obtained by the same machine learning systems, using the AB -BA Train-Testing protocol (shown in Table 6), the latter allows to obtain slightly better predictive results, reasonably related to the optimal splitting of the records, with an average performance of 89.1% sensibility, 82.2% specificity and 85.7% global accuracy. The high variance of results obtained with the K-Fold protocol and the low variance of the same results using TWIST protocol is suggestive of the high polarization affecting the K-Fold protocol with this kind of data. This is the reason why we have chosen to rely on an optimized distribution of records in training and testing subsets, rather than on a random allocation. Nevertheless, also the application of a standard K-fold cross-validation, i.e. a system widely available, was able to predict accurately the results of RT-PCR for SARS-COV-2.

It is useful to analyse variables selected by AI, as they certainly bear specific clinical information. As mentioned above, the white blood cells and their differential count are certainly very informative.

Indeed, total white blood cell count (R = − 0.46), lymphocytes (R = 0.26) and eosinophils (R = − 0.34) correlated either negatively or positively with the presence of COVID-19 and were included in the model.

In addition, the final model included also variables with very low correlation with RT-PCR results, such as dyspnea (R = − 0.07), basophils (R = -0.06), mean cell haemoglobin (R = − 0.06), non-invasive ventilation (R = − 0.05), monocytes (R = 0.05), age (R = 0.04), female sex (R = 0.02) and headache (R = 0.02). The fact that these variables have been included in the model confirms the ability of ANN to handle highly nonlinear functions.

Other authors have applied AI for the diagnosis of SARS-COV-2. Rao et al. employed an AI framework to a mobile phone-based survey, exclusively based on pre-hospital clinical symptoms and demographic characteristics to assess the probability of SARS-COV-2 infection [60]. Three different research groups tried to predict positivity to SARS-COV-2 using, among other variables, CT scans [14, 47, 61]. Chest CT scan was analysed via deep learning by Li et al. to differentiate SARS-COV-2 induced viral pneumonia from other lung diseases [62]. Two other research groups developed machine learning models and online applications, using only lab test results [35, 48].

Our model significantly differs from the abovementioned. First, it relies on basic clinical information, available in almost every emergency department. The required information is quickly obtainable for every patient at hospital admission. For this reason, we decided to include chest X-Ray rather than CT in our model. Indeed, despite CT being certainly more sensitive in identifying alterations typical of viral pneumonia [13], not every SARS-COV-2 suspect will have access to a CT scan. Second, our study is the first one analysing data from a European country. While there is no evidence so far, it is possible that different ethnicities will show slightly different responses to viral invasion.

Limitations

This exploratory study has certainly several limitations. First, it is a retrospective, single-center study. Second, the study was conducted on a convenience sample of 200 patients. This aspect has two important implications: i) in this exploratory model development study no formal a priori sample size determination was performed and ii) the small sample size and the high number of input variables bear an intrinsic risk of over-fitting [37]. An additional limitation is the high exclusion rate (40%), potentially leading to a selection bias. However, the main reason for patients’ exclusion was the lack of data regarding the leukocyte formula. This exam was not part of the standard biochemical panel in our emergency department at the beginning of the pandemic. The clinical implications of this laboratory exam became quickly evident and the test was therefore frequently added to the biochemical panel later on in the pandemic. In light of this explanation and of the comparison between included and excluded patients (Table S3) we think that it is safe to exclude the presence of a selection bias. Furthermore, for organizational issues we were not able to perform an external validation, which certainly would have strengthened our results. In addition, some fundamental clinical data, such as arterial blood gas analysis were not available for all patients and this information was thus not included in the model. Given the typical profound hypoxemia of patients with COVID-19, it is conceivable that adding these variables to the system could further improve its accuracy. Finally, while no definitive data are available regarding the accuracy of RT-PCR testing for SARS-COV-2 [63], several studies have described a certain percentage of false negative results [6,7,8]. However, every negative result was re-tested after 48 h. This methodological aspect should reduce the risk of falsely negative results.

Possible clinical and organizational implications

Facing a highly contagious viral outbreak requires a complex effort in terms of political, economic, social and health systems re-organization [64, 65]. A fundamental aspect is to define a clear management protocol, in order to separate infected from non-infected patients, i.e., those admitted for other clinical conditions. Indeed, it is of paramount importance to set up clearly separate pathways, in order to avoid the spread of viral infections within the hospital. A quick and reliable system to identify SARS-COV-2 infected patients is therefore fundamental. Currently, the gold standard for the diagnosis is a RT-PCR assay searching for SARS-COV-2 genome [9]. This type of molecular assay has certainly several limitations. During the first month of outbreak in Italy, the processing of samples became more efficient, theoretically reducing the technical time needed for the result. Despite this, the problem of delayed diagnosis still exists. This is due to the availability RT-PCR machines, considering the high demand during the outbreak. Furthermore, laboratories of referral hospitals, such as ours, analyse samples also arriving from smaller hospitals not equipped for SARS-COV-2 testing. Finally, of course, RT-PCR is not a perfect test, and false negative result have been described, even in the presence of strong clinical suspicion for COVID-19 [6,7,8].

For these reasons, applying AI as a rapid decision support tool for the diagnosis of COVID-19 and therefore to speed up the sorting of infected from non-infected patients would be of great clinical help. Indeed, a simple online software, fed with basic clinical data, easily obtainable in almost every emergency department, could apply trained ANNs to predict with high accuracy the RT-PCR result. The results obtained from this software should of course be integrated with available clinical data.

The application of AI to clinical practice is still limited for its complexity and for limited in-hospital availability of technical infrastructures and support. This, of course, could be particular troublesome for small centres with limited resources. The decision support software that could integrate the information contained in the present manuscript could ideally retrieve data directly from the electronic patient management system. Otherwise, data could be manually entered in an online software, which however significantly increases the risk of errors. An active support from and collaboration with the local information technology infrastructure is therefore fundamental in order to be able, in the future, to integrate AI into clinical practice.

Finally, it is conceivable that the information obtained from the present study might be useful also at the end of the current pandemic. Indeed, it is likely that SARS-COV-2 might become a seasonal virus. In this regard, the early identification would be a key factor to reduce the risk of a further epidemic outbreak.

Conclusions

In summary, our exploratory study suggests that basic clinical data might be sufficient for properly trained ANNs and MLS algorithms to predict with good accuracy the positivity and negativity to SARS-COV-2. If confirmed in larger multicentre studies, this could have important clinical and organizational implications. Indeed, while not directly changing the treatment of COVID-19 patients, it could reduce the time patients spend unnecessarily in the emergency department awaiting the results of RT-PCR, could reduce the workload of intensive care staff and, finally, reduce the risk of collapsing healthcare systems.

Availability of data and materials

The dataset analysed during the current study is available from the corresponding author on reasonable request.

Abbreviations

ANNs:

Artificial Neural Networks

CT:

Computed Tomography

COPD:

Chronic obstructive pulmonary disease

COVID-19:

Coronavirus Disease 2019

MLS:

Machine Learning Systems

RT-PCR:

Reverse Transcription- Polymerase Chain Reaction

SARS-COV-2:

Severe Acute Respiratory Syndrome Coronavirus 2

TWIST:

Training With Input Selection and Testing

References

  1. WHO. Pneumonia of unknown cause – China 2020. Available from: https://www.who.int/csr/don/05-january-2020-pneumonia-of-unkown-cause-china/en/. [cited 2020 28 February].

  2. Grasselli G, Zangrillo A, Zanella A, Antonelli M, Cabrini L, Castelli A, et al. Baseline characteristics and outcomes of 1591 patients infected with SARS-CoV-2 admitted to ICUs of the Lombardy region. Italy JAMA. 2020;323(16):1574–81.

    Article  CAS  PubMed  Google Scholar 

  3. Grasselli G, Greco M, Zanella A, Albano G, Antonelli M, Bellani G, et al. Risk factors associated with mortality among patients with COVID-19 in intensive care units in Lombardy. Italy JAMA Intern Med. 2020;180(10):1345–55.

    Article  CAS  PubMed  Google Scholar 

  4. Zhu N, Zhang D, Wang W, Li X, Yang B, Song J, et al. A novel coronavirus from patients with pneumonia in China, 2019. N Engl J Med. 2020;382(8):727–33.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  5. Mission W-CJ. Report of the WHO-China Joint Mission on Coronavirus Disease 2019 (COVID-19) 2020. Available from: https://www.who.int/publications-detail/report-of-the-who-china-joint-mission-on-coronavirus-disease-2019-(covid-19). [cited 2020 10 March].

  6. Li Q, Guan X, Wu P, Wang X, Zhou L, Tong Y, et al. Early transmission dynamics in Wuhan, China, of novel coronavirus-infected pneumonia. N Engl J Med. 2020;382(13):1199–207.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  7. Guo L, Ren L, Yang S, Xiao M, Chang YF, et al. Profiling Early Humoral Response to Diagnose Novel Coronavirus Disease (COVID-19). Clin Infect Dis. 2020;71(15):778–85.

    Article  CAS  PubMed  Google Scholar 

  8. Lippi G, Simundic AM, Plebani M. Potential preanalytical and analytical vulnerabilities in the laboratory diagnosis of coronavirus disease 2019 (COVID-19). Clin Chem Lab Med. 2020;58(7):1070–6.

    Article  CAS  PubMed  Google Scholar 

  9. Grasselli G, Tonetti T, Protti A, Langer T, Girardis M, Bellani G, et al. Pathophysiology of COVID-19-associated acute respiratory distress syndrome: a multicentre prospective observational study. Lancet Respir Med. 2020;27. https://doi.org/10.1016/S2213-2600(20)30370-2.

  10. Chen N, Zhou M, Dong X, Qu J, Gong F, Han Y, et al. Epidemiological and clinical characteristics of 99 cases of 2019 novel coronavirus pneumonia in Wuhan, China: a descriptive study. Lancet. 2020;395(10223):507–13.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  11. Drosten C, Gunther S, Preiser W, van der Werf S, Brodt HR, Becker S, et al. Identification of a novel coronavirus in patients with severe acute respiratory syndrome. N Engl J Med. 2003;348(20):1967–76.

    Article  CAS  PubMed  Google Scholar 

  12. Cui J, Li F, Shi ZL. Origin and evolution of pathogenic coronaviruses. Nat Rev Microbiol. 2019;17(3):181–92.

    Article  CAS  PubMed  Google Scholar 

  13. Ai T, Yang Z, Hou H, Zhan C, Chen C, Lv W, et al. Correlation of chest CT and RT-PCR testing in coronavirus disease 2019 (COVID-19) in China: a report of 1014 cases. Radiology. 2020;200642.

  14. Mei X, Lee H-C, Diao K-Y, Huang M, Lin B, Liu C, et al. Artificial intelligence–enabled rapid diagnosis of patients with COVID-19. Nat Med. 2020;26(8):1224–8.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  15. Collins GS, Moons KGM. Reporting of artificial intelligence prediction models. Lancet. 2019;393(10181):1577–9.

    Article  PubMed  Google Scholar 

  16. Collins GS, Reitsma JB, Altman DG, Moons KG. Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMJ (Clinical research ed). 2015;350:g7594.

    Google Scholar 

  17. Hall M, Frank E, Holmes G, Pfahringer B, Reutemann P, Witten I. The WEKA data mining software: an update. SIGKDD Explor Newsl. 2008;11:10–8.

    Article  Google Scholar 

  18. Buscema M, Grossi E, Intraligi M, Garbagna N, Andriulli A, Breda M. An optimized experimental protocol based on neuro-evolutionary algorithms application to the classification of dyspeptic patients and to the prediction of the effectiveness of their treatment. Artif Intell Med. 2005;34(3):279–305.

    Article  CAS  PubMed  Google Scholar 

  19. Buscema M. Genetic doping algorithm (GenD): theory and applications. Expert Syst. 2004;21(2):63–79.

    Article  Google Scholar 

  20. Hosmer DW, Lemeshow S. Applied Logistic Regression. New York, NY: Wiley & Sons; 1989.

    Google Scholar 

  21. Quinlan JR. C4.5: Programs for Machine Learning: Morgan Kaufmann Publishers Inc.; 1993.

    Google Scholar 

  22. Collobert R, Bengio S. Links between Perceptrons, MLPs and SVMs. Icml ‘04; 2004. p. 23.

    Google Scholar 

  23. John GH, Langley P. Estimating Continuous Distributions in Bayesian Classifiers; 2013.

    Google Scholar 

  24. F L. Implementing Breiman’s Random Forest Algorithm into Weka 2005.

    Google Scholar 

  25. Rodriguez JJ, Kuncheva LI, Alonso CJ. Rotation forest: a new classifier ensemble method. IEEE Trans Pattern Anal Mach Intell. 2006;28(10):1619–30.

    Article  PubMed  Google Scholar 

  26. Keerthi SS, Gilbert EG. Convergence of a Generalized SMO Algorithm for SVM Classifier Design. Machine Learning. 2002;46(1):351–60. https://doi.org/10.1023/A:1012431217818.

  27. Wang J, Zucker J-D. Solving the multiple-instance problem: A lazy learning approach; 2000. p. 1119–26.

    Google Scholar 

  28. Friedman J, Hastie T, Tibshirani R. Additive Logistic Regression: A Statistical View of Boosting. 2000;28:337–407.

    Google Scholar 

  29. Buscema M. Back propagation neural networks. Subst Use Misuse. 1998;33(2):233–70.

    Article  CAS  PubMed  Google Scholar 

  30. Buscema M, Terzi S, Breda M. Using sinusoidal modulated weights improve feed-forward neural network performances in classification and functional approximation problems. WSEAS Transactions on information science and applications. 2006;3:885–93.

  31. Buscema PM, Massini G, Fabrizi M, Breda M, Della TF. The ANNS approach to DEM reconstruction. Comput Intell. 2018;34(1):310–44.

    Article  Google Scholar 

  32. Buscema M, Terzi S, Breda M. Improve feed-forward neural network performances in classification and functional approximation problems. WSEAS Transactions Inform Sci Appl. 2006;3(5):885–93.

    Google Scholar 

  33. Buscema M. InventorSine Net : an artificial neural network; 2003.

    Google Scholar 

  34. Buscema M, Terzi S, Breda M, editors. A feed Forward sine based neural network for functional approximation of a waste incinerator emissions. 8th WSEAS Int Conference on Automatic Control, Modeling and Simulation 2006 March 12 th −14 th, 2006.; Praga.

  35. Meng Z, Wang M, Song H, Guo S, Zhou Y, Li W, et al. Development and utilization of an intelligent application for aiding COVID-19 diagnosis. medRxiv. 2020; https://doi.org/10.1101/2020.03.18.20035816.

  36. Buscema PM. Gauss Net Equations. Pre print Mimeo, Semeion Archives. Rome, Italy, 2015 (available for academic work on demand).

  37. Wolff RF, Moons KGM, Riley RD, Whiting PF, Westwood M, Collins GS, et al. PROBAST: a tool to assess the risk of Bias and applicability of prediction model studies. Ann Intern Med. 2019;170(1):51–8.

    Article  PubMed  Google Scholar 

  38. Buscema M, Breda M, Lodwick W. Training with input selection and testing (TWIST) algorithm: a significant advance in pattern recognition performance of machine learning. J Intell Learn Syst Appl. 2013;5:29–38.

    Google Scholar 

  39. Pace F, Riegler G, de Leone A, Pace M, Cestari R, Dominici P, et al. Is it possible to clinically differentiate erosive from nonerosive reflux disease patients? A study using an artificial neural networks-assisted algorithm. Eur J Gastroenterol Hepatol. 2010;22(10):1163–8.

    Article  PubMed  Google Scholar 

  40. Coppede F, Grossi E, Migheli F, Migliore L. Polymorphisms in folate-metabolizing genes, chromosome damage, and risk of Down syndrome in Italian women: identification of key factors using artificial neural networks. BMC Med Genet. 2010;3:42.

    Google Scholar 

  41. Lahner E, Intraligi M, Buscema M, Centanni M, Vannella L, Grossi E, et al. Artificial neural networks in the recognition of the presence of thyroid disease in patients with atrophic body gastritis. World J Gastroenterol. 2008;14(4):563–8.

    Article  PubMed  PubMed Central  Google Scholar 

  42. Buri L, Hassan C, Bersani G, Anti M, Bianco MA, Cipolletta L, et al. Appropriateness guidelines and predictive rules to select patients for upper endoscopy: a nationwide multicenter study. Am J Gastroenterol. 2010;105(6):1327–37.

    Article  PubMed  Google Scholar 

  43. Street ME, Grossi E, Volta C, Faleschini E, Bernasconi S. Placental determinants of fetal growth: identification of key factors in the insulin-like growth factor and cytokine systems using artificial neural networks. BMC Pediatr. 2008;8:24.

    Article  PubMed  PubMed Central  CAS  Google Scholar 

  44. Buscema M, Grossi E, Capriotti M, Babiloni C, Rossini P. The I.F.a.S.T. model allows the prediction of conversion to Alzheimer disease in patients with mild cognitive impairment with high degree of accuracy. Curr Alzheimer Res. 2010;7(2):173–87.

    Article  CAS  PubMed  Google Scholar 

  45. Little M, Varoquaux G, Saeb S, Lonini L, Jayaraman A, Mohr D, et al. Using and understanding cross-validation strategies. Perspectives on Saeb et al GigaScience. 2017;6.

  46. Drummond C, Holte RC. Cost curves: an improved method for visualizing classifier performance. Mach Learn. 2006;65(1):95–130.

    Article  Google Scholar 

  47. Feng C, Huang Z, Wang L, Chen X, Zhai Y, Zhu F, et al. A Novel Triage Tool of Artificial Intelligence Assisted Diagnosis Aid System for Suspected COVID-19 pneumonia In Fever Clinics. medRxiv. 2020. https://doi.org/10.1101/2020.03.19.20039099.

  48. Wu J, Zhang P, Zhang L, Meng W, Li J, Tong C, et al. Rapid and accurate identification of COVID-19 infection through machine learning based on clinical available blood test results. medRxiv. 2020; https://doi.org/10.1101/2020.04.02.20051136.

  49. Li YX, Wu W, Yang T, Zhou W, Fu YM, Feng QM, et al. Characteristics of peripheral blood leukocyte differential counts in patients with COVID-19. Zhonghua nei ke za zhi. 2020;59(0):E003.

    CAS  PubMed  Google Scholar 

  50. Zhang JJ, Dong X, Cao YY, Yuan YD, Yang YB, Yan YQ, et al. Clinical characteristics of 140 patients infected with SARS-CoV-2 in Wuhan, China. Allergy. 2020;75(7):1730–41.

    Article  CAS  PubMed  Google Scholar 

  51. Wan S, Xiang Y, Fang W, Zheng Y, Li B, Hu Y, et al. Clinical Features and Treatment of COVID-19 Patients in Northeast Chongqing. J Med Virol.n/a(n/a).

  52. Wang D, Hu B, Hu C, Zhu F, Liu X, Zhang J, et al. Clinical Characteristics of 138 Hospitalized Patients With 2019 Novel coronavirus-infected pneumonia in Wuhan,&nbsp;China. Jama. 2020;323(11):1061–9.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  53. Liu F, Xu A, Zhang Y, Xuan W, Yan T, Pan K, et al. Patients of COVID-19 may benefit from sustained lopinavir-combined regimen and the increase of eosinophil may predict the outcome of COVID-19 progression. Int J Infect Dis. 2020;95:183–91.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  54. Vomweg TW, Buscema M, Kauczor HU, Teifke A, Intraligi M, Terzi S, et al. Improved artificial neural networks in prediction of malignancy of lesions in contrast-enhanced MR-mammography. Med Phys. 2003;30(9):2350–9.

    Article  CAS  PubMed  Google Scholar 

  55. Penco S, Grossi E, Cheng S, Intraligi M, Maurelli G, Patrosso MC, et al. Assessment of the role of genetic polymorphism in venous thrombosis through artificial neural networks. Ann Hum Genet. 2005;69(Pt 6):693–706.

    Article  CAS  PubMed  Google Scholar 

  56. Andriulli A, Grossi E, Buscema M, Festa V, Intraligi NM, Dominici P, et al. Contribution of artificial neural networks to the classification and treatment of patients with uninvestigated dyspepsia. Dig Liver Dis. 2003;35(4):222–31.

    Article  CAS  PubMed  Google Scholar 

  57. Mecocci P, Grossi E, Buscema M, Intraligi M, Savare R, Rinaldi P, et al. Use of artificial networks in clinical trials: a pilot study to predict responsiveness to donepezil in Alzheimer's disease. J Am Geriatr Soc. 2002;50(11):1857–60.

    Article  PubMed  Google Scholar 

  58. Cosmi V, Mazzocchi A, Milani GP, Calderini E, Scaglioni S, Bettocchi S, et al. Prediction of Resting Energy Expenditure in Children: May Artificial Neural Networks Improve Our Accuracy? J Clin Med. 2020;9(4):1026.

    Article  PubMed Central  Google Scholar 

  59. Podda GM, Grossi E, Palmerini T, Buscema M, Femia EA, Della Riva D, et al. Prediction of high on-treatment platelet reactivity in clopidogrel-treated patients with acute coronary syndromes. Int J Cardiol. 2017;240:60–5.

    Article  CAS  PubMed  Google Scholar 

  60. Rao A, Vazquez JA. Identification of COVID-19 can be quicker through artificial intelligence framework using a Mobile phone-based survey in the populations when cities/towns are under quarantine. Infect Control Hosp Epidemiol. 2020;41(7):826–30.

    Article  CAS  Google Scholar 

  61. Xiong Z, Fu L, Zhou H, Liu JK, Wang AM, Huang Y, et al. Construction and evaluation of a novel diagnosis process for 2019-Corona Virus Disease. Zhonghua Yi Xue Za Zhi. 2020;100(0):E019.

    Google Scholar 

  62. Li L, Qin L, Xu Z, Yin Y, Wang X, Kong B, et al. Artificial intelligence distinguishes COVID-19 from community acquired pneumonia on chest CT. Radiology. 2020;296(2):E65–71.

    Article  PubMed  Google Scholar 

  63. WHO. Coronavirus disease (COVID-19) technical guidance: Laboratory testing for 2019-nCoV in humans 2020. Available from: https://www.who.int/emergencies/diseases/novel-coronavirus-2019/technical-guidance/laboratory-guidance. [cited 2020 15 March].

    Google Scholar 

  64. Grasselli G, Pesenti A, Cecconi M. Critical care utilization for the COVID-19 outbreak in Lombardy, Italy: Early Experience and Forecast During an Emergency Response. Jama. 2020;323(16):1545–6.

    Article  CAS  PubMed  Google Scholar 

  65. Spina S, Marrazzo F, Migliari M, Stucchi R, Sforza A, Fumagalli R. The response of Milan's emergency medical system to the COVID-19 outbreak in Italy. Lancet. 2020;395(10227):e49–50.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

Download references

Acknowledgements

The authors wish to acknowledge Dr. Arturo Chieregato (Department of Anaesthesia and Intensive Care Medicine, Niguarda Ca′ Granda, Milan, Italy), Dr. Massimo Puoti (Department of Infectious Disease, Niguarda Ca′ Granda, Milan, Italy) and the following collaborators for their help and important contribution in data analysis: Giulia Massini and Francesca della Torre, Semeion Research Center of Sciences of Communication, Rome, Italy. Finally, the authors wish to thank Mrs. Convery Geraldine for proofreading this manuscript.

Funding

This research did not receive any grant from funding agencies in the public, commercial or not-for-profit sectors.

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study conception and design. Material preparation, data collection and analysis were performed by TL, MF, RG, FV, HG, EG, AM, AZ, SB, MB. The first draft of the manuscript was written by TL, MF, EG, FV, RG, AM and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Thomas Langer.

Ethics declarations

Ethics approval and consent to participate

This study was approved by the Institutional Review Board of our hospital (N°3733). The need for informed consent from individual patients was waived owing to the retrospective nature of the study and considering the complete data anonymization.

Consent for publication

This study was approved by the Institutional Review Board of our hospital (N°3733). The need for informed consent from individual patients was waived owing to the retrospective nature of the study and considering the complete data anonymization.

Competing interests

The authors declare that they have no competing interests relevant to the manuscript.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1.

Additional materials, methods and results.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Langer, T., Favarato, M., Giudici, R. et al. Development of machine learning models to predict RT-PCR results for severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) in patients with influenza-like symptoms using only basic clinical data. Scand J Trauma Resusc Emerg Med 28, 113 (2020). https://doi.org/10.1186/s13049-020-00808-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13049-020-00808-8

Keywords