# A Hybrid Method to Predict Postoperative Survival of Lung Cancer Using Improved SMOTE and Adaptive SVM

Authors: Jiang Shen; Jiachao Wu; Man Xu; Dan Gan; Bang An; Fusheng Liu
Journal: Computational and Mathematical Methods in Medicine
 (2021)

---

## Abstract

Predicting postoperative survival of lung cancer patients (LCPs) is an important problem of medical decision-making. However, the imbalanced distribution of patient survival in the dataset increases the difficulty of prediction. Although the synthetic minority oversampling technique (SMOTE) can be used to deal with imbalanced data, it cannot identify data noise. On the other hand, many studies use a support vector machine (SVM) combined with resampling technology to deal with imbalanced data. However, most studies require manual setting of SVM parameters, which makes it difficult to obtain the best performance. In this paper, a hybrid improved SMOTE and adaptive SVM method is proposed for imbalance data to predict the postoperative survival of LCPs. The proposed method is divided into two stages: in the first stage, the cross-validated committees filter (CVCF) is used to remove noise samples to improve the performance of SMOTE. In the second stage, we propose an adaptive SVM, which uses fuzzy self-tuning particle swarm optimization (FPSO) to optimize the parameters of SVM. Compared with other advanced algorithms, our proposed method obtains the best performance with 95.11% accuracy, 95.10%G-mean, 95.02% F1, and 95.10% area under the curve (AUC) for predicting postoperative survival of LCPs.


---

## Body

## 1. Introduction

Lung cancer (LC) is the deadliest cancer in the world. More than 85% of lung cancer patients are diagnosed with non-small-cell LC [1]. Surgical resection is the standard and most effective treatment for LC stage I, stage II, and nonsmall cell stage III A [1]. A major problem of the clinical decision on LC operation is to select candidates for surgery based on the patient’s short-term and long-term risks and benefits, where survival time is one of the most important measures. Accurately predicting a patient’s survival after surgery can help doctors make better treatment decisions. At the same time, it can help patients better understand their conditions to have good psychological expectations and financial preparation.In recent years, more and more data-driven methods have been used to predict the postoperative survival of LCPs. In terms of statistical methods, Kaplan–Meier curves, multivariable logistic regression, and Cox regression are the three most widely used statistical methods to predict survival or complications for LCPs [2]. However, taking into account the shortcomings of traditional statistical methods and the incompleteness of medical data, data mining and machine learning techniques are introduced in recent years. Mangat and Vig [3] proposed an association rule algorithm based on a dynamic particle swarm optimizer, and the classification accuracy is 82.18%. Saber Iraji [4] compared the accuracy of adaptive fuzzy neural networks, extreme learning machine, and neural networks for predicting the 1-year postoperative survival of LCPs. The results show that sensitivity (90.05%) and specificity (81.57%) of an extreme learning machine are the highest, respectively. Tomczak et al. [5] used the boosted support vector machine (SVM) algorithm to predict the postoperative survival of LCPs. This algorithm combines the advantages of ensemble learning and cost-sensitive SVM, and the G-mean can reach 65.73%. As can be seen from the previous research, most of them ignore the impact of imbalanced data distribution, which may reduce the performance of classifiers.Class imbalance refers to the phenomenon in which one class of data in a dataset is much larger than the others [6]. Standard machine learning classifiers are effective for balanced data, but they are not good for imbalanced data. Specifically, with the progress of medical technology, the number of long-term survivors after surgery for LCPs is much larger than that of short-term deaths. This will lead to higher prediction accuracy for survivors (majority class) and poorer recognition for deceases (minority class). Therefore, it is necessary to propose a method that has good classification performance for both survivors and deceased ones for predicting postoperative survival of LCPs.During the past decades, the imbalanced data classification problem has widely become a matter of concern and has been intensively researched. The existing papers on imbalanced data processing methods have two main research directions: data level and algorithm level [7]. The data-level processing methods create a balanced class distribution by resampling the input data. Algorithm-level processing methods mainly involve two aspects: ensemble learning and cost-sensitive learning. Among these imbalanced data processing methods, the synthetic minority oversampling technique (SMOTE) is one of the most widely used methods, as it is relatively simple and effective [8]. However, it is likely to be unsatisfactory or even counterproductive if SMOTE is used alone, which is because its blind oversampling ignores the distribution of samples, such as the existence of noise [9, 10]. To solve this problem, many approaches are proposed to improve SMOTE. Ramentol et al. [11] combined rough set theory with SMOTE and proposed the SMOTE-RSB algorithm. SMOTE-RSB first uses SMOTE for oversampling and then removes noise and outliers in the dataset based on rough set theory. SSMNFOS [12] is a hybrid method based on stochastic sensitivity measurement (SSM) noise filtering and oversampling, which can improve the robustness of the oversampling method with respect to noise samples. The CURE-SMOTE [13] uses CURE (clustering using representatives) to cluster minority samples for removing noise and outliers and then uses SMOTE to insert artificial synthetic samples between representative samples and central samples to balance the dataset. However, most of these methods need to set the noise threshold through prior parameters, which increases the risk of misidentification of noise. In addition, some researchers consider ensemble filtering methods, which have been proven to be generally more efficient than single filters [14]. In this paper, we propose to use the cross-validated committees filter (CVCF) to detect and remove noise before applying SMOTE and record this method as CVCF-SMOTE. CVCF is an ensemble-based filter, which can reduce the risk of error in the threshold setting of prior parameters [15].In addition, SVM as one of the most advanced classifiers has not been well used to predict postoperative survival of LC. In the previous research, SVM has been widely used in statistical classification and regression analysis due to its excellent performance [16]. Considering the limitations of SVM on imbalanced data, some studies combine resampling technology and SVM to deal with imbalanced data. D’Addabbo and Maglietta [17] proposed a method combining parallel selective sampling and SVM (PSS-SVM) to process imbalanced big data. Experimental results show that the performance of PSS-SVM is better than that of SVM and RUSBoost classifiers. Huang et al. [18] designed an undersampling technique based on clustering and combined it with optimized SVM to deal with imbalanced data. The classification performance of SVM is improved by the linear combination of SVM based on a mixed kernel. Fan et al. [19] proposed a hybrid technology combining principal component analysis (PCA), SMOTE, and SVM to diagnose chiller fault. Experimental results prove that this hybrid technology can improve the overall performance of chiller fault diagnosis.However, these studies usually require a manual setting of SVM parameters, which may lead to failure to obtain the best experimental results. The standard SVM has a limitation that its performance depends on the selection of initial parameters. Some studies optimize the parameters of SVM through evolutionary calculations which have achieved good results. In these optimization algorithms, the particle swarm optimization- (PSO-) optimized SVM has been widely used with promising results due to its simplicity and fast convergence [20]. With the development of PSO technology, some improved PSO algorithms are used to optimize SVM. Wei et al. [21] proposed a binary PSO-optimized SVM method for feature selection, which overcomes the problem of premature convergence and obtained high-quality features. A switching delayed particle swarm optimization- (SDPSO-) optimized SVM is proposed to diagnose Alzheimer’s disease [22]. Experimental results show that the proposed method outperforms several other variants of SVM and has obtained excellent classification accuracy. However, these methods often require parameter settings for PSO or improved PSO, such as particle size and inertial weight. In general, getting the best settings is complicated and time-consuming. If the PSO parameters are set improperly, it will even reduce the performance of the SVM.In recent years, many new metaheuristics techniques have been proposed, such as Monarch Butterfly Optimization (MBO) [23], slime mould algorithm [24], Moth Search (MS) [25], Hunger Games Search (HGS) [26], and Harris Hawks Optimizer (HHO) [27]. However, most of these methods require users to tune parameters to achieve satisfactory performance. Fuzzy self-tuning PSO (FPSO) is a kind of setting-free adaptive PSO proposed in recent years [28]. The advantage of FPSO is that every particle is adaptively adjusted during the optimization process without any PSO expertise and parameter settings. Moreover, experimental results show that FPSO is better than several previous competitors in convergence speed and finding optimal solution aspects. Based on the above considerations, the FPSO algorithm is exploited to optimize the parameters of SVM, which leads to a novel FPSO-SVM classification algorithm.Based on the improved SMOTE and FPSO-SVM, we propose a two-stage hybrid method to improve the performance of the postoperative survival prediction of LCPs. In the first stage, CVCF is used to remove noise samples to improve the performance of SMOTE. Then, SMOTE is adopted to handle the imbalanced nature of the dataset. In the second stage, we apply FPSO-SVM to predict the postoperative survival of LCPs. The experimental results show that the proposed hybrid method outperforms other comparative state-of-the-art algorithms. This hybrid method can effectively improve the accuracy of survival prediction after LC surgery and provide reliable medical decision-making support for doctors and patients. Our contributions are summarized as follows:(i)
A novel hybrid method that combines improved SMOTE with adaptive SVM is proposed for predicting postoperative survival of LCPs(ii)
We apply CVCF to clean up data noise to improve the performance of SMOTE(iii)
FPSO is used to optimize the parameters of SVM and achieve an adaptive SVM(iv)
The proposed hybrid method not only performs higher predictive accuracy than other compared algorithms for predicting postoperative survival of LCPs but also has betterG-mean, F1, and area under the curve (AUC)The rest of this paper is as follows: Section2 shows the materials and methods. The experiment design, performance metrics, and experimental results are described in Section 3. A brief summary is described in Section 4.


## 2. Materials and Methods

### 2.1. Data Description

In this paper, the thoracic surgery dataset in Zięba et al. [5], is selected to predict the postoperative survival of LCPs. Data were collected from the Wroclaw Thoracic Surgery Center. These patients underwent lung resection for primary LC from 2007 to 2011. It contains 470 samples with an imbalance rate of 5.71. There are 400 patients who survived more than one year and 70 patients who survived less than one year in this dataset. Table 1 shows the features of the dataset. These features were selected from 36 preoperative predictors by the information gain method and were used to predict the postoperative survival expectancy. Our task is to predict whether the survival time in patients after surgery was greater than one year.Table 1
Feature details of the thoracic surgery dataset.
Feature IDDescriptionType of attribute1Size of the original tumor, from OC11 (smallest) to OC14 (largest)Nominal2Diagnosis (specific combination of ICD-10 codes for primary and secondary as well multiple tumors if any)Nominal3Forced vital capacityNumeric4Pain (presurgery)Binary5Age at surgeryNumeric6Performance statusNominal7Weakness (presurgery)Binary8Dyspnoea (presurgery)Binary9Cough (presurgery)Binary10Haemoptysis (presurgery)Binary11Peripheral arterial diseasesBinary12MI up to 6 monthsBinary13AsthmaBinary14Volume that has been exhaled at the end of the first second of forced expirationNumeric15SmokingBinary16Type 2 diabetes mellitusBinary171-year survival period (true value if died)Binary


### 2.2. Data Preprocessing

#### 2.2.1. CVCF for Noise Cleaning

Although SMOTE is one of the most widely used methods for imbalanced data processing, it has some drawbacks in dealing with data noise. A major concern is that SMOTE may exacerbate the presence of noise in the data, as shown in Figure1. Given the good performance of CVCF, we consider using it to improve SMOTE.Figure 1
Using SMOTE alone may indiscriminately aggravate the noise.The CVCF algorithm is a well-known representative of an ensemble-based noise filter [29]. It induces multiple single classifiers by means of cross-validation. Afterward, samples mislabeled by all classifiers (or most classifiers) will be marked as noise and removed from the dataset. Choosing an appropriate base classifier is a key operation to ensure the excellent performance of CVCF. In this paper, we choose the C4.5 algorithm as the base classifier of CVCF because it has better robustness to noise data and suitability for ensemble learning [30, 31].C4.5 is an improved version of the ID3 algorithm [32]. It improves ID3 by handing numeric attributes and missing values and by introducing pruning. In addition, essentially different from the ID3, the information gain ratio is used to select split attributes in C4.5, which can be denoted by
(1)InfoGainRatioS,A=InfoGainS,ASpiltInfoS,A,where InfoGainRatioS,A represents the information gain ratio of attribute A in dataset S. InfoGainS,A is the information gain of dataset S after splitting through attribute A and can be denoted by
(2)InfoGainS,A=InfoS−InfoS,A,where InfoS is the entropy of dataset S. InfoS,A is the conditional entropy about attribute A. SpiltInfoS,A denotes the splitting information of attribute A and is expressed by
(3)SpiltInfoS,A=−∑i=1mSiSlog2SiS,where S represents the number of samples of dataset S. Si indicates the number of samples of subset i after the original dataset is divided into m subsets according to the attribute value of A.


#### 2.2.2. SMOTE to Balance Data

The core idea of SMOTE is to insert artificial samples of similar values into the minority class, thereby improving the imbalanced distribution of classes. More specifically, the sampling ratio is set firstly, and then, thek nearest neighbors of each minority sample are found. Finally, according to equation (4), one of the neighbors is randomly selected to generate a synthetic sample that is put back into the dataset until the sampling number reaches the set ratio. The synthesized new sample is calculated as follows:
(4)Xnew=X+∂Xi‐X,∂∈0,1,where Xnew represents a new synthetic sample, X is the feature vector for each sample in the minority class, and Xi is the i-th nearest neighbor of sample X. ∂ is a random number between 0 and 1.


### 2.3. The Proposed FPSO-Optimized SVM (FPSO-SVM)

#### 2.3.1. SVM

SVM is a supervised learning classifier based on statistical theory and structural risk optimization [33]. SVM is not prone to overfitting and can handle high-dimensional data well. The principle of SVM is to map the original data to a high-dimensional space to discover a hyperplane that maximizes the margin determined by the support vectors. Suppose there is a dataset D=x1,y1,x2,y2,⋯,xn,yn. The optimal hyperplane of dataset D can be expressed as
(5)aTx+b=0,where aT is the weight vector and b represents the bias.For nonlinear problems, the above-mentioned optimal hyperplane can be transformed into(6)mina,bs.t.12aTa‐C∑i=1nζi,yiaT⋅xi+b≥1−ζi,ζi≥0i=1,2,⋯,n,where C is the penalty factor and ζi is the slack variable. The above constrained objective function can satisfy the KKT condition by introducing the Lagrange formulation. The original objective function is transformed into
(7)min12∑i=1n∑j=1nyiyjβiβjxi⋅xj−∑i=1nβi,s.t.∑i=1nβiyi=0,0≤βi≤C,i,j=1,2,⋯,n,where β is a Lagrangian multiplier. According to the previous experimental experience, a larger value of C means a larger separation interval and a greater generalization risk. Conversely, when the value of C is too small, it is easy to have an underfitting problem.Finally, the decision function is shown in(8)fx=sgn∑i=1nβi∗yiK<xi⋅xj>+b∗,where βi∗ and b∗ are the optimal Lagrangian multiplier and optimal value of b, respectively, and sgn⋅ represents a symbolic function. K<xi⋅xj> is a kernel function. Usually, the radial basis function (RBF) kernel function is selected for SVM, which can be expressed as
(9)K<xi⋅xj>=exp−γxi−xj2,where γ is the kernel parameter. The classification performance of SVM depends heavily on the setting of penalty factor C and kernel parameter γ. Therefore, parameter setting is a key step in applying SVM.


#### 2.3.2. FPSO-SVM Model

In order to make SVM have better classification performance, we use FPSO to optimize the penalty factorC and kernel parameter γ of SVM, called FPSO-SVM. The classification accuracy is taken as the fitness function of FPSO, which is defined as
(10)Fitness=Accuracy=TP+TNTP+TN+FP+FN,where TP, TN, FP, and FN represent four different classification results which are shown in Table 2.Table 2
Confusion matrix.
Actual positiveActual negativePredicted positiveTPFPPredicted negativeFNTNFPSO is a fully adaptive version of PSO, which calculates the inertia weight, learning factor, and velocity independently for each particle based on fuzzy logic. The outstanding advantages of FPSO are that it does not require any prior knowledge about PSO and its optimization performance and convergence speed are better than those of PSO.In FPSO, first, the number of particle swarms is set toN=10+2M based on the heuristic [34, 35]. Here, M is the dimension of the optimization problem. In this paper, since there are two SVM parameters that need to be optimized, M=2 and N=12 (round down). After initializing the particles, we need to update them according to the position and velocity of the particles. Let xik and vik be the velocity and position of the i-th particle at the k-th iteration, respectively. At the k+1-th iteration, the velocity vik+1 and position xik+1 of the i-th particle can be defined as
(11)vik+1=wik⋅vik+csocik⋅r1⋅xik−gk+ccogik⋅r2⋅xik‐bik,i=1,2⋯,12,(12)xik+1=xik+vik+1,where wik is the inertia weight of particle i at the k-th iteration and csocik and ccogik are social and cognitive factors of particle i at the k-th iteration, respectively. In FPSO, unlike conventional PSO, the values of wik, csocik, and ccogik are not fixed but are calculated separately for different particles at each iteration. r1 and r2 are two random vectors, respectively. bik and gk are the position of the i-th particle and the best global position in the swarm at the k-th iteration.The maximum velocity (vmaxm) and minimum velocity (vminm) of all particles in the m-th dimension are defined as
(13)vmaxm=η⋅bmaxm−bminm,η∈0,1.(14)vminm=λ⋅bmaxm−bminm,λ∈0,1,where bmaxm and bminm represent upper and lower bounds of the m-th dimension for the optimization problem, respectively. η and λ (η>λ) are two coefficients determined by linguistic variables, in order to clamp vmaxm and vminm of each particle.In order to get thew, csoc, ccog, η, and λ values of each particle in each iteration, two concepts are introduced: the distance between each particle and the global optimal particle and the fitness increment of each particle relative to the previous iteration.The distance between any two particles in thek-th iteration is expressed as
(15)δxik,xjk=xik−xjk2=∑m=12xi,mk−xj,mk2,i,j=1,2,⋯,12.The functionϕ represents the normalized fitness increment of particle i for the previous iteration, which is calculated as
(16)ϕxik+1,xik=δxik+1,xikδmax⋅minfxik+1,fwor−minfxik,fworfwor,where δmax is the diagonal length of the rectangle formed by the search space. fwor is the worst fitness value.The linguistic variable of functionδ is defined as Same, Near, and Far, which is used to measure the distance from a particle to the global best particle. The trapezoid membership function of Same is defined as
(17)δ=1,if0≤δ<δ1,δ2−δδ2−δ1,ifδ1≤δ<δ2,0,ifδ2≤δ≤δmax.The triangle membership function ofNear is defined as
(18)δ=0,if0≤δ<δ1,δ−δ1δ2−δ1,ifδ1≤δ<δ2,δ3−δδ3−δ2,ifδ2≤δ<δ3,0,ifδ3≤δ≤δmax.The trapezoid membership function ofFar is defined as
(19)δ=0,if0≤δ<δ2,δ−δ2δ3−δ2,ifδ2≤δ<δ3,1,ifδ3≤δ≤δmax,where δ1=0.2⋅δmax, δ2=0.4⋅δmax, and δ3=0.6⋅δmax.The linguistic variable of functionϕ is defined as Better, Same, and Worse, which is used to measure the improvement of a particle’s fitness value for the previous iteration. The trapezoid membership function of Better can be obtained by
(20)ϕ=1,ifϕ=−1,−ϕ,if−1<ϕ<0,0,if0≤ϕ≤1.The triangle membership function ofSame is expressed as follows:
(21)ϕ=1−ϕ.The triangle membership function ofWorse is as follows:
(22)ϕ=0,if−1≤ϕ<0,ϕ,if0≤ϕ<1,1,ifϕ=1.According to the preset fuzzy rules,w, csoc, ccog, η, and λ have three levels including Low, Medium, and High [28]. Table 3 shows the defuzzification values of w, csoc, ccog, η, and λ, which are calculated by the Sugeno inference method [36]. It is defined as follows:
(23)output=∑r=1Rρrzr∑r=1Rρr,r=1,2⋯R,where R represents the number of rules. ρr and zr are the membership degree of the input variable and output value of the r-th rule, respectively.Table 3
Defuzzification ofw, csoc, ccog, η, and λ.
OutputLevelLowMediumHighw0.30.51.0csoc1.02.03.0ccog0.11.53.0λ0.00.0010.01η0.10.150.2Then, update the position of each particle based on the obtained values ofw, csoc, ccog, η, and λ. Finally, recalculate the fitness of each particle, that is, accuracy of the SVM corresponding to each particle. Repeat the above process until the maximum number of iterations is reached and output SVM with the optimal parameters.The time complexity of FPOS-SVM consists of two parts: FPSO and SVM. In FPSO, the velocity and position of each particle are calculated in each iteration. Therefore, the computational complexity of FPSO is determined by the number of iterations, the particle swarm size, and the dimensionality of each particle. Thus, FPSO requiresOTNm time complexity, where T is the number of iterations of FPSO, N is the particle swarm size of FPSO, and m is the dimensionality of the optimization problem. For SVM, the optimal hyperplane is obtained by computing the distance between the support vector and the decision boundary. Then, the time complexity required for SVM is Odnsv, where d is the input vector dimension and nsv is the number of support vectors. In FPSO-SVM, the number of SVM computations depends on the particle swarm size and the number of iterations of FPSO. Therefore, the time complexity of FPSO-SVM is OTNm+TNdnsv.


### 2.4. Specific Steps of the Proposed Hybrid Method for Predicting Postoperative Survival of LCPs

Based on improved SMOTE and FPSO-SVM, we propose a two-stage hybrid method to improve the performance of the postoperative survival prediction of LCPs. In the first stage, CVCF is used to remove noise samples to improve the performance of SMOTE. Then, apply SMOTE to balance data. In the second stage, FPSO-SVM is adopted to predict postoperative survival of LCPs. Figure2 shows the flowchart of the proposed hybrid method. The specific steps of the hybrid method are presented as follows:
(1)
Set CVCF ton-fold cross-validation. Then, the original dataset is divided into n subsets(2)
Take a different subset from then subsets each time as the testing set and the remaining n−1 subsets as the training set. Therefore, a total of n different C4.5 classifiers are trained. Then, all the trained C4.5 classifiers will vote for each sample in the dataset. In this way, each sample has a real class label and n labels marked by C4.5(3)
For each sample, determine whether all (or most) labels marked with C4.5 are different from the real one. If all (or most) of them are different from the real class label, the sample will be treated as noise and removed from the dataset. On the contrary, the sample is retained. Finally, all the retained samples make up a cleaned dataset(4)
Oversample from the cleaned dataset with SMOTE until the class distribution of the dataset is balanced(5)
After data preprocessing with CVCF-SMOTE, the new dataset is divided into a training set and a testing set(6)
Set the search range for the penalty factorC and kernel parameter γ. Initialize particle swarm(7)
Evaluate the fitness of each particle based on equation (10). Calculate the linguistic values of Inertia, Social, Cognitive, η, and λ according to equations (13)-(22)(8)
Convert the language values ofInertia, Social, Cognitive, η, and λ into numerical values based on equation (23) and Table 3. Update the velocity and position of each particle based on equations (11) and (12)(9)
Determine whether the maximum number of iterations has been reached. If it is reached, the optimized SVM is output. Otherwise, return to steps (7) and (8)(10)
Apply the optimized SVM on the testing setFigure 2
Flowchart of the proposed hybrid method for predicting postoperative survival of LCPs.


## 2.1. Data Description

In this paper, the thoracic surgery dataset in Zięba et al. [5], is selected to predict the postoperative survival of LCPs. Data were collected from the Wroclaw Thoracic Surgery Center. These patients underwent lung resection for primary LC from 2007 to 2011. It contains 470 samples with an imbalance rate of 5.71. There are 400 patients who survived more than one year and 70 patients who survived less than one year in this dataset. Table 1 shows the features of the dataset. These features were selected from 36 preoperative predictors by the information gain method and were used to predict the postoperative survival expectancy. Our task is to predict whether the survival time in patients after surgery was greater than one year.Table 1
Feature details of the thoracic surgery dataset.
Feature IDDescriptionType of attribute1Size of the original tumor, from OC11 (smallest) to OC14 (largest)Nominal2Diagnosis (specific combination of ICD-10 codes for primary and secondary as well multiple tumors if any)Nominal3Forced vital capacityNumeric4Pain (presurgery)Binary5Age at surgeryNumeric6Performance statusNominal7Weakness (presurgery)Binary8Dyspnoea (presurgery)Binary9Cough (presurgery)Binary10Haemoptysis (presurgery)Binary11Peripheral arterial diseasesBinary12MI up to 6 monthsBinary13AsthmaBinary14Volume that has been exhaled at the end of the first second of forced expirationNumeric15SmokingBinary16Type 2 diabetes mellitusBinary171-year survival period (true value if died)Binary


## 2.2. Data Preprocessing

### 2.2.1. CVCF for Noise Cleaning

Although SMOTE is one of the most widely used methods for imbalanced data processing, it has some drawbacks in dealing with data noise. A major concern is that SMOTE may exacerbate the presence of noise in the data, as shown in Figure1. Given the good performance of CVCF, we consider using it to improve SMOTE.Figure 1
Using SMOTE alone may indiscriminately aggravate the noise.The CVCF algorithm is a well-known representative of an ensemble-based noise filter [29]. It induces multiple single classifiers by means of cross-validation. Afterward, samples mislabeled by all classifiers (or most classifiers) will be marked as noise and removed from the dataset. Choosing an appropriate base classifier is a key operation to ensure the excellent performance of CVCF. In this paper, we choose the C4.5 algorithm as the base classifier of CVCF because it has better robustness to noise data and suitability for ensemble learning [30, 31].C4.5 is an improved version of the ID3 algorithm [32]. It improves ID3 by handing numeric attributes and missing values and by introducing pruning. In addition, essentially different from the ID3, the information gain ratio is used to select split attributes in C4.5, which can be denoted by
(1)InfoGainRatioS,A=InfoGainS,ASpiltInfoS,A,where InfoGainRatioS,A represents the information gain ratio of attribute A in dataset S. InfoGainS,A is the information gain of dataset S after splitting through attribute A and can be denoted by
(2)InfoGainS,A=InfoS−InfoS,A,where InfoS is the entropy of dataset S. InfoS,A is the conditional entropy about attribute A. SpiltInfoS,A denotes the splitting information of attribute A and is expressed by
(3)SpiltInfoS,A=−∑i=1mSiSlog2SiS,where S represents the number of samples of dataset S. Si indicates the number of samples of subset i after the original dataset is divided into m subsets according to the attribute value of A.


### 2.2.2. SMOTE to Balance Data

The core idea of SMOTE is to insert artificial samples of similar values into the minority class, thereby improving the imbalanced distribution of classes. More specifically, the sampling ratio is set firstly, and then, thek nearest neighbors of each minority sample are found. Finally, according to equation (4), one of the neighbors is randomly selected to generate a synthetic sample that is put back into the dataset until the sampling number reaches the set ratio. The synthesized new sample is calculated as follows:
(4)Xnew=X+∂Xi‐X,∂∈0,1,where Xnew represents a new synthetic sample, X is the feature vector for each sample in the minority class, and Xi is the i-th nearest neighbor of sample X. ∂ is a random number between 0 and 1.


## 2.2.1. CVCF for Noise Cleaning

Although SMOTE is one of the most widely used methods for imbalanced data processing, it has some drawbacks in dealing with data noise. A major concern is that SMOTE may exacerbate the presence of noise in the data, as shown in Figure1. Given the good performance of CVCF, we consider using it to improve SMOTE.Figure 1
Using SMOTE alone may indiscriminately aggravate the noise.The CVCF algorithm is a well-known representative of an ensemble-based noise filter [29]. It induces multiple single classifiers by means of cross-validation. Afterward, samples mislabeled by all classifiers (or most classifiers) will be marked as noise and removed from the dataset. Choosing an appropriate base classifier is a key operation to ensure the excellent performance of CVCF. In this paper, we choose the C4.5 algorithm as the base classifier of CVCF because it has better robustness to noise data and suitability for ensemble learning [30, 31].C4.5 is an improved version of the ID3 algorithm [32]. It improves ID3 by handing numeric attributes and missing values and by introducing pruning. In addition, essentially different from the ID3, the information gain ratio is used to select split attributes in C4.5, which can be denoted by
(1)InfoGainRatioS,A=InfoGainS,ASpiltInfoS,A,where InfoGainRatioS,A represents the information gain ratio of attribute A in dataset S. InfoGainS,A is the information gain of dataset S after splitting through attribute A and can be denoted by
(2)InfoGainS,A=InfoS−InfoS,A,where InfoS is the entropy of dataset S. InfoS,A is the conditional entropy about attribute A. SpiltInfoS,A denotes the splitting information of attribute A and is expressed by
(3)SpiltInfoS,A=−∑i=1mSiSlog2SiS,where S represents the number of samples of dataset S. Si indicates the number of samples of subset i after the original dataset is divided into m subsets according to the attribute value of A.


## 2.2.2. SMOTE to Balance Data

The core idea of SMOTE is to insert artificial samples of similar values into the minority class, thereby improving the imbalanced distribution of classes. More specifically, the sampling ratio is set firstly, and then, thek nearest neighbors of each minority sample are found. Finally, according to equation (4), one of the neighbors is randomly selected to generate a synthetic sample that is put back into the dataset until the sampling number reaches the set ratio. The synthesized new sample is calculated as follows:
(4)Xnew=X+∂Xi‐X,∂∈0,1,where Xnew represents a new synthetic sample, X is the feature vector for each sample in the minority class, and Xi is the i-th nearest neighbor of sample X. ∂ is a random number between 0 and 1.


## 2.3. The Proposed FPSO-Optimized SVM (FPSO-SVM)

### 2.3.1. SVM

SVM is a supervised learning classifier based on statistical theory and structural risk optimization [33]. SVM is not prone to overfitting and can handle high-dimensional data well. The principle of SVM is to map the original data to a high-dimensional space to discover a hyperplane that maximizes the margin determined by the support vectors. Suppose there is a dataset D=x1,y1,x2,y2,⋯,xn,yn. The optimal hyperplane of dataset D can be expressed as
(5)aTx+b=0,where aT is the weight vector and b represents the bias.For nonlinear problems, the above-mentioned optimal hyperplane can be transformed into(6)mina,bs.t.12aTa‐C∑i=1nζi,yiaT⋅xi+b≥1−ζi,ζi≥0i=1,2,⋯,n,where C is the penalty factor and ζi is the slack variable. The above constrained objective function can satisfy the KKT condition by introducing the Lagrange formulation. The original objective function is transformed into
(7)min12∑i=1n∑j=1nyiyjβiβjxi⋅xj−∑i=1nβi,s.t.∑i=1nβiyi=0,0≤βi≤C,i,j=1,2,⋯,n,where β is a Lagrangian multiplier. According to the previous experimental experience, a larger value of C means a larger separation interval and a greater generalization risk. Conversely, when the value of C is too small, it is easy to have an underfitting problem.Finally, the decision function is shown in(8)fx=sgn∑i=1nβi∗yiK<xi⋅xj>+b∗,where βi∗ and b∗ are the optimal Lagrangian multiplier and optimal value of b, respectively, and sgn⋅ represents a symbolic function. K<xi⋅xj> is a kernel function. Usually, the radial basis function (RBF) kernel function is selected for SVM, which can be expressed as
(9)K<xi⋅xj>=exp−γxi−xj2,where γ is the kernel parameter. The classification performance of SVM depends heavily on the setting of penalty factor C and kernel parameter γ. Therefore, parameter setting is a key step in applying SVM.


### 2.3.2. FPSO-SVM Model

In order to make SVM have better classification performance, we use FPSO to optimize the penalty factorC and kernel parameter γ of SVM, called FPSO-SVM. The classification accuracy is taken as the fitness function of FPSO, which is defined as
(10)Fitness=Accuracy=TP+TNTP+TN+FP+FN,where TP, TN, FP, and FN represent four different classification results which are shown in Table 2.Table 2
Confusion matrix.
Actual positiveActual negativePredicted positiveTPFPPredicted negativeFNTNFPSO is a fully adaptive version of PSO, which calculates the inertia weight, learning factor, and velocity independently for each particle based on fuzzy logic. The outstanding advantages of FPSO are that it does not require any prior knowledge about PSO and its optimization performance and convergence speed are better than those of PSO.In FPSO, first, the number of particle swarms is set toN=10+2M based on the heuristic [34, 35]. Here, M is the dimension of the optimization problem. In this paper, since there are two SVM parameters that need to be optimized, M=2 and N=12 (round down). After initializing the particles, we need to update them according to the position and velocity of the particles. Let xik and vik be the velocity and position of the i-th particle at the k-th iteration, respectively. At the k+1-th iteration, the velocity vik+1 and position xik+1 of the i-th particle can be defined as
(11)vik+1=wik⋅vik+csocik⋅r1⋅xik−gk+ccogik⋅r2⋅xik‐bik,i=1,2⋯,12,(12)xik+1=xik+vik+1,where wik is the inertia weight of particle i at the k-th iteration and csocik and ccogik are social and cognitive factors of particle i at the k-th iteration, respectively. In FPSO, unlike conventional PSO, the values of wik, csocik, and ccogik are not fixed but are calculated separately for different particles at each iteration. r1 and r2 are two random vectors, respectively. bik and gk are the position of the i-th particle and the best global position in the swarm at the k-th iteration.The maximum velocity (vmaxm) and minimum velocity (vminm) of all particles in the m-th dimension are defined as
(13)vmaxm=η⋅bmaxm−bminm,η∈0,1.(14)vminm=λ⋅bmaxm−bminm,λ∈0,1,where bmaxm and bminm represent upper and lower bounds of the m-th dimension for the optimization problem, respectively. η and λ (η>λ) are two coefficients determined by linguistic variables, in order to clamp vmaxm and vminm of each particle.In order to get thew, csoc, ccog, η, and λ values of each particle in each iteration, two concepts are introduced: the distance between each particle and the global optimal particle and the fitness increment of each particle relative to the previous iteration.The distance between any two particles in thek-th iteration is expressed as
(15)δxik,xjk=xik−xjk2=∑m=12xi,mk−xj,mk2,i,j=1,2,⋯,12.The functionϕ represents the normalized fitness increment of particle i for the previous iteration, which is calculated as
(16)ϕxik+1,xik=δxik+1,xikδmax⋅minfxik+1,fwor−minfxik,fworfwor,where δmax is the diagonal length of the rectangle formed by the search space. fwor is the worst fitness value.The linguistic variable of functionδ is defined as Same, Near, and Far, which is used to measure the distance from a particle to the global best particle. The trapezoid membership function of Same is defined as
(17)δ=1,if0≤δ<δ1,δ2−δδ2−δ1,ifδ1≤δ<δ2,0,ifδ2≤δ≤δmax.The triangle membership function ofNear is defined as
(18)δ=0,if0≤δ<δ1,δ−δ1δ2−δ1,ifδ1≤δ<δ2,δ3−δδ3−δ2,ifδ2≤δ<δ3,0,ifδ3≤δ≤δmax.The trapezoid membership function ofFar is defined as
(19)δ=0,if0≤δ<δ2,δ−δ2δ3−δ2,ifδ2≤δ<δ3,1,ifδ3≤δ≤δmax,where δ1=0.2⋅δmax, δ2=0.4⋅δmax, and δ3=0.6⋅δmax.The linguistic variable of functionϕ is defined as Better, Same, and Worse, which is used to measure the improvement of a particle’s fitness value for the previous iteration. The trapezoid membership function of Better can be obtained by
(20)ϕ=1,ifϕ=−1,−ϕ,if−1<ϕ<0,0,if0≤ϕ≤1.The triangle membership function ofSame is expressed as follows:
(21)ϕ=1−ϕ.The triangle membership function ofWorse is as follows:
(22)ϕ=0,if−1≤ϕ<0,ϕ,if0≤ϕ<1,1,ifϕ=1.According to the preset fuzzy rules,w, csoc, ccog, η, and λ have three levels including Low, Medium, and High [28]. Table 3 shows the defuzzification values of w, csoc, ccog, η, and λ, which are calculated by the Sugeno inference method [36]. It is defined as follows:
(23)output=∑r=1Rρrzr∑r=1Rρr,r=1,2⋯R,where R represents the number of rules. ρr and zr are the membership degree of the input variable and output value of the r-th rule, respectively.Table 3
Defuzzification ofw, csoc, ccog, η, and λ.
OutputLevelLowMediumHighw0.30.51.0csoc1.02.03.0ccog0.11.53.0λ0.00.0010.01η0.10.150.2Then, update the position of each particle based on the obtained values ofw, csoc, ccog, η, and λ. Finally, recalculate the fitness of each particle, that is, accuracy of the SVM corresponding to each particle. Repeat the above process until the maximum number of iterations is reached and output SVM with the optimal parameters.The time complexity of FPOS-SVM consists of two parts: FPSO and SVM. In FPSO, the velocity and position of each particle are calculated in each iteration. Therefore, the computational complexity of FPSO is determined by the number of iterations, the particle swarm size, and the dimensionality of each particle. Thus, FPSO requiresOTNm time complexity, where T is the number of iterations of FPSO, N is the particle swarm size of FPSO, and m is the dimensionality of the optimization problem. For SVM, the optimal hyperplane is obtained by computing the distance between the support vector and the decision boundary. Then, the time complexity required for SVM is Odnsv, where d is the input vector dimension and nsv is the number of support vectors. In FPSO-SVM, the number of SVM computations depends on the particle swarm size and the number of iterations of FPSO. Therefore, the time complexity of FPSO-SVM is OTNm+TNdnsv.


## 2.3.1. SVM

SVM is a supervised learning classifier based on statistical theory and structural risk optimization [33]. SVM is not prone to overfitting and can handle high-dimensional data well. The principle of SVM is to map the original data to a high-dimensional space to discover a hyperplane that maximizes the margin determined by the support vectors. Suppose there is a dataset D=x1,y1,x2,y2,⋯,xn,yn. The optimal hyperplane of dataset D can be expressed as
(5)aTx+b=0,where aT is the weight vector and b represents the bias.For nonlinear problems, the above-mentioned optimal hyperplane can be transformed into(6)mina,bs.t.12aTa‐C∑i=1nζi,yiaT⋅xi+b≥1−ζi,ζi≥0i=1,2,⋯,n,where C is the penalty factor and ζi is the slack variable. The above constrained objective function can satisfy the KKT condition by introducing the Lagrange formulation. The original objective function is transformed into
(7)min12∑i=1n∑j=1nyiyjβiβjxi⋅xj−∑i=1nβi,s.t.∑i=1nβiyi=0,0≤βi≤C,i,j=1,2,⋯,n,where β is a Lagrangian multiplier. According to the previous experimental experience, a larger value of C means a larger separation interval and a greater generalization risk. Conversely, when the value of C is too small, it is easy to have an underfitting problem.Finally, the decision function is shown in(8)fx=sgn∑i=1nβi∗yiK<xi⋅xj>+b∗,where βi∗ and b∗ are the optimal Lagrangian multiplier and optimal value of b, respectively, and sgn⋅ represents a symbolic function. K<xi⋅xj> is a kernel function. Usually, the radial basis function (RBF) kernel function is selected for SVM, which can be expressed as
(9)K<xi⋅xj>=exp−γxi−xj2,where γ is the kernel parameter. The classification performance of SVM depends heavily on the setting of penalty factor C and kernel parameter γ. Therefore, parameter setting is a key step in applying SVM.


## 2.3.2. FPSO-SVM Model

In order to make SVM have better classification performance, we use FPSO to optimize the penalty factorC and kernel parameter γ of SVM, called FPSO-SVM. The classification accuracy is taken as the fitness function of FPSO, which is defined as
(10)Fitness=Accuracy=TP+TNTP+TN+FP+FN,where TP, TN, FP, and FN represent four different classification results which are shown in Table 2.Table 2
Confusion matrix.
Actual positiveActual negativePredicted positiveTPFPPredicted negativeFNTNFPSO is a fully adaptive version of PSO, which calculates the inertia weight, learning factor, and velocity independently for each particle based on fuzzy logic. The outstanding advantages of FPSO are that it does not require any prior knowledge about PSO and its optimization performance and convergence speed are better than those of PSO.In FPSO, first, the number of particle swarms is set toN=10+2M based on the heuristic [34, 35]. Here, M is the dimension of the optimization problem. In this paper, since there are two SVM parameters that need to be optimized, M=2 and N=12 (round down). After initializing the particles, we need to update them according to the position and velocity of the particles. Let xik and vik be the velocity and position of the i-th particle at the k-th iteration, respectively. At the k+1-th iteration, the velocity vik+1 and position xik+1 of the i-th particle can be defined as
(11)vik+1=wik⋅vik+csocik⋅r1⋅xik−gk+ccogik⋅r2⋅xik‐bik,i=1,2⋯,12,(12)xik+1=xik+vik+1,where wik is the inertia weight of particle i at the k-th iteration and csocik and ccogik are social and cognitive factors of particle i at the k-th iteration, respectively. In FPSO, unlike conventional PSO, the values of wik, csocik, and ccogik are not fixed but are calculated separately for different particles at each iteration. r1 and r2 are two random vectors, respectively. bik and gk are the position of the i-th particle and the best global position in the swarm at the k-th iteration.The maximum velocity (vmaxm) and minimum velocity (vminm) of all particles in the m-th dimension are defined as
(13)vmaxm=η⋅bmaxm−bminm,η∈0,1.(14)vminm=λ⋅bmaxm−bminm,λ∈0,1,where bmaxm and bminm represent upper and lower bounds of the m-th dimension for the optimization problem, respectively. η and λ (η>λ) are two coefficients determined by linguistic variables, in order to clamp vmaxm and vminm of each particle.In order to get thew, csoc, ccog, η, and λ values of each particle in each iteration, two concepts are introduced: the distance between each particle and the global optimal particle and the fitness increment of each particle relative to the previous iteration.The distance between any two particles in thek-th iteration is expressed as
(15)δxik,xjk=xik−xjk2=∑m=12xi,mk−xj,mk2,i,j=1,2,⋯,12.The functionϕ represents the normalized fitness increment of particle i for the previous iteration, which is calculated as
(16)ϕxik+1,xik=δxik+1,xikδmax⋅minfxik+1,fwor−minfxik,fworfwor,where δmax is the diagonal length of the rectangle formed by the search space. fwor is the worst fitness value.The linguistic variable of functionδ is defined as Same, Near, and Far, which is used to measure the distance from a particle to the global best particle. The trapezoid membership function of Same is defined as
(17)δ=1,if0≤δ<δ1,δ2−δδ2−δ1,ifδ1≤δ<δ2,0,ifδ2≤δ≤δmax.The triangle membership function ofNear is defined as
(18)δ=0,if0≤δ<δ1,δ−δ1δ2−δ1,ifδ1≤δ<δ2,δ3−δδ3−δ2,ifδ2≤δ<δ3,0,ifδ3≤δ≤δmax.The trapezoid membership function ofFar is defined as
(19)δ=0,if0≤δ<δ2,δ−δ2δ3−δ2,ifδ2≤δ<δ3,1,ifδ3≤δ≤δmax,where δ1=0.2⋅δmax, δ2=0.4⋅δmax, and δ3=0.6⋅δmax.The linguistic variable of functionϕ is defined as Better, Same, and Worse, which is used to measure the improvement of a particle’s fitness value for the previous iteration. The trapezoid membership function of Better can be obtained by
(20)ϕ=1,ifϕ=−1,−ϕ,if−1<ϕ<0,0,if0≤ϕ≤1.The triangle membership function ofSame is expressed as follows:
(21)ϕ=1−ϕ.The triangle membership function ofWorse is as follows:
(22)ϕ=0,if−1≤ϕ<0,ϕ,if0≤ϕ<1,1,ifϕ=1.According to the preset fuzzy rules,w, csoc, ccog, η, and λ have three levels including Low, Medium, and High [28]. Table 3 shows the defuzzification values of w, csoc, ccog, η, and λ, which are calculated by the Sugeno inference method [36]. It is defined as follows:
(23)output=∑r=1Rρrzr∑r=1Rρr,r=1,2⋯R,where R represents the number of rules. ρr and zr are the membership degree of the input variable and output value of the r-th rule, respectively.Table 3
Defuzzification ofw, csoc, ccog, η, and λ.
OutputLevelLowMediumHighw0.30.51.0csoc1.02.03.0ccog0.11.53.0λ0.00.0010.01η0.10.150.2Then, update the position of each particle based on the obtained values ofw, csoc, ccog, η, and λ. Finally, recalculate the fitness of each particle, that is, accuracy of the SVM corresponding to each particle. Repeat the above process until the maximum number of iterations is reached and output SVM with the optimal parameters.The time complexity of FPOS-SVM consists of two parts: FPSO and SVM. In FPSO, the velocity and position of each particle are calculated in each iteration. Therefore, the computational complexity of FPSO is determined by the number of iterations, the particle swarm size, and the dimensionality of each particle. Thus, FPSO requiresOTNm time complexity, where T is the number of iterations of FPSO, N is the particle swarm size of FPSO, and m is the dimensionality of the optimization problem. For SVM, the optimal hyperplane is obtained by computing the distance between the support vector and the decision boundary. Then, the time complexity required for SVM is Odnsv, where d is the input vector dimension and nsv is the number of support vectors. In FPSO-SVM, the number of SVM computations depends on the particle swarm size and the number of iterations of FPSO. Therefore, the time complexity of FPSO-SVM is OTNm+TNdnsv.


## 2.4. Specific Steps of the Proposed Hybrid Method for Predicting Postoperative Survival of LCPs

Based on improved SMOTE and FPSO-SVM, we propose a two-stage hybrid method to improve the performance of the postoperative survival prediction of LCPs. In the first stage, CVCF is used to remove noise samples to improve the performance of SMOTE. Then, apply SMOTE to balance data. In the second stage, FPSO-SVM is adopted to predict postoperative survival of LCPs. Figure2 shows the flowchart of the proposed hybrid method. The specific steps of the hybrid method are presented as follows:
(1)
Set CVCF ton-fold cross-validation. Then, the original dataset is divided into n subsets(2)
Take a different subset from then subsets each time as the testing set and the remaining n−1 subsets as the training set. Therefore, a total of n different C4.5 classifiers are trained. Then, all the trained C4.5 classifiers will vote for each sample in the dataset. In this way, each sample has a real class label and n labels marked by C4.5(3)
For each sample, determine whether all (or most) labels marked with C4.5 are different from the real one. If all (or most) of them are different from the real class label, the sample will be treated as noise and removed from the dataset. On the contrary, the sample is retained. Finally, all the retained samples make up a cleaned dataset(4)
Oversample from the cleaned dataset with SMOTE until the class distribution of the dataset is balanced(5)
After data preprocessing with CVCF-SMOTE, the new dataset is divided into a training set and a testing set(6)
Set the search range for the penalty factorC and kernel parameter γ. Initialize particle swarm(7)
Evaluate the fitness of each particle based on equation (10). Calculate the linguistic values of Inertia, Social, Cognitive, η, and λ according to equations (13)-(22)(8)
Convert the language values ofInertia, Social, Cognitive, η, and λ into numerical values based on equation (23) and Table 3. Update the velocity and position of each particle based on equations (11) and (12)(9)
Determine whether the maximum number of iterations has been reached. If it is reached, the optimized SVM is output. Otherwise, return to steps (7) and (8)(10)
Apply the optimized SVM on the testing setFigure 2
Flowchart of the proposed hybrid method for predicting postoperative survival of LCPs.


## 3. Experiments and Results

### 3.1. Experiment Design

To evaluate our proposed hybrid method, we compare it with several state-of-the-art algorithms including PSO-optimized SVM (PSO-SVM), SVM,k-nearest neighbor (KNN) [37], random forest (RF) [38], gradient boosting decision tree (GBDT) [39], and AdaBoost [40]. In addition, we consider six preprocessing approaches, including CVCF-SMOTE, Borderline-SMOTE (B-SMOTE) [41], Safe-Level-SMOTE (SL-SMOTE) [42], SMOTE-TL [43], SMOTE, and no preprocessing (marked as NONE), to explore the performance of our proposed CVCF-SMOTE method. B-SMOTE, SL-SMOTE, and SMOTE-TL are three representative SMOTE extensions, which can handle imbalanced data with noise. In addition, in order to better evaluate the effectiveness of the proposed hybrid method, we tested its performance on two other imbalanced data. The value range of penalty factor C and kernel parameter γ is set to 0,30, and the maximum number of iterations is set to 30. All of these algorithms are programmed in the Python programming language, except for CVCF-SMOTE which is run in the KEEL software [44]. To eliminate randomness, experiments are repeated 10 times and the average performance is shown in this study.


### 3.2. Performance Metrics

In this section, we introduce the selected widely used imbalanced data classification performance metrics, including accuracy (defined by equation (10)), G-mean, F1, and AUC. They can be calculated according to the confusion matrix in Table 2.
(24)G‐mean=TPTP+FN×TNTN+FP,(25)F1=2∗precision∗recallprecision+recall,where precision=TP/TP+FP and recall=TP/TP+FN. Precision can be regarded as a measure of the exactness of a classifier, while recall can be regarded as a measure of the completeness of a classifier.AUC is defined as the area under the ROC curve and the coordinate axis. AUC is very suitable for the evaluation of imbalanced data classifiers because it is not sensitive to imbalanced distribution and error classification costs, and it can achieve the balance between true positive and false positive [45].


### 3.3. Result and Discussion

Tables4–7 demonstrate the accuracy, G-mean, F1, and AUC values of different algorithms under different preprocessing methods for predicting postoperative survival of LCPs, respectively. The best experimental results of different preprocessing methods are marked in bold. We can see from Tables 4–7 that the proposed CVCF-SMOTE+FPSO-SVM model obtains the best performance among all methods with 95.11% accuracy, 95.10% G-mean, 95.02% F1, and 95.10% AUC. This shows that our proposed hybrid method can balance the classification accuracy of the minority class and the majority class while ensuring overall accuracy. That is, the proposed CVCF-SMOTE+FPSO-SVM method has a higher recognition rate for patients who survived after LC surgery for both longer than 1 year and less than 1 year.Table 4
Accuracy comparison for different algorithms with different preprocessing methods.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.84400.71490.63850.73780.86790.9511PSO-SVM0.84400.65700.62170.67760.72670.8643SVM0.84400.52940.55610.47810.54930.5204RF0.83690.71490.60230.73880.84300.8869GBDT0.81560.70590.58640.70250.82130.9276KNN0.82270.65610.58330.69100.79050.9005AdaBoost0.79430.66520.56150.64580.76740.9095Table 5
G-mean comparison for different algorithms with different preprocessing methods.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM00.69420.61480.72030.86250.9510PSO-SVM00.58320.56280.61500.65670.8501SVM0000.15370.10150.1659RF00.70920.60170.73850.84040.8868GBDT0.29380.69010.58350.70240.81540.9274KNN00.65720.58190.68740.79190.9000AdaBoost0.20590.65500.55520.64640.75970.9096Table 6
F1 comparison for different algorithms with different preprocessing methods.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM00.66120.55490.70590.84820.9502PSO-SVM00.50890.49950.56000.60220.8336SVM0000.28230.06050.0536RF00.68340.57130.74580.82410.8889GBDT0.13330.65240.54700.70250.79500.9292KNN00.65450.54730.70940.77600.9035AdaBoost0.06450.61860.51010.64250.73230.9099Table 7
AUC comparison for different algorithms with different preprocessing methods.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.50000.72650.62680.74000.86390.9510PSO-SVM0.50000.64260.60690.67540.70940.8631SVM0.50000.50000.50000.49930.50590.5138RF0.49580.71150.60380.73970.84110.8873GBDT0.52020.69930.58570.70520.81710.9281KNN0.48740.65810.58420.69190.79270.9010AdaBoost0.48910.66030.55820.64830.76210.9097In addition, it is easy to see from Tables5–7 that the G-mean, F1, and AUC performances of different classifiers for the original dataset without preprocessing are extremely poor. However, it can be found from Table 4 that the classification accuracy of all the classifiers for the original dataset is higher than the accuracy after SMOTE preprocessing. This indicates susceptibility to imbalanced data; although the classifiers perform well in the majority class, it performs very poorly in the minority class. That is to say, these classifiers fail to balance the classification accuracy of LCPs whose survival time after surgery is longer than 1 year and less than 1 year.For the performance after preprocessing with SMOTE, we found that theG-mean, F1, and AUC values of most classifiers (except SVM) are higher than those of the original dataset. However, as can be seen from Table 4, the accuracy of all classifiers with SMOTE is lower than that of the original dataset. This shows that although SMOTE can balance precision and recall, it leads to a decrease in accuracy. For the three SMOTE extensions SL-SMOTE, SMOTE-TL, and B-SMOTE, we find that B-SMOTE has the most competitive performance. B-SMOTE+FPSO-SVM obtained the experimental results second only to CVCF-SMOTE+FPSO-SVM.Figure3 shows the stacked histograms of accuracy, G-mean, F1, and AUC for different algorithms under different preprocessing methods. It can be seen from Figure 3 that our proposed CVCF-SMOTE+FPSO-SVM has the best performance in predicting postoperative survival of LCPs. The main reasons behind the experimental results are as follows: first, CVCF identifies and removes noise to improve the data quality so that blind oversampling can be reduced when applying SMOTE. Second, FPSO-SVM can search the optimal parameters of SVM adaptively, which improves the classification accuracy of SVM.Figure 3
Stacked histograms of accuracy,G-mean, F1, and AUC for different algorithms under different preprocessing methods.In order to further test the difference between CVCF-SMOTE+FPSO-SVM and other combination methods, a pairedt-test was conducted among CVCF-SMOTE+FPSO-SVM and the best results under different preprocessing methods. A p value less than 0.05 is considered to be statistically significant in the experiment. From Table 8, it can be seen that CVCF-SMOTE+FPSO-SVM achieves significantly better results than the best results under different preprocessing methods in terms of the accuracy, F1, G-mean, and AUC at the prescribed statistical significance level of 5%.Table 8
Pairedt-test results of CVCF-SMOTE+FPSO-SVM and the best performance under different preprocessing methods in terms of accuracy, F1, G-mean, and AUC on the thoracic surgery dataset. For CVCF-SMOTE, the p value is the statistic of the best result and the second best result.
MethodsAccuracyF1G-meanAUCNONE11.034 (0.000)25.502 (0.000)21.102 (0.000)27.01 (0.000)SMOTE14.348 (0.000)16.01 (0.000)10.261 (0.000)12.469 (0.000)SL-SMOTE29.947 (0.000)25.764 (0.000)30.349 (0.000)31.255 (0.000)SMOTE-TL29.815 (0.000)30.281 (0.000)22.248 (0.000)26.895 (0.000)B-SMOTE6.541 (0.000)5.176 (0.001)5.297 (0.000)5.997 (0.000)CVCF-SMOTE5.237 (0.001)4.994 (0.001)4.67 (0.001)4.719 (0.001)We also compare the accuracy of our proposed model with previous studies as shown in Table9. We can see from Table 9 that the accuracy of the CVCF-SMOTE+FPSO-SVM model is higher than that of other methods of the previous literature. Finally, we compare the ROC curves of different algorithms under different preprocessing methods, as shown in Figure 4. The greater the AUC value, the better the classifier performance. It can be seen that the AUC of our proposed CVCF-SMOTE+FPSO-SVM is the largest, which means that our proposed model is outperforming other comparison methods for predicting postoperative survival of LCPs.Table 9
Comparative results with previous studies based on accuracy.
AuthorsMethodsAccuracyMangat and Vig [3]DA-AC82.18%Elyan and Gaber [46]RFGA84.67%Li et al. [47]STDPNF85.32%Muthukumar and Krishnan [48]IFSSs88%Saber Iraji [4]ELM (wave kernel)88.79%Our workCVCF-SMOTE+FPSO-SVM95.11%Figure 4
ROC curve comparison of different algorithms under different preprocessing methods.In order to further prove that the performance of our proposed FPSO-SVM is superior to that of PSO-SVM, we draw the fitness curves of these two algorithms. Figures5(a) and 5(b) show fitness curves of FPSO-SVM and PSO-SVM with CVCF-SMOTE preprocessing. As can be seen from (Figures 5(a) and 5(b)), we can clearly see that compared with PSO-SVM, FPSO-SVM not only has a higher fitting degree but also a faster convergence speed. This shows that our proposed FPSO-SVM algorithm can identify the optimal solution in the search space faster and more accurately than PSO-SVM.Figure 5
Fitness curves of FPSO-SVM (a) and PSO-SVM (b) with CVCF-SMOTE.
(a)(b)


### 3.4. Works on Other Datasets

To show the generalization ability of our proposed method, we apply CVCF-SMOTE+FPSO-SVM to the other two imbalanced datasets collected from KEEL (https://sci2s.ugr.es/keel/) [44]. Table 10 shows the details of the two selected datasets.Table 10
Details of Haberman and appendicitis datasets.
DatasetsCase numberAttribute numberClass distributionHaberman3063225/81Appendicitis106785/21Tables11 and 12 show the accuracy and AUC of different algorithms in different preprocessing methods on the Haberman dataset. It can be seen from Tables 11 and 12 that under different preprocessing methods, accuracy and AUC of CVCF-SMOTE+FPSO-SVM are higher than those of the comparison classifiers. As shown in Table 13, the results of the paired t-test also show that CVCF-SMOTE+FPSO-SVM is significantly better than the best experimental results under different preprocessing methods on the Haberman dataset. For the appendicitis dataset, it can be seen from Tables 14 and 15 that CVCF-SMOTE+FPSO-SVM also obtains the highest accuracy and AUC value compared to other preprocessing methods and classifier combinations. As can be seen from Table 16, for the appendicitis dataset, CVCF-SMOTE+FPSO-SVM achieves significantly better results than the best performance under NONE, SMOTE, SL-SMOTE, and B-SMOTE. However, it is not a significant difference for the best performance under SMOTE-TL.Table 11
Accuracy comparison for different algorithms with different preprocessing methods on the Haberman dataset.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.74020.68900.63860.73960.77950.8205PSO-SVM0.70980.64350.65040.65380.68310.7205SVM0.71960.62910.64090.64230.67720.7165RF0.69890.67950.61420.73150.75590.7772GBDT0.68370.66060.62990.72520.74650.7764KNN0.71740.66300.64170.70000.74490.7992AdaBoost0.71630.64020.63310.61170.68190.7559Table 12
AUC comparison for different algorithms with different preprocessing methods on the Haberman dataset.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.52740.68130.62880.73100.77480.8206PSO-SVM0.50120.61310.63250.66690.65180.7121SVM0.50770.60960.62460.65980.65660.7035RF0.57310.68150.61320.72830.75880.7784GBDT0.54920.66070.62740.72260.74750.7765KNN0.57370.66490.64180.69970.74330.8009AdaBoost0.58090.63590.62930.61180.67790.7549Table 13
Pairedt-test results of CVCF-SMOTE+FPSO-SVM and the best performance under different preprocessing methods in terms of accuracy and AUC on the Haberman dataset.
MethodsAccuracyAUCNONE6.603 (0.000)18.744 (0.000)SMOTE6.555 (0.000)10.315 (0.000)SL-SMOTE15.959 (0.000)15.806 (0.000)SMOTE-TL4.506 (0.001)3.539 (0.006)B-SMOTE2.601 (0.029)2.83 (0.02)CVCF-SMOTE4.669 (0.001)4.392 (0.002)Table 14
Accuracy comparison for different algorithms with different preprocessing methods on the appendicitis dataset.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.86880.87920.82080.93810.91670.9511PSO-SVM0.86250.87130.76200.81040.87140.9277SVM0.84690.79790.78540.83100.88130.9021RF0.84380.84380.72710.87140.90830.9106GBDT0.81880.84790.71460.86900.89170.9085KNN0.85000.77080.73540.84760.87080.8957AdaBoost0.80310.83960.74580.86900.88960.9106Table 15
AUC comparison for different algorithms with different preprocessing methods on the appendicitis dataset.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.68780.88070.81670.94110.91350.9512PSO-SVM0.58930.76020.77080.93110.89170.9239SVM0.66740.79660.78320.84230.87880.8982RF0.69300.84750.73240.87550.90640.9070GBDT0.64600.85390.72070.87130.89090.9092KNN0.68850.77360.73740.84990.86760.8954AdaBoost0.63520.84610.74920.86850.88880.9102Table 16
Pairedt-test results of CVCF-SMOTE+FPSO-SVM and the best performance under different preprocessing methods in terms of accuracy and AUC on the appendicitis dataset.
MethodsAccuracyAUCNONE6.591 (0.000)15.628 (0.000)SMOTE4.562 (0.001)5.176 (0.001)B-SMOTE3.024 (0.014)3.373 (0.008)SL-SMOTE6.227 (0.000)7.009 (0.000)SMOTE-TL1.089 (0.304)0.785 (0.453)CVCF-SMOTE2.764 (0.022)2.787 (0.21)From the experimental results, we see that CVCF-SMOTE+FPSO-SVM outperforms the compared algorithms for both the thoracic surgery dataset and the other two imbalanced datasets. On the one hand, it is because CVCF-improved SMOTE is well adapted to different datasets. On the other hand, FPSO-SVM automatically adjusts the optimal parameters according to different datasets, thus improving the generalization ability of the SVM.


### 3.5. Running Time Analysis

We compared the running time of CVCF-SMOTE+FPSO-SVM with the algorithms with the highest accuracy among all the compared methods. For the three datasets thoracic surgery, Haberman, and appendicitis, the algorithms with the highest accuracy among the compared methods are CVCF-SMOTE+GBDT, CVCF-SMOTE+KNN, and SMOTE-TL+FPSO-SVM, respectively. In addition, in order to compare the running time of FPSO-SVM with that of PSO-SVM, CVCF-SMOTE+PSO-SVM is also involved in the comparison. The comparison results are shown in Table17. It can be seen from Table 17 that the running time for CVCF-SMOTE+FPSO-SVM is less than that of CVCF-SMOTE+PSO-SVM for the three datasets. However, the running time of CVCF-SMOTE+FPSO-SVM is slower than that of CVCF-SMOTE+GBDT, CVCF-SMOTE+KNN, and SMOTE-TL+FPSO-SVM for the thoracic surgery, Haberman, and appendicitis datasets, respectively. Considering the higher classification performance of our proposed method, it can still be considered superior to other algorithms.Table 17
Running time (in second) by CVCF-SMOTE+FPSO-SVM and state-of-the-art algorithms.
DatasetsAlgorithmsThoracic surgeryCVCF-SMOTE+GBDTCVCF-SMOTE+PSO-SVMCVCF-SMOTE+FPSO-SVM31.253.643.5HabermanCVCF-SMOTE+KNNCVCF-SMOTE+PSO-SVMCVCF-SMOTE+FPSO-SVM18.827.524.5AppendicitisSMOTE-TL+FPSO-SVMCVCF-SMOTE+PSO-SVMCVCF-SMOTE+FPSO-SVM13.822.217.3


## 3.1. Experiment Design

To evaluate our proposed hybrid method, we compare it with several state-of-the-art algorithms including PSO-optimized SVM (PSO-SVM), SVM,k-nearest neighbor (KNN) [37], random forest (RF) [38], gradient boosting decision tree (GBDT) [39], and AdaBoost [40]. In addition, we consider six preprocessing approaches, including CVCF-SMOTE, Borderline-SMOTE (B-SMOTE) [41], Safe-Level-SMOTE (SL-SMOTE) [42], SMOTE-TL [43], SMOTE, and no preprocessing (marked as NONE), to explore the performance of our proposed CVCF-SMOTE method. B-SMOTE, SL-SMOTE, and SMOTE-TL are three representative SMOTE extensions, which can handle imbalanced data with noise. In addition, in order to better evaluate the effectiveness of the proposed hybrid method, we tested its performance on two other imbalanced data. The value range of penalty factor C and kernel parameter γ is set to 0,30, and the maximum number of iterations is set to 30. All of these algorithms are programmed in the Python programming language, except for CVCF-SMOTE which is run in the KEEL software [44]. To eliminate randomness, experiments are repeated 10 times and the average performance is shown in this study.


## 3.2. Performance Metrics

In this section, we introduce the selected widely used imbalanced data classification performance metrics, including accuracy (defined by equation (10)), G-mean, F1, and AUC. They can be calculated according to the confusion matrix in Table 2.
(24)G‐mean=TPTP+FN×TNTN+FP,(25)F1=2∗precision∗recallprecision+recall,where precision=TP/TP+FP and recall=TP/TP+FN. Precision can be regarded as a measure of the exactness of a classifier, while recall can be regarded as a measure of the completeness of a classifier.AUC is defined as the area under the ROC curve and the coordinate axis. AUC is very suitable for the evaluation of imbalanced data classifiers because it is not sensitive to imbalanced distribution and error classification costs, and it can achieve the balance between true positive and false positive [45].


## 3.3. Result and Discussion

Tables4–7 demonstrate the accuracy, G-mean, F1, and AUC values of different algorithms under different preprocessing methods for predicting postoperative survival of LCPs, respectively. The best experimental results of different preprocessing methods are marked in bold. We can see from Tables 4–7 that the proposed CVCF-SMOTE+FPSO-SVM model obtains the best performance among all methods with 95.11% accuracy, 95.10% G-mean, 95.02% F1, and 95.10% AUC. This shows that our proposed hybrid method can balance the classification accuracy of the minority class and the majority class while ensuring overall accuracy. That is, the proposed CVCF-SMOTE+FPSO-SVM method has a higher recognition rate for patients who survived after LC surgery for both longer than 1 year and less than 1 year.Table 4
Accuracy comparison for different algorithms with different preprocessing methods.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.84400.71490.63850.73780.86790.9511PSO-SVM0.84400.65700.62170.67760.72670.8643SVM0.84400.52940.55610.47810.54930.5204RF0.83690.71490.60230.73880.84300.8869GBDT0.81560.70590.58640.70250.82130.9276KNN0.82270.65610.58330.69100.79050.9005AdaBoost0.79430.66520.56150.64580.76740.9095Table 5
G-mean comparison for different algorithms with different preprocessing methods.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM00.69420.61480.72030.86250.9510PSO-SVM00.58320.56280.61500.65670.8501SVM0000.15370.10150.1659RF00.70920.60170.73850.84040.8868GBDT0.29380.69010.58350.70240.81540.9274KNN00.65720.58190.68740.79190.9000AdaBoost0.20590.65500.55520.64640.75970.9096Table 6
F1 comparison for different algorithms with different preprocessing methods.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM00.66120.55490.70590.84820.9502PSO-SVM00.50890.49950.56000.60220.8336SVM0000.28230.06050.0536RF00.68340.57130.74580.82410.8889GBDT0.13330.65240.54700.70250.79500.9292KNN00.65450.54730.70940.77600.9035AdaBoost0.06450.61860.51010.64250.73230.9099Table 7
AUC comparison for different algorithms with different preprocessing methods.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.50000.72650.62680.74000.86390.9510PSO-SVM0.50000.64260.60690.67540.70940.8631SVM0.50000.50000.50000.49930.50590.5138RF0.49580.71150.60380.73970.84110.8873GBDT0.52020.69930.58570.70520.81710.9281KNN0.48740.65810.58420.69190.79270.9010AdaBoost0.48910.66030.55820.64830.76210.9097In addition, it is easy to see from Tables5–7 that the G-mean, F1, and AUC performances of different classifiers for the original dataset without preprocessing are extremely poor. However, it can be found from Table 4 that the classification accuracy of all the classifiers for the original dataset is higher than the accuracy after SMOTE preprocessing. This indicates susceptibility to imbalanced data; although the classifiers perform well in the majority class, it performs very poorly in the minority class. That is to say, these classifiers fail to balance the classification accuracy of LCPs whose survival time after surgery is longer than 1 year and less than 1 year.For the performance after preprocessing with SMOTE, we found that theG-mean, F1, and AUC values of most classifiers (except SVM) are higher than those of the original dataset. However, as can be seen from Table 4, the accuracy of all classifiers with SMOTE is lower than that of the original dataset. This shows that although SMOTE can balance precision and recall, it leads to a decrease in accuracy. For the three SMOTE extensions SL-SMOTE, SMOTE-TL, and B-SMOTE, we find that B-SMOTE has the most competitive performance. B-SMOTE+FPSO-SVM obtained the experimental results second only to CVCF-SMOTE+FPSO-SVM.Figure3 shows the stacked histograms of accuracy, G-mean, F1, and AUC for different algorithms under different preprocessing methods. It can be seen from Figure 3 that our proposed CVCF-SMOTE+FPSO-SVM has the best performance in predicting postoperative survival of LCPs. The main reasons behind the experimental results are as follows: first, CVCF identifies and removes noise to improve the data quality so that blind oversampling can be reduced when applying SMOTE. Second, FPSO-SVM can search the optimal parameters of SVM adaptively, which improves the classification accuracy of SVM.Figure 3
Stacked histograms of accuracy,G-mean, F1, and AUC for different algorithms under different preprocessing methods.In order to further test the difference between CVCF-SMOTE+FPSO-SVM and other combination methods, a pairedt-test was conducted among CVCF-SMOTE+FPSO-SVM and the best results under different preprocessing methods. A p value less than 0.05 is considered to be statistically significant in the experiment. From Table 8, it can be seen that CVCF-SMOTE+FPSO-SVM achieves significantly better results than the best results under different preprocessing methods in terms of the accuracy, F1, G-mean, and AUC at the prescribed statistical significance level of 5%.Table 8
Pairedt-test results of CVCF-SMOTE+FPSO-SVM and the best performance under different preprocessing methods in terms of accuracy, F1, G-mean, and AUC on the thoracic surgery dataset. For CVCF-SMOTE, the p value is the statistic of the best result and the second best result.
MethodsAccuracyF1G-meanAUCNONE11.034 (0.000)25.502 (0.000)21.102 (0.000)27.01 (0.000)SMOTE14.348 (0.000)16.01 (0.000)10.261 (0.000)12.469 (0.000)SL-SMOTE29.947 (0.000)25.764 (0.000)30.349 (0.000)31.255 (0.000)SMOTE-TL29.815 (0.000)30.281 (0.000)22.248 (0.000)26.895 (0.000)B-SMOTE6.541 (0.000)5.176 (0.001)5.297 (0.000)5.997 (0.000)CVCF-SMOTE5.237 (0.001)4.994 (0.001)4.67 (0.001)4.719 (0.001)We also compare the accuracy of our proposed model with previous studies as shown in Table9. We can see from Table 9 that the accuracy of the CVCF-SMOTE+FPSO-SVM model is higher than that of other methods of the previous literature. Finally, we compare the ROC curves of different algorithms under different preprocessing methods, as shown in Figure 4. The greater the AUC value, the better the classifier performance. It can be seen that the AUC of our proposed CVCF-SMOTE+FPSO-SVM is the largest, which means that our proposed model is outperforming other comparison methods for predicting postoperative survival of LCPs.Table 9
Comparative results with previous studies based on accuracy.
AuthorsMethodsAccuracyMangat and Vig [3]DA-AC82.18%Elyan and Gaber [46]RFGA84.67%Li et al. [47]STDPNF85.32%Muthukumar and Krishnan [48]IFSSs88%Saber Iraji [4]ELM (wave kernel)88.79%Our workCVCF-SMOTE+FPSO-SVM95.11%Figure 4
ROC curve comparison of different algorithms under different preprocessing methods.In order to further prove that the performance of our proposed FPSO-SVM is superior to that of PSO-SVM, we draw the fitness curves of these two algorithms. Figures5(a) and 5(b) show fitness curves of FPSO-SVM and PSO-SVM with CVCF-SMOTE preprocessing. As can be seen from (Figures 5(a) and 5(b)), we can clearly see that compared with PSO-SVM, FPSO-SVM not only has a higher fitting degree but also a faster convergence speed. This shows that our proposed FPSO-SVM algorithm can identify the optimal solution in the search space faster and more accurately than PSO-SVM.Figure 5
Fitness curves of FPSO-SVM (a) and PSO-SVM (b) with CVCF-SMOTE.
(a)(b)


## 3.4. Works on Other Datasets

To show the generalization ability of our proposed method, we apply CVCF-SMOTE+FPSO-SVM to the other two imbalanced datasets collected from KEEL (https://sci2s.ugr.es/keel/) [44]. Table 10 shows the details of the two selected datasets.Table 10
Details of Haberman and appendicitis datasets.
DatasetsCase numberAttribute numberClass distributionHaberman3063225/81Appendicitis106785/21Tables11 and 12 show the accuracy and AUC of different algorithms in different preprocessing methods on the Haberman dataset. It can be seen from Tables 11 and 12 that under different preprocessing methods, accuracy and AUC of CVCF-SMOTE+FPSO-SVM are higher than those of the comparison classifiers. As shown in Table 13, the results of the paired t-test also show that CVCF-SMOTE+FPSO-SVM is significantly better than the best experimental results under different preprocessing methods on the Haberman dataset. For the appendicitis dataset, it can be seen from Tables 14 and 15 that CVCF-SMOTE+FPSO-SVM also obtains the highest accuracy and AUC value compared to other preprocessing methods and classifier combinations. As can be seen from Table 16, for the appendicitis dataset, CVCF-SMOTE+FPSO-SVM achieves significantly better results than the best performance under NONE, SMOTE, SL-SMOTE, and B-SMOTE. However, it is not a significant difference for the best performance under SMOTE-TL.Table 11
Accuracy comparison for different algorithms with different preprocessing methods on the Haberman dataset.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.74020.68900.63860.73960.77950.8205PSO-SVM0.70980.64350.65040.65380.68310.7205SVM0.71960.62910.64090.64230.67720.7165RF0.69890.67950.61420.73150.75590.7772GBDT0.68370.66060.62990.72520.74650.7764KNN0.71740.66300.64170.70000.74490.7992AdaBoost0.71630.64020.63310.61170.68190.7559Table 12
AUC comparison for different algorithms with different preprocessing methods on the Haberman dataset.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.52740.68130.62880.73100.77480.8206PSO-SVM0.50120.61310.63250.66690.65180.7121SVM0.50770.60960.62460.65980.65660.7035RF0.57310.68150.61320.72830.75880.7784GBDT0.54920.66070.62740.72260.74750.7765KNN0.57370.66490.64180.69970.74330.8009AdaBoost0.58090.63590.62930.61180.67790.7549Table 13
Pairedt-test results of CVCF-SMOTE+FPSO-SVM and the best performance under different preprocessing methods in terms of accuracy and AUC on the Haberman dataset.
MethodsAccuracyAUCNONE6.603 (0.000)18.744 (0.000)SMOTE6.555 (0.000)10.315 (0.000)SL-SMOTE15.959 (0.000)15.806 (0.000)SMOTE-TL4.506 (0.001)3.539 (0.006)B-SMOTE2.601 (0.029)2.83 (0.02)CVCF-SMOTE4.669 (0.001)4.392 (0.002)Table 14
Accuracy comparison for different algorithms with different preprocessing methods on the appendicitis dataset.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.86880.87920.82080.93810.91670.9511PSO-SVM0.86250.87130.76200.81040.87140.9277SVM0.84690.79790.78540.83100.88130.9021RF0.84380.84380.72710.87140.90830.9106GBDT0.81880.84790.71460.86900.89170.9085KNN0.85000.77080.73540.84760.87080.8957AdaBoost0.80310.83960.74580.86900.88960.9106Table 15
AUC comparison for different algorithms with different preprocessing methods on the appendicitis dataset.
AlgorithmsNONESMOTESL-SMOTESMOTE-TLB-SMOTECVCF-SMOTEFPSO-SVM0.68780.88070.81670.94110.91350.9512PSO-SVM0.58930.76020.77080.93110.89170.9239SVM0.66740.79660.78320.84230.87880.8982RF0.69300.84750.73240.87550.90640.9070GBDT0.64600.85390.72070.87130.89090.9092KNN0.68850.77360.73740.84990.86760.8954AdaBoost0.63520.84610.74920.86850.88880.9102Table 16
Pairedt-test results of CVCF-SMOTE+FPSO-SVM and the best performance under different preprocessing methods in terms of accuracy and AUC on the appendicitis dataset.
MethodsAccuracyAUCNONE6.591 (0.000)15.628 (0.000)SMOTE4.562 (0.001)5.176 (0.001)B-SMOTE3.024 (0.014)3.373 (0.008)SL-SMOTE6.227 (0.000)7.009 (0.000)SMOTE-TL1.089 (0.304)0.785 (0.453)CVCF-SMOTE2.764 (0.022)2.787 (0.21)From the experimental results, we see that CVCF-SMOTE+FPSO-SVM outperforms the compared algorithms for both the thoracic surgery dataset and the other two imbalanced datasets. On the one hand, it is because CVCF-improved SMOTE is well adapted to different datasets. On the other hand, FPSO-SVM automatically adjusts the optimal parameters according to different datasets, thus improving the generalization ability of the SVM.


## 3.5. Running Time Analysis

We compared the running time of CVCF-SMOTE+FPSO-SVM with the algorithms with the highest accuracy among all the compared methods. For the three datasets thoracic surgery, Haberman, and appendicitis, the algorithms with the highest accuracy among the compared methods are CVCF-SMOTE+GBDT, CVCF-SMOTE+KNN, and SMOTE-TL+FPSO-SVM, respectively. In addition, in order to compare the running time of FPSO-SVM with that of PSO-SVM, CVCF-SMOTE+PSO-SVM is also involved in the comparison. The comparison results are shown in Table17. It can be seen from Table 17 that the running time for CVCF-SMOTE+FPSO-SVM is less than that of CVCF-SMOTE+PSO-SVM for the three datasets. However, the running time of CVCF-SMOTE+FPSO-SVM is slower than that of CVCF-SMOTE+GBDT, CVCF-SMOTE+KNN, and SMOTE-TL+FPSO-SVM for the thoracic surgery, Haberman, and appendicitis datasets, respectively. Considering the higher classification performance of our proposed method, it can still be considered superior to other algorithms.Table 17
Running time (in second) by CVCF-SMOTE+FPSO-SVM and state-of-the-art algorithms.
DatasetsAlgorithmsThoracic surgeryCVCF-SMOTE+GBDTCVCF-SMOTE+PSO-SVMCVCF-SMOTE+FPSO-SVM31.253.643.5HabermanCVCF-SMOTE+KNNCVCF-SMOTE+PSO-SVMCVCF-SMOTE+FPSO-SVM18.827.524.5AppendicitisSMOTE-TL+FPSO-SVMCVCF-SMOTE+PSO-SVMCVCF-SMOTE+FPSO-SVM13.822.217.3


## 4. Conclusion

In this work, we proposed a hybrid improved SMOTE and adaptive SVM method to predict the postoperative survival of LCPs. In our proposed hybrid model, CVCF is adopted to clear the data noise to improve the performance of SMOTE. Then, we use FPSO-optimized SVM to estimate whether the postoperative survival of LCPs is greater than one year. Experimental results show that our proposed CVCF-SMOTE+FPSO-SVM hybrid method obtains the best accuracy,G-mean, F1, and AUC as compared to other compared algorithms for postoperative survival prediction of LCPs.Our proposed hybrid method can provide valuable medical decision-making support for LCPs and doctors. Considering the excellent classification performance for the other two imbalanced datasets, in the future, we will try to apply the proposed method to other problems based on imbalanced data, such as disease diagnosis and financial fraud detection. There are two limitations that need to be pointed out: one is that we only consider the 1-year survival after lung cancer surgery. In future studies, we will try to predict survival at other time points, such as survival 3 or 5 years after lung cancer surgery. The other is that the value range of the parameters of SVM in FPSO-SVM needs to be set manually, which may require some experience or experimental attempts. Designing a setting-free SVM is our future research direction.



---

*Source: 2213194-2021-09-11.xml*