COVID-19 Severity Prediction Using Enhanced Whale with Salp Swarm Feature Classification
2022-08-24NebojsaBudimirovicPrabhuMilosAntonijevicMiodragZivkovicNebojsaBacaninIvanaStrumbergerandVenkatachalam
Nebojsa Budimirovic, E.Prabhu, Milos Antonijevic, Miodrag Zivkovic, Nebojsa Bacanin,*,Ivana Strumbergerand K.Venkatachalam
1Singidunum University, Belgrade, 11000, Serbia
2Department of Electronics and Communication Engineering, Amrita School of Engineering, Amrita Vishwa
Vidyapeetham, Coimbatore, 641112, India
3Department of Applied Cybernetics, Faculty of Science, University of Hradec Králové, Hradec Králové, 50003, Czech Republic
Abstract: Computerized tomography (CT) scans and X-rays play an important role in the diagnosis of COVID-19 and pneumonia.On the basis of the image analysis results of chest CT and X-rays, the severity of lung infection is monitored using a tool.Many researchers have done in diagnosis of lung infection in an accurate and efficient takes lot of time and inefficient.To overcome these issues, our proposed study implements four cascaded stages.First, for pre-processing, a mean filter is used.Second, texture feature extraction uses principal component analysis (PCA).Third, a modified whale optimization algorithm is used (MWOA) for a feature selection algorithm.The severity of lung infection is detected on the basis of age group.Fourth,image classification is done by using the proposedMWOAwith the salp swarm algorithm (MWOA-SSA).MWOA-SSA has an accuracy of 97%, whereas PCA and MWOA have accuracies of 81% and 86%.The sensitivity rate of the MWOA-SSA algorithm is better that of than PCA (84.4%) and MWOA(95.2%).MWOA-SSA outperforms other algorithms with a specificity of 97.8%.This proposed method improves the effective classification of lung affected images from large datasets.
Keywords: PCA; WOA; CT-image; lung infection; COVID-19
1 Introduction
COVID-19 is a virus infection that has changed human life in various aspects including finance,education, health care, and supply chains.People with COVID-19 infection are facing respiratory problems and can recover with appropriate treatment effectively [1].Many studies have been done in implementing classification and determining the presence of COVID-19 as well as in detecting the severity of pneumonia.CT and X-ray image modalities are non-invasive and used to detect and severity of lung infection [2,3].In this study, we used principal component analysis (PCA) for feature extraction of CT images and a modified whale optimization algorithm (MWOA) for feature selection.To classify COVID-affected images from a large dataset and detect severity using the modified whale optimization algorithm (MWA) with the salp swarmalgorithm (MWOA-SSA).Themain disadvantage of existing algorithms are inefficiency, high execution time, and maximized error rate.To overcome these issues, our proposed MWOA-SSA has high potential in detecting the severity of lung infections such as pneumonia and classifying COVID-19 in affected and unaffected images from a large dataset effectively and quickly.
To predict coronavirus, X-ray images play a more important role than CT because the former is less sensitive.Furthermore, X-ray images are used to diagnose the early and mild stages of coronavirus patients.CT images are also is used in the diagnosis of coronavirus and improving efficiency in terms of dosage in radiation [4].To enhance the improvement in scanning images in a sliced manner effectively by usingmulti-slice computerized tomography (MSCT) [5].To achieve improvement in larger temporal resolution achieved by dual source CT image [6].
Machine learning algorithms have been used for the last decades in medical applications for computer-based diagnosis, helping physicians diagnose at earlier stages of diseases and providing better customized therapies to patients [7,8].Approaches to find the best solution from all possible solutions of a particular radiology problem are known as meta-heuristic algorithms.The acceptable best solution of the optimization technique requires less computational effort within a stipulated time[9].For the feature selection, the proposed MWOA is implemented with a binary optimizer in terms of average select size, error rate, mean, standard deviation, average fitness, best fitness, and worst fitness.The main contributions of this study are as follows,
1.ACOVID-19 classification based on proposed algorithms for feature classification ofWMOASSAis developed.
2.A novel approach in detecting severity of lung infection based on severity level is implemented.
3.The proposed WMOA-SSA can effectively classify the input CT images as COVID-19 or non-COVID-19.
The paper has been organized as follows.Section 2 presents the literature review.Section 3 introduces the classification of COVID-19 images using MWOA-SSA.Section 4 discusses the experimented results.Section 5 concludes the paper and provides future directions.
2 Review of Literature
This section describes the recent literature on feature classification and prediction of coronavirus.COVID-19 has affected human beings in every aspect of their daily lives.To diagnosis the coronavirus disease by using various modalities of image such as CT and X-ray image.Through these images,physicians scan and diagnose at early stages and during disease progression.Many studies have been published on the prediction of coronavirus.Our aim is to achieve effectiveness in classifying COVID-19 case images from a large dataset and detect the severity of lung infections such as pneumonia.A previous paper [10] proposed evaluating the infection rate in CT scans of lungs using visual and coronal axes.By using visual inspection COVID-19 disease is used to identify the lung infection [11].
Another paper [12] proposed implementing a visual infection-based method to detect lung infection using lung CT scan.Authors in [13] implemented deep learning algorithms to identify and screen COVID-19 patients using the modality of CT images accurately.By using an artificial intelligence (AI) technique for diagnosis, COVID-19 patients are identified based on convolutional neural network (CNN) using CT slices images, helping accurately classify COVID-19 from non-COVID-19 groups [14].The machine learning algorithm fractional multichannel exponent moments method is used to extract features from the chest X-ray image and used to classify COVID-19 or non-COVID-19 patients [15].Tab.1 shows a summary of recent research work in COVID-19.
Table 1: Survey on existing algorithms
3 Enhanced Whale with Salp Swarm Optimization Methodology
This work introduces the concept of classification of affected lung disease and its severity.This proposed work has four stages.First, a median filter is used for pre-processing.Second, PCA is used for texture feature extraction.Third, A MWOA is used for selecting features.Fourth, the proposed MWOA-SSA is used for classification and identifying the severity.The architecture of our proposed method is given in Fig.1.CT scan images are collected and preprocessed using a median filter.PCA is used to remove unwanted textures in the images.Then, the images are processed using MWOA-SSA to classify the affected image.
This proposed work consists of four phases:
Phase 1:Pre-processing using a median filter.
Phase 2:Feature extraction using PCA.
Phase 3:Feature selection using MWOA.
Phase 4:Proposed work on classification of infected lung images from a large dataset using MWOA-SSA.
Figure 1: Architecture of proposed work
3.1 Pre-Processing
The aim of pre-processing is to improve the high quality of the CT scan chest image.We need to denoise the image by applying a median filter.This median filter scans the entire image using an 8×8 matrix and replaces the center pixel value by choosing the median of all pixel values inside the 8×8 matrix by using
whereyis the neighborhood pixel value represented by the user andi,jis the center pixel value’s location.
3.2 Texture Feature Extraction Using PCA
The idea behind PCA is to map m-dimensional features to n dimensions that have a set of orthogonal feature values.Feature extraction using PCA meets the variance of sample pixel values after reduction of dimensionality and minimizes the error rate.The steps needed for texture feature extraction using PCA are given below, and Fig.2.Provides an overview of PCA operation.
Algorithm 1: Texture Feature Extraction using PCA Step 1: To standardize the original pixel values, subtract all sample pixel values from the mean value of corresponding feature value by using s s Aj=1 n nimages/BZ_1651_410_2391_475_2436.pngi=1 Aij(2)Step 2: Evaluate the covariance matrix C (c = (Ajk)n×nwhere n is the number of features; Ajkis the correlation between jthand kthfeature value, where j = 1,2,...,n;k = 1,2,...,n.C =■ ■■■A11 A12···A1n A21 A22···A2n............An1 An2···Ann■■■■(3)(Continued)
Algorithm 1: Continued Step 3:For the covariance matrix, calculate the eigen value of λi, and the eigenvector value is eii.λieii= Ceii(4)Step 4: Store the output values of eigenvector from large to small values λ1≥λ2≥...λnand calculate the rate of contribution for each principal component.The rate of contribution is given below:λk∑n k=1λk(5)Step 5: Transform the original matrix A into a new matrix B (B = (Bjk)n×n1, where j=1,2...n and k=1,2,...n.B = A×f1,f2,...,fn1(6)where f1,f2,...,fndenotes a new feature space which is composed of n1 vector feature values, and n1 is extracted features by PCA.Fig.2 shows the working principle of PCA.
Figure 2: Overview of PCA
3.3 Feature Selection Using MWOA
Feature selection of brain image using MWOA, which is based on the behavior of whales, in which for trapping the prey bubbles are involved for searching in a spiral-shaped [27,28].The whale is randomly selected, and it can be updated by the best whale value that gives the optimal solution.
To improve this result, the performance of three whales are randomly chosen, and it cannot be affected by the leader’s position.Eq.(6) is modified as follows:
where t represents iteration number, andMaxitrepresents the maximum number of iterations.
The algorithm is given as follows:
Algorithm 2: MWOA Input: Lung Image Output: Detecting COVID presence images Step 1: Initialize Population-→Fi(i = 1,2,...n), maximum iteration max_it, function of fitness Fin.Step 2: Initialize parameters of WOA→B ,→b,-→c,-→u1,-→u2,-→r3,h and modified parameters-→w1,-→w2,-→w3.Step 3: Initialize t=1.Step 4: Convert output into binary values as 0 or 1.Step 5: Evaluate fitness value Finfor each-→Fi.Step 6: Find best individual value by-→F*.Step 7: While n≤max_iter do Step 8: For i = (1;i<n + 1) do Step 9: If (-→u3<0.5) then Step 10: If (|→B|<1) then Step 11: Update current position of agent for search by using Eqs.(2), (3).Step 12: Else Step 13: Choose three search agents randomly→Frnd1,→Frnd2,→Frnd3.Step 14: Update agent’s exponential form by using Eq.(9).Step 15: Update current position of agent for search in exponential form by using Eq.(8).Step 16: End if Step 17: Else Step 18: Update current position of agent for search by using-→F (t + 1) =-→D′.ebh.cos(2πh) +-→F*(t)Step 19: End if Step 20: End For Step 21: for (i = 1;i<n + 1) do Step 22: Evaluate-→F*i= Gaussian(μ-→F*,σ) + (η×-→F*-η′×-→Pi)Step 23: End For Step 24: Update→B,→b,→c,-→w3,h(Continued)
Algorithm 2: Continued Step 25: Binary optimizer the updated solution/prey by using--→F(t+1)n =images/BZ_1654_419_578_448_624.png1 if sigmoid(Fbest)≥0.5 0 Otherwise sigmoid(Fbest) = 1 1 + exp-10(Fbest-0.5)Step 26: Evaluate fitness value Finfor each-→Fi.Step 26: Find best individual value by-→F*.Step 27: t = t + 1 Step 28: End While.Step 29: Return-→F*.
3.4 Proposed Feature Classification Using MWOA-SSA
In this phase, classification of infected lung images froma large dataset is done usingMWOA-SSA.To improve the accuracy and optimal solution, the SSA) is used with MWOA.This SSA randomly initializes the swarm of N salps.The swarm is represented by the 2-D matrixmat.Searching food for swarm is represented assf, and leader’s movement in the form of a chain is denoted as.It is represented by using
whereiis swarm’s dimension position, and it is updated.sfiis theithposition for a source of food.upliandlowliare the upper and lower limits of theithelement.r1is a dynamic variable for iteration.r2andr3are random numbers between [0,1] calculated as
whereitrepresents the current iteration anditeris the maximum number of iterations.r1is a control variablethatcontrols thebalance between exploitation and exploration ofthe optimizationalgorithm.It is represented as
The procedure for SSA is given as follows.
Algorithm 3: Feature Classification using MWOA-SSA Input: Lung CT Scan Image Output: COVID-detected image Step 1: Initialize population-→Fi(i = 1,2,...n), maximum iteration max_it, function of fitness Fin.Step 2: Initialize parameters of WOA→B ,→b,-→c,-→u1,-→u2,-→r3,h and modified parameters-→w1,-→w2,-→w3.Step 3: Initialize t = 1 and swarm of salps sxii = 1,2,.....,n.Step 4: Convert output into binary values as 0 or 1 Step 5: Evaluate fitness value Finfor each-→Fi.Step 6: Evaluate fitness value for each salp of the swarm(Continued)
Algorithm 3: Continued Step 7: Find best individual value by-→F*.Step 8: Assign F as best salp’s position.Step 9: Update r1by Eq.(11).Step 10: While n≤max_iter do Step 11: For i = (1;i<n + 1) do Step 12: If (-→u3<0.5) then Step 13: If (|→B|<1) and (i == 1) then Step 14: Update current position of agent for search by using Eqs.(2) and (3).Step 15: Update position of leader by using Eq.(10).Step 16: Else Step 17: Update position of followers by using Eq.(12).Step 18: Choose three search agents randomly→Frnd1,→Frnd2,→Frnd3.Step 19: Update agent’s exponential form by using Eq.(9).Step 20: Update current position of agent for search in exponential form by using Eq.(8).Step 21: End if Step 22: Else Step 23: Update current position of agent for search by using-→F (t + 1) =-→D′.ebh.cos(2πh) +-→F*(t)Step 24: End if Step 20: End For Step 21: for (i = 1;i<n + 1) do Step 22: Evaluate-→F*i= Gaussian(μ-→F*,σ) + (η×-→F*-η′×-→Pi)Step 23: End For Step 24: Update→B,→b,→c,-→w3,h Step 25: Binary optimize the updated solution/prey by using--→F(t+1)n =images/BZ_1655_420_1969_448_2015.png1 if sigmoid(Fbest)≥0.5 0 Otherwise sigmoid(Fbest) = 1 1 + exp-10(Fbest-0.5)Step 26: Evaluate fitness value Finfor each-→Fi.Step 26: Find best individual value by-→F*.Step 27: t = t + 1 Step 28: End While.Step 29: Return-→F*, F.
4 Results and Analysis
For the experimental result, data are collected from the Kaggle dataset [29], which has 1,500 CT images of COVID-19 and non-COVID 19.MWOA-SSA is compared with the existing algorithms MWOA [30] and SSA [31] by using performance metric measures of sensitivity, specificity, accuracy,precision (PPV), F-score, and negative predictive value (NPV).
TP-True Positive,TN-True Negative,FN-False Negative,FP-False Positive,
These metric measures are defined by using:
Sensitivity
It is also called true positive rate or recall.
Specificity
It is called true negative rate (TNR).
Accuracy
Precision
It is called positive predictive value (PPV).
Negative Predictive Value
It evaluates true negatives for all negative values by using
F-Score
It is used to measure sensitivity and mean of harmonic by using
Tab.2 shows the performance metric measures of feature extraction.
Table 2: Performance metric measures of feature extraction
Tab.2 shows that for the sensitivity rate, MWOA-SSA is better than PCA (84.4%) and MWOA(95.2%).MWOA-SSA outperforms other algorithms with a specificity of 97.8%.For PPV, MWOASSA has a percentage of 88.3%.For NPV, MWOA-SSA has 93.6%.MWOA-SAA outperforms other algorithms with an F-score of 96.4%.
4.1 Feature Selection
MWOA-SSA is used for feature selection, and it is compared with existing algorithms of PCA and MWOA in terms of average fitness, average error, best fitness, mean, standard deviation, and worst fitness.The parameter values for the fitness function are 0.97 and 0.03.
Average Error
It shows the classifier’s accuracy for the feature selection for the COVID-19 dataset, and it is calculated by using
whereCliis classifier’s label for the pixeliandlbiis the class label for the pixeliof the image andCompcalculates the matching between two inputs.
Mean
Standard Deviation
where mean is obtained from Eq.(17)
Best Fitness
It calculates the minimum function of fitness, and it is calculated as
Average Fitness
The average size of features in the COVID-19 dataset is calculated as
Worst Fitness
The worst solution of fitness is calculated as
Tab.3 shows the performance of the proposed algorithm in feature selection
The results of the proposed MWOA-SSA algorithm in Tab.3 show the lower error and select featuresfromthe COVID-19dataset.The TheMWOA-SSA algorithm achieved the minimumaverage error of 0.1114 in selecting the features of infected lung images.The minimum errors for PCA, MWOA, and MWOA-SSA are used to select the features from best fitness to worst fitness.The proposed algorithm MWOA-SSA outperforms other existing algorithms, and the best fitness value is 0.1034, the worst fitness value is 0.2115, and the average fitness value is 0.2034.
Table 3: Performance metric measures for feature selection
4.2 Detection and Severity Classification of COVID-19
To detect the infection severity, lung images have been examined by using ground truths of CT0-CT4 as given below.Tab.4 presents the severity levels in the lungs.
Table 4: Severity levels for infection in lungs [32,33]
In this work, we collected data on 500 patients with COVID-19 infection.Infection was confirmed by a nasopharyngeal swab using a U-TOP COVID-19 Detection Kit.Age, gender, d-dimer, ferritin levels, C-reactive protein test (CRP), and O2 were collected.Patient’s age was classified into<20, 21-40, 41-49, 50-60, 61-70, and>70 years.The correlation (p<0.05) between CT severity score was used to detect lung infection.Tab.5 shows a survey of 500 patients who are affected by pneumonia.Fig.3.shows the CT severity of COVID-19 patients.
Table 5: Demographic data of 500 patients
Fig.3 shows that negative disease was mainly seen in the age group of 21 to 40 (30%), mild lung mainly infection was seen in the 41 to 60 age group (60%).Moderate lung infection was mainly seen in the 61 to 70 age group (68%), and severe lung infection was mainly seen in the age group of 41 to 60 (70%).This is the highest risk factor for COVID-19 affected patients [34-37].Fig.4.shows the time taken for the classification of COVID-19 affected cases and non-COVID-19 cases from the large dataset.
Figure 3: CT-COVID severity score
Figure 4: Execution time (proposed method executes faster than PCA and MWOA)
5 Conclusion
MWOA-SSA is used for the classification of COVID-19 cases in four phases.In the first phase,to classify accurate COVID-19 and non-COVID-19 images from a large dataset, pre-processing work has been done using a median filter.Features are extracted for the training CT images by PCA.For the feature selection of CT lung images, MWOA is implemented.For the selected features of the CT image, MWOA-SSA is implemented to classify the COVID-19 and non-COVID-19 images from the large dataset.This paper also proposes detecting and identifying the severity of lung infection by using different severity levels of COVID-19 cases.The main advantage of MWOA-SSA is that it efficiently and quickly classifies COVID-19 and non-COVID-19 cases and detects severity of lung infection using severity levels.MWOA-SSA has an accuracy of 97%, whereas PCA and MWOA have accuracies of 81% and 86%.In future work, we suggest the use of various deep learning algorithms and various modalities of images and clinical reports.
Funding Statement:The authors received no specific funding for this study.
Conflicts of Interest:The authors declare that they have no conflicts of interest to report regarding the present study.
杂志排行
Computers Materials&Continua的其它文章
- Constructing Collective Signature Schemes Using Problem of Finding Roots Modulo
- Modeling and Simulation of Two Axes Gimbal Using Fuzzy Control
- Artificial Monitoring of Eccentric Synchronous Reluctance Motors Using Neural Networks
- An Optimal Scheme for WSN Based on Compressed Sensing
- Triple-Band Metamaterial Inspired Antenna for Future Terahertz (THz)Applications
- Adaptive Multi-Cost Routing Protocol to Enhance Lifetime for Wireless Body Area Network