Next Article in Journal
The Impact of Information Overload of E-Commerce Platform on Consumer Return Intention: Considering the Moderating Role of Perceived Environmental Effectiveness
Next Article in Special Issue
The Role of Personality and Top Management Support in Continuance Intention to Use Electronic Health Record Systems among Nurses
Previous Article in Journal
Analyzing University Students’ Perceptions Regarding Mainstream Pornography and Its Link to SDG5
Previous Article in Special Issue
Is Teleaudiology Achieving Person-Centered Care: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Detection of COVID-19 Patients Using Machine Learning Techniques: A Nationwide Chilean Study

by
Pablo Ormeño
1,*,
Gastón Márquez
2,*,
Camilo Guerrero-Nancuante
3,* and
Carla Taramasco
4,*
1
Escuela de Ingenieria y Negocios, Universidad de Viña del Mar, Viña del Mar 2520000, Chile
2
Departamento de Electrónica e Informática, Universidad Técnica Federico Santa María, Millennium Nucleus on Sociomedicine, Concepción 4030000, Chile
3
Escuela de Enfermería, Universidad de Valparaíso, Valparaíso 2500000, Chile
4
Facultad de Ingeniería, Universidad Andrés Bello, Millennium Nucleus on Sociomedicine, Viña del Mar 2520000, Chile
*
Authors to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2022, 19(13), 8058; https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph19138058
Submission received: 7 May 2022 / Revised: 23 June 2022 / Accepted: 23 June 2022 / Published: 30 June 2022

Abstract

:
Epivigila is a Chilean integrated epidemiological surveillance system with more than 17,000,000 Chilean patient records, making it an essential and unique source of information for the quantitative and qualitative analysis of the COVID-19 pandemic in Chile. Nevertheless, given the extensive volume of data controlled by Epivigila, it is difficult for health professionals to classify vast volumes of data to determine which symptoms and comorbidities are related to infected patients. This paper aims to compare machine learning techniques (such as support-vector machine, decision tree and random forest techniques) to determine whether a patient has COVID-19 or not based on the symptoms and comorbidities reported by Epivigila. From the group of patients with COVID-19, we selected a sample of 10% confirmed patients to execute and evaluate the techniques. We used precision, recall, accuracy, F 1 -score, and AUC to compare the techniques. The results suggest that the support-vector machine performs better than decision tree and random forest regarding the recall, accuracy, F 1 -score, and AUC. Machine learning techniques help process and classify large volumes of data more efficiently and effectively, speeding up healthcare decision making.

1. Introduction

Humanity, throughout its history, has been threatened by several epidemiological events, such as smallpox, cholera, Zika virus and, currently, the COVID-19 pandemic. In these situations, epidemiological surveillance is an essential public health action, which allows collecting, analysing, and interpreting health data to describe and monitor a health event to support the planning, implementation, and evaluation of public health interventions and programmes [1].
Epidemiological surveillance aims at the early detection and timely management of cases of people requiring health services and also aims to establish a diagnosis of the health status of the population as a whole in order to manage disease prevention and control measures at the population level [2]. An important challenge for epidemiological surveillance systems arises in epidemics, endemics and pandemics, where diseases are required to be reported immediately so that control and follow-up measures can be generated [3].
Since the beginning of the pandemic, Chilean authorities have been working to coordinate and establish guidelines for the benefit of public health in order to implement the TTI (testing, traceability and isolation) strategy. In this regard, the Chilean Ministry of Health has instructed all clinicians to report suspected cases and active searches through a platform called Epivigila [4]. This platform is a virtual monitoring system that allows the tracking of COVID-19 and has become the most important strategic tool for the Chilean government to support public health decision making. The system allows the notifier, in this case, a clinician, to register patient and contact information, which will be sent to primary care centres to begin traceability. Subsequently, COVID-19 follow-up delegates can initiate the Chilean protocol to follow up on detected cases.
Epivigila has more than 60,000 users, more than 6,000,000 patient records under epidemiological surveillance and 17,000,000 accumulated notifications, making it an essential source of data for studies related to the detection and dissemination of COVID-19 in the Chilean population. Moreover, the Chilean Ministry of Health uses Epivigila as a source of information to calculate the health indicators reported to the Chilean population daily [4]. Given the vast volume of data handled by Epivigila, manual analysis of the data conducted by the stakeholders related to the Chilean surveillance process is insufficient to make the best of its information source regarding classifying COVID-19 infected patients. Both symptoms and comorbidities are essential attributes for the quantitative and qualitative analysis of the cumulative prevalence rate in Chile, i.e., the total number of new diagnosed cases (confirmed and probable).
In order to process considerable volumes of data efficiently, effectively and in the shortest possible time, machine learning techniques, such as support-vector machines (SVM), random forests (RF) and decision trees (DT), are indispensable to identify patterns and classify data. SVM is concerned with the correlation of data represented in a high-dimensional feature space. In this space, data points are categorized, even if it is not possible to separate them linearly [5]. RF is a machine learning technique that has the ability to be generalized to myriad classification problems [6]. DT is a supervised learning technique mainly used in problems related to data classification. In this regard, it is possible to use DT for both categorical and continuous variables [7].
This paper compares the SVM, DT and RF techniques to determine whether a patient has COVID-19 or not using real-time data based on symptoms and comorbidities managed by Epivigila. To evaluate the performance of the techniques, we used a sample of 10% COVID-19 patients out of the total of confirmed cases reported in Epivigla. We used the metrics precision, recall, accuracy, harmonic mean between precision and recall ( F 1 -score) and the area under the curve (AUC). The main contribution of our paper is that it is an analytical study comparing machine learning techniques on a dataset to distinguish whether a patient has COVID-19 or not with data obtained in real-time and generated from clinical processes led by clinicians in Chile.

2. Related Work

Ahamad et al. [8] developed a machine learning methodology whose primary focus was to systematically identify the most relevant clinical symptoms to predict true positive COVID-19 cases. The authors of this study validated the predictions using COVID-19 patient data from seven provinces in China. The study results demonstrated that contact with infected individuals is an adequate predictor, but this depends on a rigorous contact tracing process and social network analysis. Validation indicated that muscle pain and diarrhea are significant symptoms of COVID-19.
Aydin et al. [9] studied the factors affecting the number of positive cases and deaths associated with the COVID-19 pandemic using a new model proposed by the study authors, which consisted of three steps. First, countries were grouped according to the data provided. Second, the effectiveness of the clusters was assessed using WSIDEA (weighted stochastic imprecise data envelopment analysis). Third, the performances of the algorithms were compared in terms of success criteria.
Awal et al. [10] proposed a model to detect COVID-19 which was focused on machine learning. The main feature of this model is the ability to detect COVID-19 in a short time. The study used different classification techniques, such as linear discriminant analysis (LDA), quadratic-DA (QDA), naive Bayes (NB), k-nearest neighbors (KNN), decision tree (DT), random forest (RF), estreme gradient boosting (XGB), gradient boosting (GB), and support-vector machine (SVM), among others, for the rapid detection of COVID-19 through the symptoms of patients and the estimation of their status (infected or not infected). Analyzing these techniques helps physicians in detecting COVID-19 from the clinical data of hospitalized patients as well as taking preventive measures while treating patients with COVID-19.
Monaghan et al. [11] used a machine learning model that addresses the risk of a hemodialysis patient with an undetected COVID-19 infection. The authors used extreme gradient boosting (XGBoost), a scalable and distributed gradient-boosted decision tree machine learning technique. The study usds 40,490 hemodialysis patients to build the model (11,166 COVID-19-positive cases and 29,324 unaffected patients). The results of the study described that the machine learning model proposed by the authors was reasonable for predicting hemodialysis patients at risk of COVID-19 within three days before there is clinical suspicion.
Shaban et al. [12] addressed the problem of classifying COVID-19 patient diagnoses by assigning a weight to each feature in the classification model. The authors’ technique was based on three sequential phases, which were: (i) the pre-processing phase, (ii) the feature classification phase, and (iii) the classification phase. In turn, the authors identified several input features obtained from laboratory findings.
The studies mentioned in this section describe promising results regarding using machine learning techniques to predict infected patients and other conditions related to COVID-19. Our study contributes to the body of knowledge by comparing different machine learning techniques to determine whether a patient has COVID-19 or not using real-time, volatile, and unstructured data from the Chilean population.

3. Materials and Methods

The methodology used in our study is described in Figure 1. First, we explored the Epivigila system and the Chilean epidemiological surveillance process. Then, we defined the steps to clean and format the Epivigila data. Subsequently, we trained and tested the machine learning techniques. Finally, we evaluated the performance of the techniques and analyzed the corresponding results.

3.1. Data Source

In 2019, a technological integration platform for notifiable diseases called Epivigilia began to be used by the Chilean health network. This system supports the implementation of public health strategies for the notification, monitoring and control of the COVID-19 pandemic in Chile. Its versatility positions this platform among the few globally that operate national data in a pandemic with a high degree of granularity integrated into a single system [4].
In Chile, Epivigila is one of the main and most important sources of information for daily reports, epidemiological reports and governmental websites [4]. The main objective of Epivigila is to improve the quality of information for timely decision-making and execution of the necessary actions for the protection of the health of the population and to ensure compliance with information security standards. Epivigila strengthens surveillance processes through real-time monitoring of the occurrence of diseases with epidemic potential through strong articulation with the actors of the surveillance network. Additionally, it contributes to improving the management of outbreaks and epidemics once they are detected.
The notification process of Epivigila starts when the patient consults a clinician (public or private). When the clinician detects a suspected COVID-19 case, he or she must log in to Epivigilia and notify the case (see Figure 2).
The data are automatically routed to the Provincial Health Services, where they are validated, and then continue to the Regional Health Services to certify the cases reported. Subsequently, the data are forwarded to the Chilean Ministry of Health authorities to prepare daily epidemiological reports. In addition to the reporting of cases, the system also receives the notification of the reverse transcription polymerase chain reaction (RT-PCR) tests, which health authorities consider to be the only valid test for diagnosing COVID-19.
The epidemiological surveillance process allows the clinical characteristics of patients affected with COVID-19 to be known, which means that risk groups can be identified at an early stage. Indeed, studies such as [13,14] describe common characteristic symptoms and comorbidities in patients infected or who have died of COVID-19-related causes. However, when the amount of data to be processed is enormous and cannot be efficiently analysed by health professionals, the ability to identify risk groups early on is lost, limiting public health decision-making.

3.2. Data Pre-Processing

The Epivigila system has 1939 fields containing sensitive patient data, symptoms, diseases, and geographic locations, among other things. The total of patient records handled by Epivigila is 6,000,000. From this number, 600,000 (10%) correspond to confirmed cases and 5,400,000 (90%) correspond to suspects or discarded cases. The confirmed cases correspond to those patients tested for COVID-19 and confirmed as having COVID-19. The suspected patients are those who presented symptoms but were not confirmed or discarded. Finally, the discarded cases are those patients who tested negative for COVID-19. Through random sampling of the second group (suspects or discarded), we selected 600,000 cases in order to balance the classes. We separated the total cases (1,200,000) into 80% for training (960,000) and 20% for testing (240,000). Additionally, we selected 60,000 confirmed cases for validation (control group).
Given the vast volume of data, in this article, we propose an initial study focusing on symptoms and comorbidities using a reduced number of fields of the Epivigila system in order to evaluate the results of SVM, DT and RF in an optimal time frame. The original dataset contains different levels of suspicion with respect to COVID-19. For this study, we only consider the confirmed and rejected cases to perform a binary analysis of these classes. After identifying the cases, we proceed to clean the data to identify missing values. In this regard, we find two different types of data: (i) patients who do not report symptoms and (ii) comorbidities of patients who do not report symptoms. For the latter case, instead of eliminating these data, we have considered the value “no report” in order to know whether these data are relevant or not.
Consequently, in order to pre-process the symptom and comorbidity data, we used a binary vector that identifies the occurrence of the symptom and comorbidity with “1” and “0”, in case of absence. We model the vector as “1” if the symptom or comorbidity appears for the patient and “0” if it does not. Therefore, if the patient does not report a health problem that the health professional did not detect, it is marked as “no report” and has a “0” in our model. Additionally, we consider in the same vector the variable “none” when a patient has no symptoms. Table 1 describes the symptoms and comorbidities used in our study.

3.3. Learning Phase

As we depicted in Figure 1, a training set is used to train three machine learning algorithms, described as follows.

3.3.1. Support-Vector Machine (SVM)

A support-vector machine is one of the most popular supervised machine learning techniques which is focused on regression and classification tasks. The goal of SVM is to discover a hyperplane in N-dimensional space (N—the number of salient points) that particularly classifies information foci. Since SVM satisfies several classification properties, this technique is generally used in different types of research [5].
In our study, we use SVM type C [15]. This type of SVM minimizes the objective function for a C > 0 . This value is called the adjustment constant and is expressed by the following equation:
τ w , ξ = 1 2 | w | 2 + C ξ i i 1 m
where C is the penalty parameter of error that the degree of correct classification model can meet; w is the normal vector to the hyperplane; and ξ i is the support-vector error threshold variable. The constant C determines the trade-off between maximizing the margin and minimizing the training error.

3.3.2. Decision Tree (DT)

A decision tree is a classification technique aimed at optimizing both classification and regression of data [7]. DT uses a tree representation in which each leaf corresponds to a group of elements and a branch corresponds to a value recursively. DT uses the concept of entropy, which is defined by a variable Y whose potential values have probabilities p 1 , p 2 , . . . , p k . The estimation of Y is described as follows:
E n t r o p y ( Y ) = j p j l o g 2 ( p j )
The goal of a DT is to build a tree for all data and process an individual output on each leaf. The statistical property (better known as information gain) can determine how well an attribute separates a set of information based on the target classification. An attribute in a node with high information gain can organize the data better to improve classification accuracy. The following formula allows us to obtain the information gain I G of an attribute X in relation to a training data set D (where E is entropy):
I G ( D , X ) = E ( D ) v V a l u e s ( X ) D v D E ( D v )
In this equation, the set of values of attributes X is defined as V a l u e s ( X ) , and D v is the subset of D for which attribute X has a value v. The information gain is calculated for all attributes of a node in a tree. The attribute with the most significant information gain is selected as the best attribute that splits the data correctly.

3.3.3. Random Forest (RF)

Random forest corresponds to a set of regression and classification trees. RF trains training datasets called bootstraps and can combine them to obtain a more accurate result. Bootstraps are created from a random sampling of the training dataset [6]. RF can work with large, higher-dimensional data sets with comparatively higher accuracy. In our study, we consider the following training set, { ( x i , y i ) } i = 1 n , as input. Then, we initialize model with a constant value:
F 0 = argmin γ j = 1 n L ( y j , γ )
where F 0 is a constant value to initialize the model, and L ( y F ( x ) ) a differentiable loss function. Subsequently, for m = 1 , , M , we compute the pseudo-residuals as follows:
r i m = δ L ( y i , F ( x i ) δ L ( F ( x i ) F ( x ) F m 1 ( x ) , f o r i = 1 , , n
Then, we fit the base learner (tree) h m ( x ) to pseudo-residuals, i.e, train it using training set { ( x i , r i m ) } i = 1 n . We compute multipliers by solving the one-dimensional optimization problem as follows:
γ m = argmin γ j = 1 n L ( y j , F m 1 ( x i ) + γ h m ( x ) )
Finally, we update the model:
F m = F m 1 ( x i ) + γ h m ( x ) )

3.4. Performance Analysis

Each technique was trained on 80% of the available data and tested on 20%. To tune parameters, these were adjusted using 5-group cross-validation. For SVM, we used a linear kernel and C = 1 . We used 250 estimators for RF, and for DT, no tuning was used.
To distinguish between an actual class and the predicted class, we used the labels Y , N . Given a classifier and an instance, we have four possible outputs. If the instance is positive and the classification is positive, we obtain a true positive ( T P ); if it is classified as negative, we obtain a false negative ( F N ). In turn, if the instance is negative and is classified as negative, we obtain a true negative ( T N ); if it is classified as positive, we obtain a false positive ( F P ) [16].
The true positive rate ( t p R a t e ) is defined as follows:
t p R a t e = T P p = T P T P + F N
On the other hand, the false positive rate ( f p R a t e ) is defined as follows:
f p R a t e = F P N = F P F P + T N
Accordingly, we define the following metrics to assess the performance of SVM, DT, and RF.
p r e c i s i o n = T P T P + F P
r e c a l l = T P T P + F N
a c c u r a c y = T P + T N P + N
F 1 s c o r e = 2 T P 2 T P + F P + F N
S p e c i f i t y = T N T N + F P
Additionally, we use the area under the curve (AUC) [17] to organise our classifier and visualise its performance. This curve is commonly used in medical decision making and to evaluate the performance of machine learning and data mining.
We divided our dataset into four criteria (age 0–20, 21–60, 61–96 and 0–96). Subsequently, we separated our dataset into two parts: one part (70%) for training and another part (30%) for testing.

4. Results

4.1. Demographics

Regarding the range of 0 to 96 years of male subjects, the average age is 39 years and the interquartile range (IQR) is 27 to 53 for 3,533,360 (52.1%). Similarly, regarding the range of 0 to 96 years of female subjects, the average age is 38 years old and the IQR is 27 to 54 for 3,229,717 (47,9%).Table 2 shows the association of patient COVID-19 confirmations and some selected demographic information. Of those studied patients, 2,443,628 (36.0%) patients expressed symptoms, and 3,471,634 (51.1%) patients expressed comorbidities, whereas among confirmed patients, 79.3% developed symptoms. On the other hand, 19.7% of patients had headaches, which was the most frequent symptom, and 43.7% presented with high blood pressure, which was the most frequent comorbidity; their body temperature was equal to 36.5 centigrade degrees.
Figure 3 depicts the age-wise total number of patients. In the age range of 25 years to 65 years, the rate of individuals affected is higher than in children and other adults.
Figure 4 indicates the frequency of each symptom for all the patients, and Figure 5 describes the frequency for all the comorbidities.
Figure 6 and Figure 7 depict the percentage relative frequency of symptoms and comorbidities of confirmed and discarded patients.

4.2. Machine Learning Analysis

We identified the five most significant features (shown in Table 3) that are strictly related to COVID-19-positive status. In our analysis results we found that every algorithm achieved an accuracy score of 70% or above. The performances of our used algorithms for the different datasets are described in Table 4.
Table 5 depicts the accuracy measurement methods and their score for the age range of (i) 0 to 20 years, (ii) 21 to 60 years, (iii) 61 to 96 years and (iv) 0 to 96 years.
Regarding the range of 0 to 20 years, the precision for SVM is 0.613, which is the lowest. RF and DT have an identical score, which is 0.628. On the other hand, SVM provides the highest recall value with a score of 0.68, and the scores for RF and DT are 0.604 and 0.558, respectively. Concerning the F 1 -score, the highest value corresponds to SVM and is 0.645. Concerning AUC, SVM obtained the highest value. We observed that abdominal pain, dyspnoea and obesity were the most significant features in this age range.
Regarding the range of 21 to 60 years, the precision for SVM is 0.717, which is the lowest. RF achieves a score of 0.735, and DT achieves a score of 0.731. SVM provides the highest recall value with a score of 0.785, and the scores for RF and DT are 0.728 and 0.697, respectively. Regarding the F 1 -score, the highest value corresponds to SVM and is 0.749. Concerning AUC, SVM obtained the highest value. We observed that chronic lung disease, myalgia, and odynophagia were the most significant features in this age range.
Concerning the range of 61 to 96 years, the precision for SVM is 0.730, which is the highest. RF and DT score 0.717 and 0.718, respectively. SVM provides the highest recall value with a score of 0.811, and the scores for RF and decision tree are 0.690 and 0.607, respectively The highest value of F 1 -score corresponds to SVM and is 0.768. Concerning AUC, SVM obtained the highest value. We also observed that fever, cough, and asthma were the more significant features of this age range.
Finally, regarding the range of 0 to 96 years, the precision for SVM is 0.727, which is the lowest. RF achieves a score of 0.739, and DT achieves a score of 0.746, which is the highest. SVM provides the highest recall value with 0.798, and the scores for RF and DT are 0.740 and 0.684, respectively. Additionally, the F 1 -score for SVM is 0.761, which is the highest. Concerning AUC, SVM obtained the highest value. We observed that loss of taste, myalgia, and dyspnoea were the most significant features of this age range.

5. Discussion

The use of representative data from the universe of positive cases of COVID-19 in Chile has generated consistent scientific evidence, and this is of high value with respect to improving public health measures, such as protection strategies for susceptible populations and proposals for targeted vaccinations [18,19].
According to the results obtained in our study, SVM was the best performing technique in the detection of COVID-19 patients. SVM stood out from the other techniques because of the C parameter of the SVM, which indicates the degree of misclassification of each training set to be avoided. For large values of C, the optimization chooses a smaller margin hyperplane. which implies that the hyperplane does a better job of correctly classifying all training points. On the other hand, a small C value causes the optimizer to choose a large margin separator hyperplane, even if that hyperplane misclassifies many points.
Machine learning allows analyses to be established with a high volume of data, as observed in our study. The results obtained in our research can be the baseline for a predictive analysis of mortality in the Chilean population. This is consistent with the findings of Mahdavi et al., who used the support-vector machine technique to estimate mortality predictions [20]. In particular, the studies of different algorithms have compared each one according to the data obtained. In general, our results showed that random forest showed regular performance compared to SVM and DF. In other studies, RF has shown the best performance in a study with smaller data volumes than those obtained in our research [21].
This study gives results with a group of data representative of the national context. According to Mondal et al. in a review study, they concluded that the use of ML with symptomatology data and diagnostic tests is a beneficial application to diagnose patients infected with COVID-19 [22]. This same study indicated that it is relevant to conduct artificial intelligence studies with larger data sets [22].
The findings of the clinical manifestations concerning symptoms and comorbidities were consistent with the scientific evidence developed in countries such as Brazil, which shared a similar circulation of COVID-19 variants at the time of our study [23].
Concerning the limitations of our study, Epivigila contains more than 17,000,000 records that are updated daily. The number of COVID-19-positive cases in the system corresponds to more than 700,000 patients. Since processing this amount of data requires a more sophisticated technological infrastructure, this study uses a sample of 170,000 COVID-19-positive patients. We selected this number of patients because this number is the maximum amount of data that our current technological infrastructure can process. Although we cannot generalize the performance results of the machine learning techniques with this amount of data, the results obtained are promising for preliminary analyses of the symptoms and comorbidities of COVID-19-positive patients in order to support the quantitative analysis of the Chilean Ministry of Health.
In summary, our results have shown that machine learning can be useful in the field of epidemiology and public health. Having this type of tool can also facilitate, in the clinical field, potential applications for diagnosis or estimating the magnitude of the problem through the risk of mortality or forecasting infections. In fact, scientific evidence has shown its usefulness in diagnostic tools using imaging data [24], epidemiological forecasts [25] and the transfer of scientific knowledge to the practices of health workers [26].

6. Conclusions

This article presents a study about the analysis of three machine learning techniques, support-vector machine (SVM), decision tree (DT), and random forest (RF), to determine whether a patient has COVID-19 or not based on symptoms and comorbidities managed by the Chilean epidemiological surveillance system Epivigila. From a total of more than 600,000 COVID-19-positive patients reported by the Epivigila system, we selected a sample of patients to test the performance of the techniques. The results obtained by our study allow us to verify that SVM performed better than RF and DT for detecting infected patients using a large volume of data. Due to the hyperplane selection properties of SVM, the training in which we chose all points to classify symptoms and comorbidities is optimal compared to RF and DT.
Our future work will focus on developing and deploying a more robust technological infrastructure to process the full range of COVID-19-positive patients. Additionally, we are defining a work plan that consists of proposing algorithms and techniques for both machine learning and big data to process Epivigila COVID-19 patient data in order to forecast and evaluate new symptoms and comorbidities to support healthcare decision-making in Chile.

Author Contributions

P.O.: Writing—Original Draft, Review & Editing, G.M.: Writing—Original Draft, Review & Editing, C.G.-N.: Writing—Review & Editing, C.T.: Conceptualization, Writing—Review & Editing, Project administration, Funding acquisition. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by ANID—Millennium Science Initiative Program—Millennium Nucleus on Sociomedicine—NCS2021_013.

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki, and approved by the Institutional Review Board of the Faculty of Medicine at the University of Valparaiso, Chile (Approval N° 15/2020, 19 November 2020).

Informed Consent Statement

Patient consent was waived due to a decision accepted by the ethics committee.

Acknowledgments

We thank the project COVID0739 and the project FONDECYT Regular 1201787: “Multimodal Machine Learning approach for detecting pathological activity patterns in elderlies” financed by the Agencia Nacional de Investigación (ANID). We also thank to the National Centre for Health Information Systems (CENS), Chile.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
Chilean Ministry of HealthMINSAL
Epidemiological surveillance systemEpivigila
Support-vector machineSVM
Random forestRF
Decision freesDT
Harmonic mean between precision and recall F 1 -score
The area under the curveAUC

References

  1. Kolbe, L.J. An Epidemiological Surveillance System to Monitor the Prevalence of Youth Behaviors That Most Affect Health. Health Educ. 1990, 21, 44–48. [Google Scholar] [CrossRef]
  2. Thacker, S.; Parrish, R.G.; Trowbridge, F. A method for evaluating systems of epidemiological surveillance. World Health Stat. Q. Rapp. Trimest. Stat. Sanit. Mond. 1988, 41, 11–18. [Google Scholar]
  3. Nogueira, R.; Davies, J.; Gupta, R.; Hassan, A.; Devlin, T.; Haussen, D.; Mohammaden, M.; Kellner, C.; Arthur, A.; Elijovich, L.; et al. Epidemiological surveillance of the impact of the COVID-19 pandemic on stroke care using artificial intelligence. Stroke 2021, 52, 1682–1690. [Google Scholar] [CrossRef] [PubMed]
  4. Chilean Ministry of Health. Epidemiological Surveillance System EPIVIGILA. 2022. Available online: http://epi.minsal.cl/sistema-de-vigilancia-epidemiologica-Epivigila-antecedentes/ (accessed on 20 June 2022).
  5. Noble, W. What is a support vector machine? Nat. Biotechnol. 2006, 24, 1565–1567. [Google Scholar] [CrossRef] [PubMed]
  6. Cutler, A.; Cutler, D.R.; Stevens, J.R. Random forests. In Ensemble Machine Learning; Springer: Berlin/Heidelberg, Germany, 2012; pp. 157–175. [Google Scholar] [CrossRef]
  7. Safavian, S.R.; Landgrebe, D. A survey of decision tree classifier methodology. IEEE Trans. Syst. Man Cybern. 1991, 21, 660–674. [Google Scholar] [CrossRef] [Green Version]
  8. Ahamad, M.; Aktar, S.; Rashed-Al-Mahfuz, M.; Uddin, S.; Liò, P.; Xu, H.; Summers, M.A.; Quinn, J.M.W.; Moni, M.A. A machine learning model to identify early stage symptoms of SARS-Cov-2 infected patients. Expert Syst. Appl. 2020, 160, 113661. [Google Scholar] [CrossRef] [PubMed]
  9. Aydin, N.; Yurdakul, G. Assessing countries’ performances against COVID-19 via WSIDEA and machine learning algorithms. Expert Syst. Appl. 2020, 97, 106792. [Google Scholar] [CrossRef]
  10. Awal, M.; Masud, M.; Hossain, M.S.; Bulbul, A.A.M.; Mahmud, S.H.; Bairagi, A.K. A novel bayesian optimization-based machine learning framework for COVID-19 detection from inpatient facility data. IEEE Access 2020, 97, 106792. [Google Scholar] [CrossRef] [PubMed]
  11. Monaghan, C.; Larkin, J.W.; Chaudhuri, S.; Han, H.; Jiao, Y.; Bermudez, K.M.; Weinhandl, E.D.; Dahne-Steuber, I.A.; Belmont, K.; Neri, L.; et al. Machine Learning for Prediction of Hemodialysis Patients with an Undetected SARS-CoV-2 Infection. Kidney360 2021, 2, 456–468. [Google Scholar] [CrossRef]
  12. Shaban, W.; Rabie, A.H.; Saleh, A.I.; Abo-Elsoud, M.A. Detecting COVID-19 patients based on fuzzy inference engine and Deep Neural Network. Appl. Soft Comput. 2021, 99, 106906. [Google Scholar] [CrossRef]
  13. Jain, V.; Yuan, J.M. Predictive symptoms and comorbidities for severe COVID-19 and intensive care unit admission: A systematic review and meta-analysis. Int. J. Public Health 2020, 65, 533–546. [Google Scholar] [CrossRef] [PubMed]
  14. Huang, Y.; Radenkovic, D.; Perez, K.; Nadeau, K.; Verdin, E.; Furman, D. Modeling Predictive Age-Dependent and Age-Independent Symptoms and Comorbidities of Patients Seeking Treatment for COVID-19: Model Development and Validation Study. J. Med. Internet Res. 2021, 23, e25696. [Google Scholar] [CrossRef] [PubMed]
  15. Hsia, J.Y.; Lin, C.J. Parameter selection for linear support vector regression. IEEE Trans. Neural Netw. Learn. Syst. 2020, 31, 5639–5644. [Google Scholar] [CrossRef]
  16. Baeza-Yates, R.; Ribeiro-Neto, B. Modern Information Retrieval; ACM Press: New York, NY, USA, 1999. [Google Scholar]
  17. Pepe, M. Receiver operating characteristic methodology. J. Am. Stat. Assoc. 2000, 95, 308–311. [Google Scholar] [CrossRef]
  18. Manríquez, R.; Guerrero-Nancuante, C.; Martínez, F.; Taramasco, C. Spread of Epidemic Disease on Edge-Weighted Graphs from a Database: A Case Study of COVID-19. Int. J. Environ. Res. Public Health 2021, 18, 4432. [Google Scholar] [CrossRef]
  19. Manríquez, R.; Guerrero-Nancuante, C.; Taramasco, C. Protection Strategy against an Epidemic Disease on Edge-Weighted Graphs Applied to a COVID-19 Case. Biology 2021, 10, 667. [Google Scholar] [CrossRef]
  20. Mahdavi, M.; Choubdar, H.; Zabeh, E.; Rieder, M.; Safavi-Naeini, S.; Jobbagy, Z.; Ghorbani, A.; Abedini, A.; Kiani, A.; Khanlarzadeh, V.L.R.; et al. A machine learning based exploration of COVID-19 mortality risk. PLoS ONE 2021, 16, e0252384. [Google Scholar] [CrossRef]
  21. Moulaei, K.; Shanbehzadeh, M.; Mohammadi-Taghiabad, Z.; Kazemi-Arpanahi, H. Comparing machine learning algorithms for predicting COVID-19 mortality. BMC Med. Inform. Decis. Mak. 2022, 22, 2. [Google Scholar] [CrossRef]
  22. Mondal, M.R.H.; Bharati, S.; Podder, P. Diagnosis of COVID-19 Using Machine Learning and Deep Learning: A Review. Curr. Med. Imaging 2021, 17, 1403–1418. [Google Scholar] [CrossRef]
  23. de Souza, W.M.; Buss, L.F.; Candido, D.S.; Carrera, J.P.; Li, S.; Zarebski, A.E.; Pereira, R.H.M.; Prete, C.A.; de Souza-Santos, A.A.; Parag, K.V.; et al. Epidemiological and clinical characteristics of the COVID-19 epidemic in Brazil. Nat. Hum. Behav. 2020, 4, 856–865. [Google Scholar] [CrossRef]
  24. Montazeri, M.; ZahediNasab, R.; Farahani, A.; Mohseni, H.; Ghasemian, F. Machine Learning Models for Image-Based Diagnosis and Prognosis of COVID-19: Systematic Review. JMIR Med. Inform. 2021, 9, e25181. [Google Scholar] [CrossRef] [PubMed]
  25. Sujath, R.; Chatterjee, J.M.; Hassanien, A.E. A machine learning forecasting model for COVID-19 pandemic in India. Stoch. Environ. Res. Risk Assess. 2020, 34, 959–972. [Google Scholar] [CrossRef] [PubMed]
  26. Syeda, H.B.; Syed, M.; Sexton, K.W.; Syed, S.; Begum, S.; Syed, F.; Prior, F.; Yu, F., Jr. Role of machine learning techniques to tackle the COVID-19 crisis: Systematic review. JMIR Med. Inform. 2021, 9, e23811. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Proposed methodology.
Figure 1. Proposed methodology.
Ijerph 19 08058 g001
Figure 2. Epidemiological surveillance process conducted in Chile.
Figure 2. Epidemiological surveillance process conducted in Chile.
Ijerph 19 08058 g002
Figure 3. Distribution of confirmed patients by age.
Figure 3. Distribution of confirmed patients by age.
Ijerph 19 08058 g003
Figure 4. Symptoms frequency.
Figure 4. Symptoms frequency.
Ijerph 19 08058 g004
Figure 5. Comorbilities frequency.
Figure 5. Comorbilities frequency.
Ijerph 19 08058 g005
Figure 6. Relative frequency (percentage) of symptoms in confirmed and discarded patients.
Figure 6. Relative frequency (percentage) of symptoms in confirmed and discarded patients.
Ijerph 19 08058 g006
Figure 7. Relative frequency (percentage) of comorbilities in confirmed and discarded patients.
Figure 7. Relative frequency (percentage) of comorbilities in confirmed and discarded patients.
Ijerph 19 08058 g007
Table 1. Symptoms and comorbidities used in our study.
Table 1. Symptoms and comorbidities used in our study.
SymptomsComorbidities
TachypnoeaAsthma
OdynophagiaChronic kidney disease
CyanosisChronic lung disease
Abdominal painHigh blood pressure
HeadacheObesity
FeverImmunocompromised patient
DiarrhoeaChronic heart disease
Loss of tasteDiabetes
MyalgiaChronic neurological disease
Chest painChronic liver disease
ProstrationCardiovascular disease
Dyspnoea
Cough
Loss of smell
Table 2. Male and female demographics.
Table 2. Male and female demographics.
All PatientsSuspectedConfirmedTotal
Mean age (interquartile range)37 (27–52)36 (26–51)39 (28–54)
Male gender (%)52.1%52.7%51.2%
Female gender (%)47.9%47.3%48.8%
Have symptoms (%)52.6%33.3%79.3%
Table 3. Top 5 features reported by SVM, RF and DT techniques categorized by age ranges.
Table 3. Top 5 features reported by SVM, RF and DT techniques categorized by age ranges.
DatasetTechniqueTop 5 Features
1st2nd3rd4th5th
Age (0–20)SVMAbdominal painLoss of tasteChronic kidney diseaseTachypneaChronic liver disease
RFChronic heart diseaseOdynophagiaDiarrhoeaCoughFever
DTAbdominal painOdynophagiaDiarrhoeaLoss of smellCough
Age (21–60)SVMAbdominal painHigh blood pressureChronic kidney diseaseAsthmaDiabetes
RFAbdominal painDiarrhoeaChronic heart diseaseCoughFever
DTAbdominal painCoughOdynophagiaDyspnoeaChronic heart disease
Age (61–96)SVMAbdominal painDiabetesLoss of tasteOdynophagiaFever
RFAbdominal painCoughDiarrhoeaChronic heart diseaseFever
DTAbdominal painCoughDiarrhoeaChronic heart diseaseFever
Age (0–96)SVMAbdominal painChronic lung diseaseImmunocompromised patientDiabetesLoss of taste
RFAbdominal painCoughDiarrhoeaChronic heart diseaseFever
DTAbdominal painChronic heart diseaseCoughCardiovascular diseaseOdynophagia
Table 4. Precision, recall, F 1 -score, specificity, and AUC results for SVM, RF and DT techniques categorized by age ranges. Intense red indicates the highest values.
Table 4. Precision, recall, F 1 -score, specificity, and AUC results for SVM, RF and DT techniques categorized by age ranges. Intense red indicates the highest values.
DatasetTechniquePrecisionRecall F 1 -ScoreSpecificityAUC
SVM0.6130.6800.6450.5740.640
Age (0–20)RF0.6280.6040.6160.7120.636
DT0.6280.5580.5910.7370.626
Age (21–60)SVM0.7170.7850.7490.7050.739
RF0.7350.7210.7280.7580.732
DT0.7310.6670.6970.7920.712
Age (61–96)SVM0.7300.8110.7680.6870.753
RF0.7170.6900.7040.7470.705
DT0.7180.6070.6580.7790.680
Age (0–96)SVM0.7270.7980.7610.6810.748
RF0.7390.7400.7400.7400.738
DT0.7460.6840.7130.7840.724
Table 5. SVM, RF and DT accuracy results categorized by age range. Intense red indicates the highest values.
Table 5. SVM, RF and DT accuracy results categorized by age range. Intense red indicates the highest values.
0–20 Years21–60 Years61–96 Years0–96 Years
SVMRFDTSVMRFDTSVMRFDTSVMRFDT
Abdominal Pain0.97120.07110.19460.99620.19730.55650.99300.17230.43040.99190.18590.4294
Asthma0.00160.03460.05270.00020.02110.02160.00000.04210.03590.00000.00530.0055
Cardiovascular disease0.00000.04580.03790.00000.02890.01970.00000.01600.02310.00000.03080.0395
Chest pain0.00010.03630.04840.00000.00420.00390.00000.01320.01690.00000.03120.0187
Chronic heart disease0.00010.09460.02760.00000.10430.02920.00000.06760.03310.00000.08130.0657
Chronic kidney disease0.11980.00520.00460.06320.00360.00430.00000.01370.01250.00000.01110.0141
Chronic liver disease0.08490.00280.00490.00000.01520.01660.00000.01340.01040.00000.00390.0045
Chronic lung disease0.00030.01160.00930.00000.01260.01700.00000.02240.00760.00010.02880.0247
Chronic neurological disease0.00000.00290.00140.00000.01060.00940.00000.00880.00680.00000.00270.0003
Cough0.00000.07930.06170.00000.08860.03340.00000.10320.02830.00000.08790.0566
Cyanosis0.00020.06390.05160.00000.03080.01300.00000.03040.03020.00000.03260.0102
Diabetes0.00070.02750.03670.00000.01930.02030.00000.01690.01700.00000.01480.0157
Diarrhoea0.00000.08200.06800.00000.12210.01680.00000.07700.04320.00000.08630.0303
Dyspnoea0.00010.03900.03940.00000.02680.02970.00000.05180.04650.00000.04030.0333
Fever0.00000.07340.04640.00000.07440.02120.00000.06060.00930.00000.06520.0107
Headache0.02830.00100.00220.00000.00010.00000.00000.00350.00260.00000.00140.0036
High blood pressure0.00010.00350.00160.10190.00080.00120.00000.01520.01640.00000.00600.0054
Immunocompromised patient0.00010.00100.00180.00000.00120.00200.00000.01730.01730.00000.02750.0299
Loss of smell0.00010.06250.06450.00000.03290.01740.00000.03050.02680.00000.03750.0270
Loss of taste0.47910.05210.04900.00000.02490.02680.00000.02280.01930.00000.02590.0281
Myalgia0.00000.04870.04050.00000.04850.02570.00000.01580.01920.00000.04350.0253
Obesity0.00000.00160.00130.00000.00300.00300.00000.03510.01680.00000.01930.0170
Odynophagia0.00000.08200.08020.00000.05760.03160.00000.02770.03180.00000.05900.0380
Prostration0.00000.00430.00560.00000.00130.00070.00000.00870.01290.00000.00780.0063
Tachypnea0.11290.00610.01050.00000.02450.02330.00000.03760.01740.00000.00890.0047
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ormeño, P.; Márquez, G.; Guerrero-Nancuante, C.; Taramasco, C. Detection of COVID-19 Patients Using Machine Learning Techniques: A Nationwide Chilean Study. Int. J. Environ. Res. Public Health 2022, 19, 8058. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph19138058

AMA Style

Ormeño P, Márquez G, Guerrero-Nancuante C, Taramasco C. Detection of COVID-19 Patients Using Machine Learning Techniques: A Nationwide Chilean Study. International Journal of Environmental Research and Public Health. 2022; 19(13):8058. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph19138058

Chicago/Turabian Style

Ormeño, Pablo, Gastón Márquez, Camilo Guerrero-Nancuante, and Carla Taramasco. 2022. "Detection of COVID-19 Patients Using Machine Learning Techniques: A Nationwide Chilean Study" International Journal of Environmental Research and Public Health 19, no. 13: 8058. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph19138058

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop