Literature DB >> 34064735

Future Forecasting of COVID-19: A Supervised Learning Approach.

Mujeeb Ur Rehman1, Arslan Shafique1, Sohail Khalid1, Maha Driss2,3, Saeed Rubaiee4.   

Abstract

A little over a year after the official announcement from the WHO, the COVID-19 pandemic has led to dramatic consequences globally. Today, millions of doses of vaccines have already been administered in several countries. However, the positive effect of these vaccines will probably be seen later than expected. In these circumstances, the rapid diagnosis of COVID-19 still remains the only way to slow the spread of this virus. However, it is difficult to predict whether a person is infected or not by COVID-19 while relying only on apparent symptoms. In this context, we propose to use machine learning (ML) algorithms in order to diagnose COVID-19 infected patients more effectively. The proposed diagnosis method takes into consideration several symptoms, such as flu symptoms, throat pain, immunity status, diarrhea, voice type, body temperature, joint pain, dry cough, vomiting, breathing problems, headache, and chest pain. Based on these symptoms that are modelled as ML features, our proposed method is able to predict the probability of contamination with the COVID-19 virus. This method is evaluated using different experimental analysis metrics such as accuracy, precision, recall, and F1-score. The obtained experimental results have shown that the proposed method can predict the presence of COVID-19 with over 97% accuracy.

Entities:  

Keywords:  COVID-19; forecasting; random forest; statistical analysis; supervised learning

Mesh:

Year:  2021        PMID: 34064735      PMCID: PMC8150959          DOI: 10.3390/s21103322

Source DB:  PubMed          Journal:  Sensors (Basel)        ISSN: 1424-8220            Impact factor:   3.576


1. Introduction

Over the last few decades, machine learning (ML) has gained a great deal of attention from researchers due to its capacity for solving complex real-world problems. ML can be applied to a range of significant research domains, including natural language processing, healthcare, business applications, intelligent robotic design, gaming, and image processing, among others. ML algorithms work on trial and error-based methodologies. In the development of ML models, initial training of the model is required, followed by a testing phase. Based on the results from the testing phase, error rate and misclassification are calculated [1]. One of the most popular purposes for which ML has been applied is forecasting [2,3,4,5]. Several ML algorithms have been used to predict future events in applications such as weather forecasting and disease diagnosis. In the latter case, various classification and regression algorithms, such as Support Vector Machine (SVM) and logistic regression have been used to detect different kinds of diseases [6,7]. A plethora of studies have been performed to assess how ML can predict diseases such as cardiovascular disease [8], heart disease [9], coronary artery disease [10], and breast cancer [11]. Aside from the aforementioned diseases, whose dangers but also diagnoses are richly documented, nowadays, COVID-19 presents a real global health crisis for humanity and a big new challenge to be undertaken. Today, scientists continue to perfect vaccines, but prevention and early diagnosis remain the most effective ways to protect people in the meantime. Symptoms of COVID-19 typically appear within 2 to 14 days of infection, depending on co-morbidity with Severe Acute Respiratory Syndrome (SARS). The World Health Organization (WHO) declared that the most common symptoms of COVID-19 include: a dry cough, fatigue, and flu-like symptoms, while severe cases show symptoms such as high fever, shortness of breath, and chest pain [12]. It is evident from [13] that if a person is infected with COVID-19, then the probability is high that the person will have chest pain and his/her voice will be hoarse [13]. Patients with co-morbidities, such as asthma, heart disease and pre-existing cardiovascular risk factors are more prone to COVID-19 infection, moreover these vulnerable patients exhibit worse and unpredictable outcomes [14]. Beyond the observations of these symptoms within this time period, a diagnosis often occurs around recent travel history. Severe symptoms of COVID-19 are still observed because: (1) the vaccine is a disease prevention strategy; (2) the available vaccines are not distributed on a basis of equitable and accessible sharing across countries around the world; (3) the number of people fully vaccinated is still considered very low today. Antipyretic drugs such as hydroxychloroquine have also been considered for symptomatic treatment. Beyond symptomatic treatment, though, precautions such as washing hands regularly, wearing a mask, 6 ft distancing, and washing hands reduce the spread COVID-19. As of 27 February 2021, there have been almost 3.7 million confirmed cases of COVID-19 around the globe, while more than a million people have died from the virus or its complications. Among the confirmed cases, approximately 955,000 persons have recovered [15]. Since hundreds of thousands are affected on a global scale daily, it is not possible to test every person manually. In this case, to supplement manual clinical procedures, learning algorithms that are capable of detecting future events could prove vitally helpful to detecting the virus quickly and with high accuracy. In addition, the problem of detecting COVID-19 may be solved with the help of image or textual data. In [16], a technique for predicting COVID-19 using images by integrating a machine learning (ML) algorithm is presented, which researchers have shown achieved 86% accuracy. However, an algorithm based on images may be computationally complex, taking up precious time and resources when time is quite literally of the essence for COVID-19. Therefore, to avoid this kind of complexity, we have used textual data for the detection of COVID-19. For ML models, vast data sets are required for classification purposes [17]. This is worth noting because most researchers’ ML work on detecting COVID-19 has achieved around 90% average accuracy, which is not enough to predict such a deadly virus when the stakes are this high. Even a minor mistake may result in human death, and at the scale COVID-19 is affecting world populations, minor mistakes will magnify deaths to many thousands of times that number. Therefore, it is necessary to achieve the maximum possible accuracy in any ML model being used to detect COVID-19. In order to achieve the desired task, we have used different symptoms as features such as flu- and cold-like symptoms, throat pain, immunity, diarrhea, voice type, body temperature (Celsius), joint pain, dry cough, vomiting, breathing problems, headache, and chest pain. Chest pain can be distinguished from pneumonia in X-ray images. Pneumonia disease can be diagnosed as upper abdominal pain, especially if the lung inflammation is next to the diaphragm. Aortic dissection can be diagnosed with chest pain, abdominal pain, or both, depending upon where the dissection occurs. Therefore, if a person has pneumonia, there is a high probability that he/she will have chest pain. Based on these features, our model predicts whether or not the person is infected with COVID-19. The detail of the proposed work is given in Section 3.2. The remainder of this paper is organized as follows: Following this Section 1 introduction, we provide a literature review of ML techniques that have been used to detect COVID-19. Section 3 then provides an overview of data representation and collection pertaining to this work. Section 3.2 is devoted to the work we are proposing. Finally, Section 4 and Section 5 provide the performance analysis and the conclusion of the proposed work, respectively. Abbreviations used in this work are listed below:

1.1. Contributions of the Work

Given the present situation in early spring 2021, the detection and treatment of COVID-19 combine to form a high demand, and also highly demanding, research area. For the detection of COVID-19 in particular, our key findings and contributions in this work are as follows: We have developed a forecasting scheme that can predict the presence of COVID-19 accurately, this scheme can be easily implanted using a mobile application. The proposed approach uses classification learning algorithms such as Naïve Bayes (NB), Support Vector Machine (SVM), Decision Tree (DT), Random Forest (RF), and K-nearest neighbors (KNN). Contrarily to the traditional methods, we have used an ensemble-based method that gives higher accuracy. In this research, a K-fold analysis is also performed for the selection of a specific portion of the dataset, and as a result, the proposed model gives the highest accuracy. After performing the K-fold analysis, we have developed different learning models named “K-learning models”. These models are constructed for the implementation of ensemble-based learning techniques. The proposed model is validated using a number of metrics such as F1-score, accuracy, precision, and recall. In the context of COVID-19 detection, misclassifications might prove very costly in terms of human lives if a model inaccurately detects false positives, and thus we have validated the proposed model with the aforementioned accuracy metrics.

1.2. Motivations

COVID-19 was identified in 2019, and officially declared a pandemic by the WHO in March 2020. Since then, millions of people have been infected with COVID-19 and at least a million have died as the virus spread rapidly. Even as vaccines have been developed, hundreds of thousands of people are affected in employment, education, and other environments daily, mostly through close contact with other persons who carry the virus. Given its transmission methods and infection rate, COVID-19 cases are still increasing exponentially. These circumstances underline the need for the detection of COVID-19 presence as soon as possible, in order to protect those who do not yet have been infected. To achieve this purpose, we aim to design a machine-learning-based forecasting model that can accurately predict COVID-19 infections.

2. Literature Review

Natural language processing (NLP) and machine learning (ML) [18] use a significant amount of data in order to prepare pattern recognition, prediction, and explanation. Regardless of this potential downside, machine learning (ML) algorithms in particular can still be used to solve several types of problems, such as classification and regression problems. Classification is one of the most crucial tasks in text mining and can be performed using several algorithms [19,20,21,22]. Kumar et al. [23] performed various analyses on both supervised and unsupervised text mining-based classification algorithms. Chakraborti et al. [24] had proposed a methodology of detecting epilepsy using ML techniques and artificial neural networks (ANN). Sarwar et el. [25] used ML for the diagnosis of diabetes, achieving 98% accuracy.These techniques can be fruitful for the detection and diagnosis of COVID-19. Firm and accurate analysis and diagnosis of COVID-19 can save thousands, if not millions, of lives while also producing large amounts of data that can be used to train and produce more robust ML models for the detection of this deadly virus. For example, Bullock et al. [26] have claimed that deep learning (DL) and machine learning ML can replace manual diagnosis by creating accurate models that can detect disease in less time and with less complexity. ML diagnosis techniques can also be more cost effective, including for COVID-19. Computed tomography (CT) and X-ray images can be used to train ML models to achieve the desired tasks. For example, Wang and Wong [27] have proposed a deep neural network (DNN)-based technique to diagnose COVID-19 from chest radiography images, but this approach still leaves questions unanswered, such as individual intensity of symptoms and priority for treatment. Brinati et al. [16] addressed the vulnerabilities that exist in a reverse transcription-polymerase chain reaction (RT-PCR). To overcome the addressed shortcoming, two machine learning models for the detection of COVID-19 are proposed using hematochemical values which are drawn from 279 patients in which 177 patients resulted positive while the remaining are healthy persons. Although the shortcomings highlighted by Brinati et al. [16] are overcome by developing the machine learning model, but the accuracy achieved by the proposed model was 82% to 86%, which is not acceptable for accurate detection of disease. Asif et al. [28] proposed a machine learning model to categorize the healthy and COVID-19 patients. The aim was to detect COVID-19 automatically using machine learning techniques in which chest X-ray images are taken as a dataset which consists of 864 COVID-19 patients images, 1345 viral pneumonia and 1341 healthy person chest X-ray images. Using the methodology proposed in [28], the test accuracy achieved was 96%. A deep leering method nCOVnet was used for the fast detection of COVID-19 in [29] that uses X-rays of patients to detect the affected persons. For the automatic classification of COVID-19 and healthy patients, Kassani et al. [30] compared several deep learning-based feature extraction models. The extracted features are then used in a machine learning model to predict whether the person is affected by COVID-19 or not. This approach was quite fast because there is no preprocessing stage involved. To evaluate the performance of the proposed model, a publicly available COVID-19 dataset which includes the X-ray and computed tomography (CT) images was used and the accuracy of the proposed model was 98%. Yan et al. [31] proposed a prognostic prediction algorithm using ML models to predict the mortality risk of COVID-19 for specific patients. Likewise, Jiang et al. [32] proposed an ML model to detect COVID-19 affected persons, which offered approximately 80% accuracy. However, there has been much less work that uses textual data for COVID-19 prediction. In addition, the work that has already been proposed for COVID-19 detection is not accurate enough that it can be utilized to declare, in full confidence, whether or not a particular person is affected with COVID-19 or not. Therefore, by incorporating textual data, we are proposing a more accurate model that utilizes machine learning algorithms for the more accurate prediction of COVID-19. To further verify our work, we have also tested the proposed model on different machine learning algorithms such as linear regression, Naïve Bayes, decision tree, random forest, and support vector machine with different kernels (polynomial, linear, rbf, and sigmoid). After such extensive testing, we have chosen Three-Way Random Forest [33] because this is the best candidate, producing higher accuracy than the other machine learning algorithms mentioned above.

3. Material and Methods

The training data for both healthy and patients infected with COVID-19 are collected from publicly accessible X-ray images [34]. The images obtained are of different sizes and image quality, so that characteristics such as contrast, sharpness, and brightness levels are different for almost all of these images. X-ray images are useful in the diagnosis of some of the rare causes of acute diarrhea. Findings on an X-ray images indicate that organic causes of acute diarrhea include intestinal dilation, irregular mucosal surface, and increased luminal fluid. For the observation of diarrhea, different patterns can be observed in X-ray images. Figure 1 shows that healthy/normal patients and COVID-19 infected patients have different patterns in their respective X-ray images. There are different patterns for recognizing the symptoms of COVID-19 that can be obtained from X-ray image. The detail of these symptoms from an X-ray images is given in [35].
Figure 1

X-ray images for healthy and COVID-19 infected patients: (a–d) Normal patients X-ray (e–h) COVID-19 infected patients X-ray.

When attempting to diagnose an individual with COVID-19, there are numerous necessary parameters/symptoms to consider, which include flu-like symptoms, throat pain, and immunity (gut flora), diarrhea, voice type (refers to the voice condition, i.e., voice is hoarse or normal. Value “0” is assigned for normal voice. Whereas value 1 is assigned for hoarse voice), body temp (Celsius), joint pain, dry cough, vomiting, breathing problems, chest weight, and headache. However, not all symptoms are present in every COVID-19 case, and likewise, the intensity of each symptom may differ by patient. For instance, if a person is suffering from a normal fever (98F or 99F), then it is not necessarily a given that this person has COVID-19, where fevers tend to run to more than 100 F [36]. Similarly, there are specific intensities for other COVID-19 symptoms that may be common to multiple illnesses.

3.1. Prepossessing

The data utilized in this work are in the form of X-ray images, which are useful for detecting lung and liver infections as well as COVID- 19 [37]. Common features that can be observed through X-ray images are chest pain, diarrhea, and viral pneumonia features [7,34,38]. In the early stages of COVID-19, though, X-ray images do not show any abnormalities related to the virus. However, as the disease progresses, abnormalities related to chest pain, diarrhea, and pneumonia do become noticeable in the X-ray images, as shown in Figure 1. In Figure 1a–d, one can see normal patient X-ray and Figure 1e–h highlights COVID-19 infected patients X-ray. We have translated this data into some statistical values. For instance, if a person is experiencing chest pain, the statistical value for the corresponding situation will be 1 and vice versa. Similarly, we have assigned numeric values corresponding to the presence of each symptom, in which 1 is assigned to ‘Yes’ and 0 is assigned to ‘No.’ When numbers other than 1 or 0 are used, these demonstrate the intensity of that symptom.The value 0 represents that a specific symptom is not present, 1 shows that the symptom is at initial stage and 2 shows that a symptom is at the highest stage. We have used general mathematical rules known as ‘Rule of Rounding. In the proposed work, we have used the data × greater than in which M and N shows the number of rows and number of columns. Moreover, M shows the number of patients and N number of features used in the proposed work to achieve the desired task. Table 1 shows a portion of the dataset that has been used in this work. Table 1 was generated using X-ray images. These X-ray images are for healthy and COVID-19 infected patients. Features are extracted from X-ray images and different values (0, 1 and 2) are assigned. Features are extracted on the basis of the patterns observed in the X-ray images. The representation of the dataset is given in Table 2. To represent the whole dataset that is used in the proposed work, violin plots are shown in Figure 2 corresponding to each feature used in the dataset.
Table 1

Some portion of the proposed dataset.

Patient No.FlueThroat PainImmunity (Gut Flora)DiarrheaVoice TypeBody Temp (°C)Smelling IssuesJoint PainDry CoughVomitingBreathing ProblemHeadacheChest PainCOVID-19 Yes/No
Patient-100111360000000COVID-19 is not detected
Patient-210100360000000COVID-19 is not detected
Patient-300001360101000COVID-19 is not detected
Patient-410010371101010COVID-19 is not detected
Patient-510100360000010COVID-19 is not detected
Patient-610100371100000COVID-19 is not detected
Patient-71010036.51000000COVID-19 is not detected
Patient-810101371101000COVID-19 is not detected
Patient-910101360001000COVID-19 is not detected
Patient-1011101371100110COVID-19 is not detected
Patient-1110101371100110COVID-19 is not detected
Patient-1210101371100100COVID-19 is not detected
Patient-1311101360000100COVID-19 is not detected
Patient-1411101371101100COVID-19 is not detected
Patient-1511000371101100COVID-19 is not detected
Patient-1601000360000110COVID-19 is not detected
Patient-1701000360010110COVID-19 is not detected
Patient-1801000360100110COVID-19 is not detected
Patient-1901011360100110COVID-19 is not detected
Patient-2001010360100110COVID-19 is not detected
Patient-2110100360001101COVID-19 is not detected
Patient-2210100360001000COVID-19 is not detected
Patient-231010036.50000000COVID-19 is not detected
Patient-241101136.51110011COVID-19 is not detected
Patient-251101136.51100011COVID-19 is not detected
Patient-261101136.51100010COVID-19 is not detected
Patient-2711101372100000COVID-19 is not detected
Patient-2800100362000000COVID-19 is not detected
Patient-290110036.52000000COVID-19 is not detected
Patient-3001101372000000COVID-19 is not detected
Patient-3101100362000000COVID-19 is detected
Patient-3201101361000101COVID-19 is detected
Patient-3300100361000100COVID-19 is detected
Patient-3410101361000100COVID-19 is detected
Patient-351010036.51000101COVID-19 is detected
Patient-3610102372000110COVID-19 is detected
Patient-3711100361100011COVID-19 is detected
Patient-3810101372101000COVID-19 is detected
Patient-3911100371101011COVID-19 is detected
Patient-4012102360001010COVID-19 is detected
Patient-412211236.50001111COVID-19 is detected
Patient-422001236.50000000COVID-19 is detected
Patient-432100036.50011101COVID-19 is detected
Patient-4420011370011000COVID-19 is detected
Patient-4512001370010001COVID-19 is detected
Patient-4611112371011011COVID-19 is detected
Patient-4712102360000101COVID-19 is detected
Patient-4802110361001111COVID-19 is detected
Patient-4920100361101001COVID-19 is detected
Patient-5010010361000010COVID-19 is detected
Patient-5112012371121212COVID-19 is detected
Patient-5211011372211111COVID-19 is detected
Patient-531100237.51211222COVID-19 is detected
Patient-541101237.52211122COVID-19 is detected
Patient-551100237.52111111COVID-19 is detected
Patient-56110123752222212COVID-19 is detected
Patient-571100237.51222222COVID-19 is detected
Patient-581100237.51122222COVID-19 is detected
Patient-5911002382212212COVID-19 is detected
Patient-6011002382122122COVID-19 is detected
Table 2

Representation of dataset.

Value AssignedFlueThroat PainImmunity (Gut Flora)DiarrheaVoice TypeSmelling IssuesJoint Pain Dry CoughVomitingBreathing ProblemsHeadacheChest Pain
Yes1111111 11111
No0000000 00000
More intense symptom22N/AN/A222 22222
Figure 2

(a–l) Violin plots for corresponding to each feature used in the dataset.

3.2. Model Selection, Training and Evaluation

The purpose of the proposed work is to classify healthy persons and COVID-19 sufferers, distinguishing them from one another. To achieve this classification, the performance of several classification learning algorithms is analyzed. The following classifiers are considered for the proposed work: Decision Tree (DT) [39] K-nearest neighbors (KNN) [40] Naïve Bayes (NB) [41] Extremely Randomized Trees (ET) [42] Random Forest (RF) [43] Support Vector Machine (SVM) [44] In addition to the classifiers mentioned above, we have also considered a modified random forest algorithm, known as a three-way Random Forest (TWRF) [33]. Technically, RF is an ensemble machine learning algorithm based on the combination of different Decision Trees. RF is trained on an individual independent portion of the dataset in order to create a classifier with lower bias or variance [45]. RF works as a probability scoring classifier that assigns the weightage to every possible class. The abstentions are performed based on two thresholds, such as , ∈ [0, 1]: here, 1 denotes the positive class, meaning that the patient is infected with COVID-19, while 0 denotes the negative class, meaning that the patient is healthy and does not have COVID-19. To achieve the desired task, the following steps are performed: Take a collection of data in the form of images (X-ray images). The size of various X-ray images is different, such as A × B wherein A and B represent the rows and column of pixels. Mathematically, this can be represented as: Preprocessing stage: Extract the features from the X-ray images and convert them into 197 numeric values such as 0, 1, and 2. (The explanation for these numerals and their assignment has been given above in Table 2. Make different feature vectors(F.V) F.V = f1, f1, f2, f3, …, f14 corresponding to each X-ray image. Save the in the form of a single dataset, which can be represented as: Split fourteen features are extracted by observing the patterns obtained from the X-ray images. For the healthy patients, the patterns that appear on the X-ray images are different from the patterns that appear on the X-ray images of the COVID-19 infected patients. The dataset is divided into two parts: one is for training purposes and the other for testing purposes. The training data are based on the healthy and COVID-19 infected patients’ dataset. Randomly, 80% of the dataset is selected for training purposes in which healthy and infected types of data are considered. The exact percentage of the data apportioned for training and testing can vary. In recent years, reverse transcription polymerase chain reaction (RT-PCR) has been used for the diagnosis of COVID-19 [46,47]. In [16], the shortcomings of Rt-PCR are addressed. To overcome the vulnerabilities that exist in RT-PCR, in the proposed work, machine learning techniques are employed for the real-time detection or the diagnosis of COVID-19. Apply several classifiers to first training and then testing data in order to build the desired model. Here, the purpose of applying different classifiers is to choose the learning algorithm that best fits our proposed work. Select the best classifier, which can be handled by analyzing accuracy and other metrics such as precision, recall, and F1-score. After selecting the most suitable classifier, incorporate that classifier using voting techniques such as hard and soft voting. To perform the voting, we have developed different models for TWRF using K-fold analyses. The details of the voting techniques and K-fold analysis are given in the next few subsections.

3.3. Voting Techniques

Voting techniques are used to classify the test data in a more sophisticated manner. In this case, the voting techniques (a) hard voting and (b) soft voting are incorporated in order to classify this specific test data.

3.3.1. Hard Voting

Hard voting, also known as majority voting, is a technique in which priority is given to the majority. In the case of our proposed work, different models ((M) are created by selecting different values of K-fold (K = 5, K = 10, K = 15, K = 20) and another model is also created in which training data (75%) are randomly selected. The accuracies for the different models are given in Figure 3. Based on the hard voting results, a particular class is assigned to the test data. From Figure 3, it can be seen that the votes for class A are three, while Class B has 2 votes. Therefore, the given test data belong to class A.
Figure 3

Assigning a particular class by incorporating hard voting.

3.3.2. Soft Voting

In contrast to hard voting and its production of a single output, soft voting offers the possibility of either accruing or not accruing a specific class. Figure 4 shows the prediction of accruing a specific class using soft voting.
Figure 4

Assigning a particular class by incorporating soft voting.

For each test, this technique gives two outputs: (a) the probability of accruing one class and (b) the probability of accruing the other class. After calculating all probabilities of both such events, an average is taken, as is demonstrated below with average of class A and class B: For the proposed work:

3.4. K-Fold Analysis

To properly evaluate machine learning models, K-fold validation is frequently used. Cross-validation allows the evaluation of an ML model by considering each sample of the dataset as a testing sample while the remaining are used for training purposes. Thus, in order to gauge the performance of our proposed model, we have performed 5-fold, 10-fold, 15-fold and 20-fold cross-validation tests. Figure 5 presents the flow diagram for the proposed work and its detection of COVID-19.
Figure 5

Flow diagram of the proposed work.

Apart from the K-fold validation test, we have also evaluated the proposed work in terms of accuracy, recall, precision, and F-1 score, and these results are outlined in further detail in Section 4.

4. Results

Here, all the steps involved in building the proposed model are implemented in Python, using pandas [48] (for pre-processing and data loading) and scikit-learn [49] (for classifier implementation). The experimentation is then executed on a system with an intel i7 processor and 12 GB RAM. The model selection and test/validation steps each required less than one second for their execution. For further evaluation of the proposed model, the following parameters are considered.

Confusion Matrix

This is a two-dimensional array in which a number of True Positives, True Negatives, False Positives, and False Negatives prediction scores are given for any model. For our proposed work, a confusion matrix for TWRF is given in Table 3. Utilizing these results, anyone can find the accuracy, precision, and recall scores.
Table 3

Confusion matrix when test samples are 20% of the total dataset.

Total No. of Test Samples (N)Predicted COVID-19Predicted not COVID-19
Actual COVID-19211
Actual not COVID-19021
Table 4 shows the performance results of different machine learning algorithms for our proposed model. From Table 4, it can be seen that SVM (when the polynomial kernel is selected) and RF show comparable results. However, RF exhibits comparatively better performance than SVM. The difference between the SVM and RF performance is around 1% in terms of accuracy (SVM = 97%, RF = 98%), precision (SVM = 0.95, RF = 0.99), but in terms of recall, RF exhibits much higher values (SVM = 0.83, RF = 0.96): thus, RF is selected for the proposed work in order to make it more accurate.
Table 4

Performance analysis of different machine learning algorithms for the proposed model.

ParametersTWRFLRDTRFNBSVM (Sigmoid Kernel)SVM (Linear Kernel)SVM (rbf Kernel)SVM (Polynomial Kernel)
Accuracy97.65092881250969698
Precision1.00.320.910.971.000.320.321.000.98
Recall0.950.950.900.960.780.150.870.900.85
F1-score0.970.470.900.960.870.200.460.940.91
For further evaluation of the proposed work, we have also calculated statistical values by selecting different instances from the dataset as testing examples. Table 5 shows the K-fold analysis for the proposed work, from which it can be seen that our model exhibits better performance at K = 10. Moreover, the average accuracy for our proposed work after applying the voting techniques is given in Table 6, which demonstrates that we achieve 97% accuracy. A performance comparison of our proposed work with several existing models is given in Table 7. The comparison is conducted based on the results given in [16,28,50,51]. However, the datasets used in the existing research work are different. The dataset we have used in our work gives better results in terms of accuracy, precision, recall and F1-score as it can be seen in Table 7.
Table 5

K-fold analysis.

ParametersTWRFLRDTRFNBSVM (Sigmoid Kernel)SVM (Linear Kernel)SVM (rbf Kernel)SVM (Polynomial Kernel)
Accuracy analysis
K = 5965092928812509091
K = 10985084857921558491
K = 15975094958912509495
K = 20955095969012509595
Avg96.55091928714519193
Precision analysis
K = 50.950.320.910.921.000.320.321.001.00
K = 100.960.340.830.831.000.310.341.001.00
K = 150.980.330.940.950.990.320.340.990.99
K = 200.970.330.960.961.000.330.331.001.00
Avg0.960.330.910.950.990.320.330.990.99
Rec‘ll analysis
K = 50.991.000.900.900.780.151.000.900.91
K = 100.981.000.800.800.600.321.000.790.92
K = 151.001.000.930.930.790.151.000.920.93
K = 200.991.000.950.950.810.141.000.930.95
Avg0.991.000.890.890.740.191.000.880.92
F1-score analysis
K = 50.960.480.900.900.870.200.480.940.95
K = 100.960.500.810.810.750.310.500.880.95
K = 150.980.490.930.930.890.200.500.950.92
K = 200.970.490.950.950.850.190.490.960.97
Avg96.750.490.890.900.840.220.490.930.95
Table 6

Average accuracy after the implementation of soft voting.

Proposed ModelsWhen K = 5When K = 10When K = 15When K = 20Average
Accuracy9696979897
Table 7

Performance comparison of the proposed work with the existing ones.

SchemesTWRFLRDTRFNBSVM (Sigmoid Kernel)SVM (Linear Kernel)SVM (rbf Kernel)SVM (Polynomial Kernel)
Accuracy analysis
Proposed985092978812509696
Ref [16]787981828180798081
Ref [50]909190938992919092
Ref [28]767573777978808183
Ref [51]828386899089889095
Precision analysis
Proposed0.860.320.910.971.000.320.321.000.98
Ref [16]0.840.900.880.850.860.870.890.900.87
Ref [50]0.920.950.910.970.980.990.970.990.99
Ref [28]0.970.980.960.990.980.990.980.990.98
Ref [51]0.890.880.870.840.900.970.980.970.98
Recall analysis
Proposed0.940.950.900.960.780.150.870.900.85
Ref [16]0.890.900.910.900.890.940.950.940.92
Ref [50]0.900.940.890.880960.940.970.920.91
Ref [28]0.970.890.900.890.900.970.960.980.96
Ref [51]0.890.900.940.970.980.940.900.910.89
F1-score analysis
Proposed0.890.470.900.960.870.200.460.940.91
Ref [16]0.860.920.890.880.830.970.910.940.90
Ref [50]0.900.920.890.900.910.890.980.960.94
Ref [28]0.970.950.920.910.890.910.930.990.91
Ref [51]0.890.880.900.940.980.910.960.980.99

5. Conclusions

The work proposed here is intended to detect the novel coronavirus, or COVID-19. This proposed model is based on machine learning algorithms that have been tested on the COVID-19 dataset of X-ray images in order to achieve the desired task. While other researchers have tried machine learning methods before, they tend to achieve only decent accuracy of around 89%-93%, but COVID-19 is a case in which it is crucial to detect a True positive. Here, False-positive events are more dangerous than False-negative, and so machine learning applications must deliver more accuracy in order to avoid false decisions and provide true efficacy as diagnostic tools. When we compared our proposed work with existing schemes, it became evident that the 97% accuracy we achieved was significantly better than most other machine learning algorithms have managed. Various evaluations of our proposed model, including testing via analysis of K-fold experimentation and comparisons of different algorithms’ performances, helped us select the most suitable machine learning algorithm to accomplish the desired task. In future work, we will use deep learning (DL) techniques with the proposed work to increase both its efficiency and accuracy.
  20 in total

1.  Prediction of sepsis patients using machine learning approach: A meta-analysis.

Authors:  Md Mohaimenul Islam; Tahmina Nasrin; Bruno Andreas Walther; Chieh-Chen Wu; Hsuan-Chia Yang; Yu-Chuan Li
Journal:  Comput Methods Programs Biomed       Date:  2018-12-26       Impact factor: 5.428

2.  Detection of SARS-CoV-2 in Different Types of Clinical Specimens.

Authors:  Wenling Wang; Yanli Xu; Ruqin Gao; Roujian Lu; Kai Han; Guizhen Wu; Wenjie Tan
Journal:  JAMA       Date:  2020-05-12       Impact factor: 56.272

3.  Big Data and Machine Learning in Health Care.

Authors:  Andrew L Beam; Isaac S Kohane
Journal:  JAMA       Date:  2018-04-03       Impact factor: 56.272

4.  Using Machine Learning to Predict ICU Transfer in Hospitalized COVID-19 Patients.

Authors:  Fu-Yuan Cheng; Himanshu Joshi; Pranai Tandon; Robert Freeman; David L Reich; Madhu Mazumdar; Roopa Kohli-Seth; Matthew Levin; Prem Timsina; Arash Kia
Journal:  J Clin Med       Date:  2020-06-01       Impact factor: 4.241

5.  Machine learning based approaches for detecting COVID-19 using clinical text data.

Authors:  Akib Mohi Ud Din Khanday; Syed Tanzeel Rabani; Qamar Rayees Khan; Nusrat Rouf; Masarat Mohi Ud Din
Journal:  Int J Inf Technol       Date:  2020-06-30

6.  Prediction of epidemic trends in COVID-19 with logistic model and machine learning technics.

Authors:  Peipei Wang; Xinqi Zheng; Jiayang Li; Bangren Zhu
Journal:  Chaos Solitons Fractals       Date:  2020-07-01       Impact factor: 9.922

7.  Features of Mild-to-Moderate COVID-19 Patients With Dysphonia.

Authors:  Jerome R Lechien; Carlos M Chiesa-Estomba; Pierre Cabaraux; Quentin Mat; Kathy Huet; Bernard Harmegnies; Mihaela Horoi; Serge Daniel Le Bon; Alexandra Rodriguez; Didier Dequanter; Stéphane Hans; Lise Crevier-Buchman; Baptiste Hochet; Lea Distinguin; Younes Chekkoury-Idrissi; Marta Circiu; Fahd El Afia; Maria Rosaria Barillari; Giovanni Cammaroto; Nicolas Fakhry; Justin Michel; Thomas Radulesco; Delphine Martiny; Philippe Lavigne; Lionel Jouffe; Géraldine Descamps; Fabrice Journe; Eleonora M C Trecca; Julien Hsieh; Irene Lopez Delgado; Christian Calvo-Henriquez; Sebastien Vergez; Mohamad Khalife; Gabriele Molteni; Giuditta Mannelli; Giovanna Cantarella; Manuel Tucciarone; Christel Souchay; Pierre Leich; Tareck Ayad; Sven Saussez
Journal:  J Voice       Date:  2020-06-04       Impact factor: 2.009

8.  Application of deep learning for fast detection of COVID-19 in X-Rays using nCOVnet.

Authors:  Harsh Panwar; P K Gupta; Mohammad Khubeb Siddiqui; Ruben Morales-Menendez; Vaishnavi Singh
Journal:  Chaos Solitons Fractals       Date:  2020-05-28       Impact factor: 5.944

9.  The non-contact handheld cutaneous infra-red thermometer for fever screening during the COVID-19 global emergency.

Authors:  J Aw
Journal:  J Hosp Infect       Date:  2020-02-21       Impact factor: 3.926

10.  COVID-Net: a tailored deep convolutional neural network design for detection of COVID-19 cases from chest X-ray images.

Authors:  Linda Wang; Zhong Qiu Lin; Alexander Wong
Journal:  Sci Rep       Date:  2020-11-11       Impact factor: 4.379

View more
  3 in total

1.  A Novel Detection and Multi-Classification Approach for IoT-Malware Using Random Forest Voting of Fine-Tuning Convolutional Neural Networks.

Authors:  Safa Ben Atitallah; Maha Driss; Iman Almomani
Journal:  Sensors (Basel)       Date:  2022-06-06       Impact factor: 3.847

2.  Randomly initialized convolutional neural network for the recognition of COVID-19 using X-ray images.

Authors:  Safa Ben Atitallah; Maha Driss; Wadii Boulila; Henda Ben Ghézala
Journal:  Int J Imaging Syst Technol       Date:  2021-09-19       Impact factor: 2.177

3.  Novel Privacy Preserving Non-Invasive Sensing-Based Diagnoses of Pneumonia Disease Leveraging Deep Network Model.

Authors:  Mujeeb Ur Rehman; Arslan Shafique; Kashif Hesham Khan; Sohail Khalid; Abdullah Alhumaidi Alotaibi; Turke Althobaiti; Naeem Ramzan; Jawad Ahmad; Syed Aziz Shah; Qammer H Abbasi
Journal:  Sensors (Basel)       Date:  2022-01-08       Impact factor: 3.576

  3 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.