Next Article in Journal
Development of a Remote Displacement Measuring Laser System for Bridge Inspection
Previous Article in Journal
Privacy Preserving Multi-Party Key Exchange Protocol for Wireless Mesh Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Identification of ECG Signals Using WT-UKF and IPSO-SVM

1
School of Electrical Engineering, Xi’an University of Technology, Xi’an 710048, China
2
School of Humanities and Foreign Languages, Xi’an University of Technology, Xi’an 710048, China
3
Department of Electronic, Electrical, and Systems Engineering, School of Engineering, University of Birmingham, Birmingham B15 2TT, UK
*
Author to whom correspondence should be addressed.
Submission received: 10 January 2022 / Revised: 17 February 2022 / Accepted: 28 February 2022 / Published: 2 March 2022
(This article belongs to the Section Biomedical Sensors)

Abstract

:
The biometric identification method is a current research hotspot in the pattern recognition field. Due to the advantages of electrocardiogram (ECG) signals, which are difficult to replicate and easy to obtain, ECG-based identity identification has become a new direction in biometric recognition research. In order to improve the accuracy of ECG signal identification, this paper proposes an ECG identification method based on a multi-scale wavelet transform combined with the unscented Kalman filter (WT-UKF) algorithm and the improved particle swarm optimization-support vector machine (IPSO-SVM). First, the WT-UKF algorithm can effectively eliminate the noise components and preserve the characteristics of ECG signals when denoising the ECG data. Then, the wavelet positioning method is used to detect the feature points of the denoised signals, and the obtained feature points are combined with multiple feature vectors to characterize the ECG signals, thus reducing the data dimension in identity identification. Finally, SVM is used for ECG signal identification, and the improved particle swarm optimization (IPSO) algorithm is used for parameter optimization in SVM. According to the analysis of simulation experiments, compared with the traditional WT denoising, the WT-UKF method proposed in this paper improves the accuracy of feature point detection and increases the final recognition rate by 1.5%. The highest recognition accuracy of a single individual in the entire ECG identification system achieves 100%, and the average recognition accuracy can reach 95.17%.

1. Introduction

With the development of information technology and the rapid popularization of the internet, biometrics has demonstrated a unique advantage in identification technology. Conventional biometric identification technology includes the following: fingerprint recognition, facial recognition, voice recognition, and other physiological feature recognition technology [1,2]. Although these types have a high recognition rate, they also have some disadvantages: they are easy to replicate and forge, they are sensitive to the recognition environment, etc. [3,4].
In recent years, electrocardiogram (ECG) signal identification has received more attention. ECG signals are electric signals generated by the human heart beat; these signals have the advantage of being difficult to forge or lose. With the development of ECG data acquisition technology, portable signal acquisition devices, such as sports watches, have been designed as highly intelligent and convenient products. Therefore, identification technology based on ECG signals has a strong theoretical research value and bright market application prospects [5,6].
Identification technology based on ECG signals has two core contents: ECG signal preprocessing and identity identification. The preprocessing of ECG signals involves obtaining feature data for identification; the identity identification involves classifying the preprocessed data based on the classification algorithm.
The preprocessing of ECG signals can be divided into filtering processing and feature detection. ECG signals initially acquired from the human body contain substantial noise. Therefore, it is necessary to filter ECG signals first. ECG signals are typical low-frequency signals. The basic denoising methods include Savitzky–Golay [7], wavelet denoising [8] and empirical mode decomposition (EMD) [9]. For a better filtering effect, S. Boda and L. El Bouny [10,11] used EMD decomposition to obtain IMF components, in which empirical wavelet transform and denoising processing were performed based on high-order statistics. However, as the EMD algorithm itself lacks a complete theoretical basis, the phenomenon of modal confusion is prone to occur; thus, the denoising effect cannot be guaranteed in the ECG denoising. D. Zhang [12] used wavelet energy to select wavelet coefficients that required threshold denoising, and they used a sub-band smoothing filter to further denoise ECG signals. This method solved the problem of signal distortion caused by the improper selection of wavelet coefficients during wavelet threshold denoising, but did not solve the problem of the choice of threshold value. Z. Wang [13] proposed a wavelet denoising method for ECG signals. This method constructs a new wavelet base to process ECG signals and uses conventional threshold methods to denoise. In this way, the features of P and T waves are preserved, but the waveform is partially distorted and the baseline wander is not removed. X. K. Wan [14] combined wavelet transform and mathematical morphology filtering to effectively suppress the limit drift. Z. Jin [15] proposed a sparse ECG signal denoising method that combined low-pass filtering and sparse recovery, but it was difficult to select and determine sparse dictionaries, and different sparse dictionaries, have a great impact on the results. However, the above denoising methods obtain good SNR, but the local characteristics of the signals are rarely preserved, making ECG feature detection and identity identification more difficult. HR.C [16] proposed the use of the root mean square error (RMSE) to denoise ECG signals. Compared with the traditional method, based on the percentage root mean square difference (PRD), this method better controlled the reconstruction of signals without reducing the compression ratio, and the reconstructed signals were not distorted. Later, HR.C [17] proposed an ECG compression denoising method based on the trigonometric function coefficient dictionary. This method can efficiently complete the compression and denoising processing of ECG signals, and the subsequent QRS wave detection accuracy achieved a value as high as 99.55%. However, neither method is effective at identity identification.
Feature detection of the filtered ECG signals can be classified into fiducial point detection and non-fiducial point detection [18,19]. In fiducial point detection, ECG signals are defined by fixed fiducial points (such as the peaks of P, QRS complex, and T waves). The time interval between these fiducial points and the amplitude at these points are defined as ECG signal characteristics [20,21]. Non-fiducial point detection does not require the detection of the fiducial point, and methods such as the reconstructed phase space [22], the principal component analysis method [23], and sparse representation [24] are usually used. However, the recognition scale of the non-fiducial point method is small, as the required algorithm is more sophisticated and the amount of extracted feature data are larger.
Commonly used methods of ECG identification include linear classifier [25] and random forest [26]. These methods may not be robust enough in practice, and the identification effect depends heavily on signal quality. Therefore, a neural network [27] is introduced for classification. U. R. Acharya [28] used a 9-layer convolutional neural network (CNN) to achieve identification on the MIT-BIH database. O. Yildirim [29] used a 16-layer CNN model for identification on the same database. The accuracy of the above two methods reached 94.03% and 95.2%, respectively. S. Chauhan [30] used the long–short-term memory (LSTM) networks to classify normal and abnormal heartbeats, with an accuracy rate of 96.45%. S. L. Oh [31] combined CNN with LSTM, using a new hybrid structure for identification, and achieved good results. D. Belo [32] used the temporal convolutional neural network (TCNN) and recurrent neural network (RNN) for identity identification, and the accuracy of these two groups of data are close to 96% and 90%. Although the neural network method has high identification accuracy, the algorithm is unable to explain its own reasoning process and reasoning basis. To obtain higher identification accuracy, a larger amount of data and deeper network structure are required.
This paper proposes an ECG signal identification method based on multi-scale wavelet transform combined with the unscented Kalman filter algorithm (WT-UKF) and the improved particle swarm optimization support vector machine (IPSO-SVM). The following methods are used in the preprocessing of the ECG data: first, the WT-UKF method is used to filter ECG signals. While eliminating the noise interference, it greatly preserves the local characteristics of the ECG signals. Then, the dyadic spline wavelet transform is used to extract the feature points of QRS complex waves, and windowed processing is applied to eliminate the interference of the peak points of R waves, and extract feature points of P and T waves. Finally, composed of the obtained feature points, 22 feature vectors characterize the ECG signals and reduce the ECG data dimension for identification. In ECG signal identification, this paper uses the support vector machine (SVM) method, which is more effective on the small sample training set, and uses the IPSO algorithm to optimize the parameters of SVM, allowing the SVM classifier to determine the parameters independently and prevent the occurrence of the local maximum, making the classification as accurate as possible. The system flow diagram of this paper is shown in Figure 1.
The innovation of this paper is mainly reflected in the following two aspects:
  • In order to preserve the local characteristic information of ECG signals, this paper proposes the WT-UKF algorithm to filter ECG signals, which preserves the characteristics of the signals under the premise of a good filtering effect, and improves the feature point extraction of P waves and T waves.
  • In order to ensure the accuracy of SVM in ECG identification, this paper uses the IPSO-SVM algorithm to identify ECG signals; it can adaptively select penalty parameters and hyperparameters.
The rest of this paper is arranged as follows: in Section 2, the basic algorithm principles used in this paper are introduced. In Section 3, the WT-UKF algorithm for preprocessing and the IPSO-SVM algorithm for identification are introduced. In Section 4, the MIT-BIH arrhythmia database is used for simulation, and the effectiveness and robustness of this method are verified by comparisons with other methods. Finally, Section 5 presents the results and conclusion.

2. Required Tools

This section briefly introduces the application of the multi-scale wavelet transform and the unscented Kalman filter algorithm in ECG signal processing. Meanwhile, it introduces the application of the SVM algorithm in ECG identification, making preparations for the construction of the ECG identification system in Section 3.

2.1. Multi-Scale Wavelet Transform Filtering

Clinically, the characteristics of ECG signals can mainly be found in the amplitudes of different peaks and intervals of P waves, QRS complex waves, and T waves. However, the noise in ECG signals directly affects the detection accuracy of P, QRS, and T waves, and the features of P, QRS, and T waves exist in different frequency ranges. Therefore, ECG signal preprocessing needs to be carried out simultaneously in frequency and time domains. Wavelet transform (WT) is a time–frequency localization analysis method with a fixed window area, but a variable time window and frequency window, and it has self-adaptability to signals. Multi-scale decomposition and reconstruction based on the Mallat algorithm is particularly suitable for the multi-scale filtering of ECG signals [8].
After multi-scale decomposition, ECG signals have different time and frequency resolutions on different scales. Signals with high time resolution contain more detailed information and high-frequency information, while signals with low time resolution contain more global information. The approximate coefficients and detail coefficients are reconstructed after performing the threshold processing. The reconstructed ECG signals are the signals after multi-scale filtering. Figure 2 is a diagram of the wavelet decomposition and reconstruction based on the Mallat algorithm.
In Figure 2, f ( t ) is the original ECG signals; t is the number of the time serials; j = 1 , 2 , , J is the decomposition scale; H and G are the low- and high-pass filters in the time domain, respectively; A j [ f ( t ) ] is the approximation coefficients of wavelet decomposition after low-pass filtering on scale j; D j [ f ( t ) ] is the detail coefficients of wavelet decomposition after high-pass filtering on scale j; H r and G r are the low- and high-pass wavelet reconstruction filters, respectively, in the time domain.Taking the ECG signals of a subject as an example, the filtering effect is shown in Figure 3.

2.2. Unscented Kalman Filter

Although ECG signals are periodic signals, there is some noise interference, such as power line interference and motion artifacts. Additionally, the Kalman filter (KF) can effectively carry out real-time optimal estimation from the measurement data with noise, and achieve filtering processing. Therefore, KF can ensure the elimination of interference while preserving the local characteristics of the ECG signals.
The traditional KF linear filtering framework is not suitable for typical nonlinear data such as ECG signals, while the unscented Kalman filter [33] (UKF) algorithm uses unscented transformation to deal with the nonlinear transfer problem of mean and covariance, which avoids the error caused by the linearization process. Meanwhile, the conventional KF linear filtering framework was applied to achieve filtering processing. Taking the ECG signals of a subject as an example, the filtering effect is shown in Figure 4.

2.3. PSO-SVM Algorithm

The support vector machine (SVM) is a supervised learning algorithm, which is essentially a two-classifier algorithm. SVM uses the principle of structural risk minimization (SRM) to complete the classification operation. Compared with the principle of empirical risk minimization (ERM) adopted by the artificial neural network, SRM has stronger interpretability and better generalization ability, so SVM is widely used in the field of ECG classification.
At the same time, in order to achieve the multi-classification effect of ECG identification, this paper adopted the 1-1 (one-versus-one, OVO) discrimination method to achieve SVM multi-classification. The basic concept of the OVO discrimination method to complete the multi-class recognition of ECG signals is as follows: assuming that the training set of ECG signal samples contains k > 2 category data, select two different ECG signal categories to form a sub-classifier of SVM and, therefore, there are k ( k 1 ) / 2 SVM sub-classifiers in k categories. When constructing an SVM sub-classifier of category A and category B, the sample data of category A and category B in the ECG signal sample data set were used as training data. In the multi-category test, the test data on k ( k 1 ) / 2 SVM sub-classifiers were tested, respectively. If it belongs to a certain category, its score will “plus one”, accumulate the scores of each category, and select the category with the highest score as the category of the test data.
ECG identification is a nonlinear classification problem, which needs to select an appropriate kernel function to complete the mapping of high-dimensional space [34]. Additionally, when using SVM, the optimal free parameters are selected to optimize the classification effect of SVM, such as the selection of the penalty parameter (c) and hyper parameter (g). Usually, the optimal parameters are obtained according to experience. In [35], the PSO algorithm is used to complete the adaptive selection of the penalty parameter (c) and the hyper parameter (g) in the SVM algorithm, and the accuracy can reach 89.72% in ECG signal classification. However, due to the defects of the PSO algorithm, the SVM classification effect is not optimal.

3. Proposed Method in ECG Identification System

3.1. Data Preprocessing Algorithm Based On WT-UKF

Considering the contents of Section 2.1 and Section 2.2, this paper proposes a data preprocessing algorithm based on the decomposition and reconstruction of conventional multi-scale wavelet transform combined with the unscented Kalman filter algorithm (WT-UKF). This algorithm applies the UKF algorithm to multi-scale analysis, replacing the conventional threshold function, thus avoiding the defect of losing data characteristics in the traditional wavelet threshold denoising process. The basic flow of the algorithm is shown in Figure 5.
Using the MIT-BIH database as an example, the sampling frequency of the data used in this paper was 360 Hz [32]. According to the theory of WT, the frequency range of the approximate coefficients of the first scale is 0–90 Hz, and that of the second scale was 0–45 Hz. The frequency range of the detail coefficients of the first scale was 90–180 Hz, and that of the second scale was 45–90 Hz, etc. The frequency range of the approximate coefficients of the eighth scale was 0–0.781 Hz, and that of the detail coefficients of the eighth scale was 0.781–1.563 Hz.
The extraction of the ECG signal feature point is mainly affected by power line interference and baseline wander interference. Power line interference energy is mainly concentrated at about 60 or 50 Hz, and baseline wander energy is mainly concentrated in the 0–1 Hz range [10].
According to the flow in Figure 5, the decomposition of ECG signals f ( t ) was completed at eight scales based on Formula (1), and eight approximate coefficients A j [ f ( t ) ] and eight detail coefficients D j [ f ( t ) ] were obtained, where j = 1–8. Ten samples of subjects were selected in the database, and three different wavelet basis functions of Sym8, db5, and db8 were used for ten filtering tests. Finally, the db8 wavelet was selected as the mother wavelet in this paper.
Through the above analysis, it can be concluded that the baseline wander in the ECG signal mainly existed in the approximate coefficients of the 8th scale; therefore, in order to eliminate the baseline wander, this paper set A 8 [ f ( t ) ] to 0; the high-frequency noise in ECG signals mainly existed in detail coefficients of the first and second scale. As the first scale of detail coefficients contained most of the high-frequency noise, this paper set D 1 [ f ( t ) ] to 0 to eliminate most of the high-frequency noise interference, and then carried out UKF processing on D 2 [ f ( t ) ] to obtain D 2 U [ f ( t ) ] , which eliminated power line interference and high-frequency noise while ensuring that the characteristics of original signals of the second scale were preserved as much as possible. After finishing the above-mentioned processing, the processed detail coefficients and approximate coefficients were used to complete the wavelet reconstruction based on Section 2.1, and the denoised ECG signals were obtained. The reconstruction formula and conditions are shown in Formula (1), where A 0 U [ f ( t ) ] denotes the filtered ECG signals.
A 7 [ f ( t ) ] = 2 k g ( t 2 k ) D 8 [ f ( k ) ] A 1 U [ f ( t ) ] = 2 k h ( t 2 k ) A 2 [ f ( k ) ] + k g ( t 2 k ) D 2 U [ f ( k ) ] A 0 U [ f ( t ) ] = 2 k h ( t 2 k ) A 1 U [ f ( k ) ]
In order to measure the effectiveness of the denoising method, the objective functions selected in this paper were the signal-to-noise ratio (SNR) and root mean square error (RMSE). The formulas of the two objective functions are as follows:
SNR = 20 × lo g 10 ( A s i g n a l / A n o i s e )
where A s i g n a l is the signal amplitude and A n o i s e is the noise amplitude.
RMSE = 1 m o = 1 m ( y o y ^ o ) 2
where m is the signal length, y o is the useful signals without noise, and y ^ o 2 is the filtered ECG signals after denoising.

3.2. ECG Identity Recognition Algorithm Based On IPSO-SVM

In this paper, an ECG identification algorithm based on IPSO-SVM is proposed, which solves the problem of SVM parameter selection and achieves the optimal classification effect.

3.2.1. SVM Kernel Function Selection

According to Section 2.3, in order to make the SVM classification model of ECG achieve the maximum accuracy of nonlinear classification, it is necessary to select a suitable kernel function to complete the high-dimensional space reflection. In order to select the suitable kernel function to construct the SVM classifier, this paper applied a statistical method for verification, called m-fold cross validation [36]. A 3-fold cross validation was performed on the entire ECG feature sets, including the training set and the testing set. The overall accuracy estimates of different kernel functions are shown in Table 1.
According to the results in Table 1, this paper used the RBF kernel function to construct the classifier model, and the kernel function is defined as follows:
K ( x , y ) = e g x y 2
where x and y are samples or vectors, respectively; g is the only hyper parameter of the Gaussian kernel function; and x y is the norm of the vector. The result of this formula is a specific value, which represents the relationship between the vectors. It can be seen from the formula that the selection of parameter g has a great influence on the accuracy of the classifier and, thus, the value of g is one of the optimization goals.
According to Section 2.3, the value of the penalty parameter (c) that needs to be set before the SVM training model was used. The penalty parameter was used to indicate the degree of emphasis on individual points. The larger the value of c is, the more attention is paid to those outliers; the smaller the value of c is, the less attention is paid to those outliers. If the penalty parameter tends to infinity, samples with classification errors are not allowed to exist, which will cause overfitting problems; when c tends to 0, no attention is paid to whether the classification is correct, it is not possible to obtain a meaningful solution, and the algorithm does not converge. Only when the penalty parameter is selected appropriately can the SVM training model achieve the maximum classification accuracy. Therefore, the value of c is another optimization goal.

3.2.2. IPSO Algorithm

The basic concept of the PSO algorithm is to seek the optimal solution through collaboration and information sharing among individuals in the population. PSO is initialized as a population of random particles (random solution), and then the optimal solution is found through iteration. In each iteration, the particle updates itself by tracking the individual optimal and the population optimal ( i b e s t , p b e s t ). After finding these two optimal values, the particle uses the following formula to update its speed and position:
V i + 1 = ω v × V i + f ( x i , i b e s t i ) + f ( x i , p b e s t i ) f ( x i , i b e s t i ) = C 1 × r a n d ( ) × ( i b e s t i x i ) f ( x i , p b e s t i ) = C 2 × r a n d ( ) × ( p b e s t i x i ) x i + 1 = x i + V i
where x i is the particle’s own position, V i is the particle’s own velocity, C 1 is its own learning factor, C 2 is the social learning factor, ω v is the velocity elasticity factor, r a n d ( ) is a random number between 0 and 1, and the maximum value of V i is V max . When V i update exceeds V max , take V i = V max , all i represents the population size.
In order to increase the convergence speed of the IPSO algorithm, based on PSO algorithm, this paper took ω v in Formula (3) as a value that changes with the number of iterations, and the value of ω v is as follows:
ω v t = ( ω s t a r t ω e n d ) ( I max I ) I max + ω e n d
where ω v t is the value of ω v under the current iteration number, ω s t a r t is the initial velocity elasticity factor, ω e n d is the velocity elasticity factor when the maximum iteration number is reached, I is the current iteration number, and I max is the maximum iteration number.
In order to adaptively adjust the global search range, C 1 and C 2 in Formula (3) were taken as the values that change with the number of iterations, and the values of C 1 and C 2 are as follows:
C 1 , 2 = C max ( 1 , 2 ) + ( C min ( 1 , 2 ) C max ( 1 , 2 ) ) ( I / I max )
where C 1 , 2 is the value of C 1 , 2 under the current iteration number, C max ( 1 , 2 ) is the maximum learning factor value of C 1 and C 2 , and C min ( 1 , 2 ) is the minimum learning factor value of C 1 and C 2 . I and I max are the same as (4).
In order to avoid the algorithm falling into the local optimal solution during dual-parameter optimization, the IPSO algorithm used in this paper introduced an adaptive mutation step before each fitness calculation of the traditional PSO algorithm. First, randomly determine whether mutation is required; if required, then determine whether the parameter that needs to be mutated is c or g, and perform the final mutation according to Equation (6).
P = ( P max P min ) × r a n d ( ) + P min
where P is the parameter that needs to be mutated; P max and P min are the maximum and minimum values of the parameter, which are random numbers between 0 and 1, respectively.

3.2.3. IPSO-SVM Algorithm

After ECG signal preprocessing is completed, the steps of IPSO-SVM algorithm proposed in this paper are as follows:
Step 1. Input all ECG signal feature vectors obtained, initialize the parameters c and g, and build multiple-classifiers for ECG signal classification and training.
Step 2. Calculate the fitness values corresponding to different parameters c and g through the fitness function, and determine c and g corresponding to the individual optimal fitness and the group optimal fitness.
Step 3. Update and iterate c and g according to formulas (5)–(8); then, update the individual optimal and population optimal fitness and their corresponding c and g, respectively. After the termination conditions are met, obtain the iteration ends and the optimal c and g.
Step 4. Build multiple classifiers according to the obtained optimal c and g, realize ECG signal identification and output the best ECG identification accuracy rate.
The block diagram of the IPSO-SVM algorithm used in this paper is shown in Figure 6.
In the IPSO algorithm in this paper, in terms of Equations (6) and (7), various parameters were tested many times; the maximum number of iterations was 50, the population size was 20, ω s t a r t was 0.9, ω e n d was 0.4, C max ( 1 , 2 ) is 2, and C min ( 1 , 2 ) was 0.5. The value of c was initialized to 10 and the value of g to 2. In summary, the SVM classification accuracy was selected as the fitness function.

4. Simulation Verification

The original ECG data used in this paper were obtained from the (MIT-BIH) arrhythmia ECG database and MIT-BIH normal sinus rhythm database [37,38]. The BIH database of the Massachusetts Institute of Technology is one of the three most recognized ECG databases in the world. The MIT-BIH arrhythmia database contains extracts of 48 half-hour two-channel dynamic electrocardiogram records from 47 subjects in the arrhythmia laboratory study. In order to ensure the practicability of the algorithm, the data of 16 subjects whose ECG signals were greatly different from the standard ECG signals in the database were removed, and the duplicate data of a subject were removed at the same time. This paper used the method in Section 3 to process the data of 30 subjects, with 150 ECG signal heartbeat cycles extracted for each subject; thus, there were 4500 sets of data in total. The MIT-BIH normal sinus rhythm database contains the ECG records of 18 subjects. This paper used the method in Section 3 to process the data of 10 subjects, and 150 ECG signal cycles were extracted for each subject, so there were 1500 sets of data in total.

4.1. Improvement in the Effect Verification of Multi-Scale Wavelet Transform

Under the (MIT-BIH) arrhythmia database, the comparison of the effect of the WT-UKF algorithm on the existing conventional wavelet threshold denoising is shown in Table 2. SNR and RMSE are the signal-to-noise ratio and root mean square error, respectively. Suppose the signals before denoising are the ECG signals of a subject superimposed with 0.3 Hz and 50 Hz sinusoidal signals.
It can be seen from Table 2 that the method proposed in this paper had a higher signal-to-noise ratio after denoising and a smaller root mean square error; thus, the overall denoising effect was better. Moreover, due to the time-varying ECG signals, this method can improve the extraction rate of P and T waves, and the comparison of filtering effects is shown in Figure 7 and Figure 8.
After using the WT-UKF algorithm to complete the above-mentioned ECG data denoising, this paper applied the feature point detection method based on the dyadic spline wavelet transform in [39] to locate the QRS complex. At the same time, windowing processing was used to extend this method to the location of P and T waves, so as to extract the sampling time points and amplitudes of QRS, P and T waves.
Figure 7 and Figure 8 demonstrate the feature extraction results of the QRS complex and P waves, respectively, in the ECG signals of subject 123. It can be seen from the figures that the QRS complex could be extracted more accurately by using the WT-UKF denoising method proposed in this paper. Compared with conventional wavelet threshold denoising, the WT-UKF denoising method improved the extraction results of P-wave features and avoided the wrong extraction of P-wave features in stationary periods. In terms of T-wave extraction, WT and WT-UKF denoising methods both had better results in the T-wave feature extraction of subject 123, and thereby, subject 103 was selected for comparison. As shown in Figure 9, it can be seen that T-wave feature extraction is effective. The problem that the starting point of T waves appeared in the QRS complex was avoided.

4.2. ECG Identification Based On Support Vector Machine

After obtaining the features of QRS, P, and T waves in the time domain in Section 4.1, each ECG cycle took 16 distance feature vectors: R-R, R-Q, R-S, R-P, R-T, R-P B e g i n , R-P E n d , R-T B e g i n , R-T E n d , Q-P, Q-P B e g i n , S-T, S-T E n d , P-T, P B e g i n -P E n d , T B e g i n -T E n d , and 6 amplitude feature vectors: R-Q, R-S, Q-P, S-T, P B e g i n -P, T B e g i n -T. These 22 feature vectors were used to characterize an ECG cycle signal, so as to achieve the effect of dimensionality reduction and increase the speed of the algorithm. Finally, 70% cycles were randomly extracted from the obtained feature set as the training set, and the remaining 30% cycles were used as the testing set.

4.2.1. The Value of c and g

The parameters c and g in the conventional SVM are usually set according to the human experience. In order to obtain a better classification accuracy, this paper took the value of c, respectively, as 2, 2 2 , 2 4 , 2 6 , 2 8 , 2 10 , 2 11 , and the default value of g as value 1. The influence of different c values on the recognition accuracy was observed by performing three-fold cross validation on the training set data of 30 subjects. The results are shown in Table 3.
It can be seen from Table 3 that c had a higher accuracy rate at 2 8 , 2 10 and 2 11 ; therefore, under the values of these three penalty parameters, the influence of the hyperparameters on the accuracy was analyzed separately. Similarly, depending on human experience, the value of g was taken as 2 4 , 2 3 , 2 1 , 2 0 , 2 1 , 2 2 , 2 3 , and the influence of different g values on the recognition accuracy was observed through three-fold cross-validation. The results are shown in Table 4.
According to the analysis of Table 3 and Table 4, although the highest accuracy rate appeared at g = 2 1 when c = 2 8 , 2 10 , 2 11 , the accuracy rate between g = 2 0 and g = 2 1 did not increase continuously when c = 2 11 , the accuracy rate at g = 2 2 was the same when c = 2 8 , 2 10 , 2 11 , and the average accuracy rate was not different. Therefore, it was found that in order to achieve the highest recognition accuracy, the values of c and g are not a fixed value, and the two parameters affect each other.

4.2.2. Identification Results

The IPSO algorithm needs to set the appropriate value range of the two parameters in advance which is used for data initialization, boundary judgment and adaptive mutation. Through Table 3 and Table 4, in order to achieve the highest accuracy of the parameter values under mutual influence, c = 2 2 2 11 and g = 2 4 2 3 were taken as the value ranges of the parameters in the IPSO algorithm, respectively. After determining the value range of c and g, based on the previous simulation, the testing set was used to verify the method, and the method in Section 3.2 was used to optimize the parameters. Finally, the comparison of the recognition accuracy of different methods is shown in Table 5.
The four methods of decision tree, random forest, Bayes, and logistic in Table 5 are verified by HOON KO [40]. This study improves the recognition accuracy by using the adjusted (Qi(*)Si) algorithm. The TCNN-RNN method in Table 5 was proposed by Belo D in [32]. This method uses TCNN and RNN at the same time and obtained 96% recognition accuracy in the MIT-BIH database. The CNN model in Table 5 is proposed by O. Yildirim in [29]. The model is an improved 16-layer 1D-CNN, and 95.2% accuracy was obtained under MIT-BIH data. The LSTM model in Table 5 was proposed by S. Chauhan in [30], and 96.45% accuracy was obtained in the MIT-BIH database. The PNN model in Table 5 selects parameters through human experience and obtained 94.48% accuracy in the MIT-BIH database.
In order to carry out comparative analysis from two aspects of filtering and parameter selection, this paper established a total of 5 classification models, SVM-3 (WT), SVM-1 (WT-UKF), SVM-2 (WT-UKF), SVM-3 (WT-UKF), and IPSO-SVM (WT-UKF). The functions of these models are as follows: In order to verify the influence of feature detection on recognition accuracy, SVM-3 (WT) and SVM -3 (WT-UKF) models were established in this paper. The SVM-3 (WT) model uses the traditional WT algorithm for filtering, and the SVM-3 (WT-UKF) model uses the WT-UKF algorithm for filtering. These two models are used in [39] for feature detection to obtain the feature data set, and c = 2 10 , g = 2 1 according to Table 3 and Table 4. In order to verify the influence of parameters c and g on recognition accuracy, SVM-1 (WT-UKF) and SVM-2 (WT-UKF) models were established for comparison with SVM-3 (WT-UKF) models. SVM-1 (WT-UKF) and SVM-2 (WT-UKF) models use the WT-UKF algorithm for filtering and detection to obtain feature data sets; however, SVM-1 (WT-UKF) parameters c = 10 and g = 0.5 , respectively, and SVM-2 (WT-UKF) parameters c = 10 and g = 0.1 , respectively. In order to verify the influence of the artificial experience selection of parameters c and g and IPSO algorithm adaptive selection of parameters c and g on identity recognition, the IPSO-SVM (WT-UKF) model was established. This model uses the WT-UKF algorithm to filter and detect the feature data set, but parameters c and g are adaptively selected by the IPSO algorithm. The parameters in the IPSO algorithm are the same as those in Section 3.2.3. The databases used in the five models are the MIT-BIH arrhythmia databases, and the number of subjects (sample categories) participating in the classification together was 30.
As can be seen from Table 5, after the testing set was introduced, with the feature values obtained after processing by the WT-UKF algorithm, the identification accuracy of ECGs of the SVM algorithm was 94.91%, which is 2.23% higher than that of the conventional decision tree algorithm, and the error was reduced by 30%. Under the condition that the SVM model takes the same parameters, with the feature values obtained after processing by this proposed WT-UKF denoising algorithm, the identification accuracy of ECGs was 1.5% higher than that obtained after processing by the conventional WT denoising algorithm, and the error was reduced by 22%. Compared with SVM-1 and SVM-2 under randomly selected parameters, the SVM-3 model with multiple parameter verification to obtain the optimal parameters improved the identification accuracy by 4.83% and 11.25%, respectively, and the error decreased by 48% and 68%, respectively. It can be seen that the artificial experience selection of two parameters in the SVM model had a substantial influence on the identification accuracy. After using the IPSO algorithm instead of the artificial experience to select the parameters, as shown in Figure 10, after eight iterations of IPSO, the fitness, namely, the error function, was reduced to 4.83%, and the recognition accuracy could reach 95.17%. Compared with the SVM model with multiple parameter verification, the error was reduced by 5.11%, and the convergence speed was faster than that of the traditional PSO optimization. Additionally, there was no local optimum.
In order to verify the extent to which the identification accuracy of the method in this paper is affected by the number of sample categories, the maximum individual accuracy (Accuracy m a x ) was defined as the recognition accuracy when the recognition effect was the best among all subjects involved in the recognition, and the minimum individual accuracy (Accuracy m i n ) was defined as the recognition accuracy when the recognition effect was the worst among all subjects involved in the recognition. The total accuracy (Accuracy t o t a l ) rate was the average recognition accuracy of all the subjects involved in the recognition.
In this paper, the number of subjects (sample categories) participating in the classification was 3, 5, 10, 20, and 30, respectively. The results are shown in Table 6.
As can be seen from Table 6, the corresponding parameter values and identification accuracy of different sample categories were different. As the number of sample categories increased, the comprehensive recognition rate of the method proposed in this paper decreased gradually, but it could still identify the sample categories accurately. When there were 30 sample categories, the parameter value under the maximum individual accuracy obtained by the IPSO algorithm was not a constant value, which verified the inference in Section 4.2.1. When the sample category was 20 and 30, the minimum individual accuracy decreased to 47.5%. It can be concluded from the data that this sample involved the data of subject 106. However, subject 106 also participated in the accuracy recognition when the number of categories was 5 and 10, but the sample with the minimum individual accuracy was subject 101. Therefore, the identification accuracy in this paper was also affected by the number of sample categories. The smaller the number the categories, the higher the accuracy. When the categories increased, the newly added samples affected the recognition rate of other samples, thus reducing the comprehensive recognition rate.
In order to verify the robustness of the method proposed in this paper, three different proportions were used for analysis. The training set accounted for 50%, 70%, and 90%, respectively, and the testing set accounted for 50%, 30%, and 10%, respectively. The classification results are shown in Table 7.
It can be seen from Table 7 that the smaller the proportion of the training set, the lower the accuracy. On the one hand, the reduction in the training set made the model fitting insufficient. On the other hand, the increase in the testing set reduced the robustness of the model. However, the recognition accuracy could still be maintained at a high level. Considering that the high training set will greatly increase the training cost, this paper suggests that 70% of the training set and 30% of the testing set constitute the best proportion of the training set and the testing set, respectively.
In order to verify the practicability of the method in this paper on the ECG data set of subjects without disease, the above operations were repeated using the MIT-BIH normal sinus rhythm database, and the classification results obtained are shown in Table 8.
It can be seen from Table 8 that the method proposed in this paper is also applicable to the classification of normal ECG data. Compared with the results in Table 6, when the number of subjects participating in the identification was 5, the identification accuracy improved by 2.5%, and when the number of subjects increased, it ensured a high identification accuracy.

5. Conclusions

The great advantages of ECG signals make it an important part of biometric identification. This paper proposes an ECG signal identification method based on WT-UKF and SVM. First, through simulation experiments, ECG data could be filtered by the WT-UKF algorithm, which could improve the detection accuracy of P waves and T waves while removing noise interference. Then, combined with the obtained eigenvectors, the effectiveness of the SVM multi-classifier in ECG signal identification was verified by artificially setting the SVM’s hyper parameter g and penalty parameter c. Finally, under the adaptive optimization of the IPSO algorithm, the parameter verification of the conventional SVM algorithm was omitted, and the obtained penalty parameter and hyper parameter could achieve higher recognition accuracy. Additionally, in the MIT-BIH arrhythmia database, when the number of categories changed, the recognition accuracy could reach 100% at the highest level and 95.17% at the total, and it had a better recognition effect. In the MIT-BIH normal sinus rhythm database, when the number of categories changed, the recognition accuracy could reach 100% at the highest level and 96.75% at the total, and it had a better recognition effect.
The next step is to further modify the classification algorithm to reduce the impact of increasing categories.

Author Contributions

Conceptualization and funding acquisition, N.L.; methodology and writing, L.Z.; validation, W.M.; review and editing, Y.W., F.H. and A.Z.; formal analysis, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by National Natural Science Foundation of China (52177193); Key Research and Development Program of Shaanxi Province (2022GY-182; China Scholarship Council (CSC) State Scholarship Fund International Clean Energy Talent Project (Grant No. [2018]5046, [2019]157); Open Research Fund of Jiangsu Collaborative Innovation Center for Smart Distribution Network, Nanjing Institute of Technology (XTCX202007).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Menotti, D.; Chiachia, G.; Pinto, A.; Schwartz, W.R.; Pedrini, H.; Falcao, A.X.; Rocha, A. Deep Representations for Iris, Face, and Fingerprint Spoofing Detection. IEEE Trans. Inf. Forensics Secur. 2015, 10, 864–879. [Google Scholar] [CrossRef] [Green Version]
  2. Pelc, M.; Khoma, Y.; Khoma, V. ECG Signal as Robust and Reliable Biometric Marker: Datasets and Algorithms Comparison. Sensors 2019, 19, 2350. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Choi, G.H.; Ko, H.; Pedrycz, W.; Singh, A.K.; Pan, S.B. Recognition System Using Fusion Normalization Based on Morphological Features of Post-Exercise ECG for Intelligent Biometrics. Sensors 2020, 20, 7130. [Google Scholar] [CrossRef]
  4. Chen, C.K.; Lin, C.L.; Lin, S.L.; Chiu, Y.M.; Chiang, C.T. A Chaotic Theoretical Approach to ECG-Based Identity Recognition. IEEE Comput. Intell. Mag. 2014, 9, 53–63. [Google Scholar] [CrossRef]
  5. Xiao, J.; Hu, F.; Shao, Q.; Li, S. A Low-Complexity Compressed Sensing Reconstruction Method for Heart Signal Biometric Recognition. Sensors 2019, 19, 5330. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Tan, R.; Perkowski, M. Toward Improving Electrocardiogram (ECG) Biometric Verification using Mobile Sensors: A Two-Stage Classifier Approach. Sensors 2017, 17, 410. [Google Scholar] [CrossRef]
  7. Krishnan, S.R.; Seelamantula, C.S. On the Selection of Optimum Savitzky-Golay Filters. IEEE Trans. Signal Process. 2013, 61, 380–391. [Google Scholar] [CrossRef]
  8. Liu, J.; Yin, L.; He, C.; Wen, B.; Hong, X.; Li, Y. A Multiscale Autoregressive Model-Based Electrocardiogram Identification Method. IEEE Access 2018, 6, 18251–18263. [Google Scholar] [CrossRef]
  9. Satija, U.; Ramkumar, B.; Manikandan, M.S. Automated ECG Noise Detection and Classification System for Unsupervised Healthcare Monitoring. IEEE J. Biomed. Health Inform. 2018, 22, 722–732. [Google Scholar] [CrossRef]
  10. Boda, S.; Mahadevappa, M.; Dutta, P.K. A hybrid method for removal of power line interference and baseline wander in ECG signals using EMD and EWT. Biomed. Signal Process. Control 2012, 67, 102466. [Google Scholar] [CrossRef]
  11. El Bouny, L.; Khalil, M.; Adib, A. ECG signal filtering based on CEEMDAN with hybrid interval thresholding and higher order statistics to select relevant modes. Multimed. Tools Appl. 2019, 78, 13067–13089. [Google Scholar] [CrossRef]
  12. Zhang, D.; Wang, S.; Li, F.; Wang, J.; Sangaiah, A.K.; Sheng, V.S.; Ding, X. An ECG Signal De-Noising Approach Based on Wavelet Energy and Sub-Band Smoothing Filter. Appl. Sci. 2019, 9, 4968. [Google Scholar] [CrossRef] [Green Version]
  13. Wang, Z.; Zhu, J.; Yan, T.; Yang, L. A new modified wavelet-based ECG denoising. Comput. Assist. Surg. 2019, 24, 174–183. [Google Scholar] [CrossRef] [Green Version]
  14. Wan, X.K.; Wu, H.; Qiao, F.; Li, F.C.; Li, Y.; Yan, Y.W.; Wei, J.X. Electrocardiogram Baseline Wander Suppression Based on the Combination of Morphological and Wavelet Transformation Based Filtering. Comput. Math. Methods Med. 2019, 2019, 7196156. [Google Scholar] [CrossRef] [PubMed]
  15. Jin, Z.; Dong, A.; Shu, M.; Wang, Y. Sparse ECG Denoising with Generalized Minimax Concave Penalty. Sensors 2019, 19, 1718. [Google Scholar] [CrossRef] [Green Version]
  16. Hernando-Ramiro, C.; Blanco-Velasco, M.; Lovisolo, L.; Cruz-Roldán, F. Consistent quality control in ECG compression by means of direct metrics. Physiol. Meas. 2015, 36, 1981–1994. [Google Scholar] [CrossRef]
  17. Hernando-Ramiro, C.; Lovisolo, L.; Cruz-Roldán, F.; Blanco-Velasco, M. Matching Pursuit Decomposition on Electrocardiograms for Joint Compression and QRS Detection. Circuits Syst. Signal Process. 2019, 38, 2653–2676. [Google Scholar] [CrossRef]
  18. Coutinho, D.P.; Silva, H.; Gamboa, H.; Fred, A.; Figueiredo, M. Novel fiducial and non-fiducial approaches to electrocardiogram-based biometric systems. IET Biom. 2013, 2, 64–75. [Google Scholar] [CrossRef]
  19. Lim, C.L.P.; Woo, W.L.; Dlay, S.S.; Gao, B. Heartrate-Dependent Heartwave Biometric Identification with Thresholding-Based GMM-HMM Methodology. IEEE Trans. Ind. Inform. 2019, 15, 45–53. [Google Scholar] [CrossRef] [Green Version]
  20. Martis, R.J.; Acharya, U.R.; Adeli, H. Current methods in electrocardiogram characterization. Comput. Biol. Med. 2014, 48, 133–149. [Google Scholar] [CrossRef]
  21. Lee, W.; Kim, S.; Kim, D. Individual Biometric Identification Using Multi-Cycle Electrocardiographic Waveform Patterns. Sensors 2018, 18, 1005. [Google Scholar] [CrossRef] [Green Version]
  22. Fang, S.C.; Chan, H.L. QRS detection-free electrocardiogram biometrics in the reconstructed phase space. Pattern Recognit. Lett. 2013, 34, 595–602. [Google Scholar] [CrossRef]
  23. Elhaj, F.A.; Salim, N.; Harris, A.R.; Swee, T.T.; Ahmed, T. Arrhythmia recognition and classification using combined linear and nonlinear features of ECG signals. Comput. Methods Programs Biomed. 2016, 127, 52–63. [Google Scholar] [CrossRef] [PubMed]
  24. Wang, J.; She, M.; Nahavandi, S.; Kouzani, A. Human Identification From ECG Signals Via Sparse Representation of Local Segments. IEEE Signal Process. Lett. 2013, 20, 937–940. [Google Scholar] [CrossRef]
  25. Chen, J.; Liu, J.; Ye, J. Learning Incoherent Sparse and Low-Rank Patterns from Multiple Tasks. ACM Trans. Knowl. Discov. Data 2012, 5, 22. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. Barros, A.; Resque, P.; Almeida, J.; Mota, R.; Oliveira, H.; Rosário, D.; Cerqueira, E. Data Improvement Model Based on ECG Biometric for User Authentication and Identification. Sensors 2020, 20, 2920. [Google Scholar] [CrossRef]
  27. Lin, S.L.; Chen, C.K.; Lin, C.L.; Yang, W.C.; Chiang, C.T. Individual identification based on chaotic electrocardiogram signals during muscular exercise. IET Biom. 2014, 3, 257–266. [Google Scholar] [CrossRef]
  28. Acharya, U.R.; Oh, S.L.; Hagiwara, Y.; Tan, J.H.; Adam, M.; Gertych, A.; San Tan, R. A deep convolutional neural network model to classify heartbeats. Comput. Biol. Med. 2017, 89, 389–396. [Google Scholar] [CrossRef]
  29. Yıldırım, Ö.; Pławiak, P.; Tan, R.S.; Acharya, U.R. Arrhythmia detection using deep convolutional neural network with long duration ECG signals. Comput. Biol. Med. 2018, 102, 411–420. [Google Scholar] [CrossRef]
  30. Chauhan, S.; Vig, L. Anomaly Detection in ECG Time signals via Deep Long Short-Term Memory Networks. In Proceedings of the 2015 IEEE International Conference on Data Science and Advanced Analytics (DSAA), Paris, France, 19–21 October 2015; pp. 834–840. [Google Scholar]
  31. Oh, S.L.; Ng, E.Y.; San Tan, R.; Acharya, U.R. Automated diagnosis of arrhythmia using combination of CNN and LSTM techniques with variable length heart beats. Comput. Biol. Med. 2018, 102, 278–287. [Google Scholar] [CrossRef] [PubMed]
  32. Belo, D.; Bento, N.; Silva, H.; Fred, A.; Gamboa, H. ECG Biometrics Using Deep Learning and Relative Score Threshold Classification. Sensors 2020, 20, 4078. [Google Scholar] [CrossRef] [PubMed]
  33. Menegaz, H.M.; Ishihara, J.Y.; Borges, G.A.; Vargas, A.N. A Systematization of the Unscented Kalman Filter Theory. IEEE Trans. Autom. Control 2015, 60, 2583–2598. [Google Scholar] [CrossRef] [Green Version]
  34. Osowski, S.; Hoai, L.T.; Markiewicz, T. Support vector machine-based expert system for reliable heartbeat recognition. IEEE Trans. Biomed. Eng. 2004, 51, 582–589. [Google Scholar] [CrossRef] [PubMed]
  35. Melgani, F.; Bazi, Y. Classification of electrocardiogram signals with support vector machines and particle swarm optimization. IEEE Trans. Inf. Technol. Biomed. 2008, 12, 667–677. [Google Scholar] [CrossRef] [PubMed]
  36. Saini, I.; Singh, D.; Khosla, A. Electrocardiogram beat classification using empirical mode decomposition and multiclass directed acyclic graph support vector machine. Comput. Electr. Eng. 2014, 40, 1774–1787. [Google Scholar] [CrossRef]
  37. MIT-BIH Database. Available online: www.physionet.org (accessed on 3 January 2020).
  38. MIT-BIH Normal Sinus Rhythm Database. Available online: www.physionet.org (accessed on 3 January 2020).
  39. Mao, Y.M.; Chang, T.C. Automatic Electrocardiogram Sensing Classifier Based on Improved Backpropagation Neural Network. Sensors Mater. 2020, 32, 2641–2658. [Google Scholar] [CrossRef]
  40. Ko, H.; Ogiela, M.R.; Ogiela, L.; Mesicek, L.; Lee, M.; Choi, J.; Kim, P. ECG-Based Advanced Personal Identification Study with Adjusted(Qi (*) Si). IEEE Access 2019, 7, 40078–40084. [Google Scholar] [CrossRef]
Figure 1. Block diagram of the ECG identification system based on WT-UKF and IPSO-SVM.
Figure 1. Block diagram of the ECG identification system based on WT-UKF and IPSO-SVM.
Sensors 22 01962 g001
Figure 2. Diagram of wavelet decomposition and reconstruction.
Figure 2. Diagram of wavelet decomposition and reconstruction.
Sensors 22 01962 g002
Figure 3. Filtering effect of wavelet threshold denoising (heuristic threshold) of ECG signals.
Figure 3. Filtering effect of wavelet threshold denoising (heuristic threshold) of ECG signals.
Sensors 22 01962 g003
Figure 4. UKF filtering effect of ECG signals.
Figure 4. UKF filtering effect of ECG signals.
Sensors 22 01962 g004
Figure 5. Basic flow chart of WT-UKF algorithm.
Figure 5. Basic flow chart of WT-UKF algorithm.
Sensors 22 01962 g005
Figure 6. Block diagram of ECG identification based on IPSO-SVM.
Figure 6. Block diagram of ECG identification based on IPSO-SVM.
Sensors 22 01962 g006
Figure 7. QRS complex extraction results from ECG signals of subject 123 (MIT-BIH arrhythmia database).
Figure 7. QRS complex extraction results from ECG signals of subject 123 (MIT-BIH arrhythmia database).
Sensors 22 01962 g007
Figure 8. P-wave extraction results from ECG signals of subject 123 (MIT-BIH arrhythmia database).
Figure 8. P-wave extraction results from ECG signals of subject 123 (MIT-BIH arrhythmia database).
Sensors 22 01962 g008
Figure 9. T-wave extraction results from the ECG signals of subject 103(MIT-BIH arrhythmia database).
Figure 9. T-wave extraction results from the ECG signals of subject 103(MIT-BIH arrhythmia database).
Sensors 22 01962 g009
Figure 10. Iteration process diagram of IPSO-SVM algorithm (MIT-BIH arrhythmia database).
Figure 10. Iteration process diagram of IPSO-SVM algorithm (MIT-BIH arrhythmia database).
Sensors 22 01962 g010
Table 1. Accuracy estimates of different kernel functions.
Table 1. Accuracy estimates of different kernel functions.
Kernel FunctionAccuracy Estimate (%)
Linear93.71
Polynomial92.64
RBF95.28
Table 2. Comparison of the effects of different denoising methods (MIT-BIH arrhythmia database).
Table 2. Comparison of the effects of different denoising methods (MIT-BIH arrhythmia database).
Filtering AlgorithmSNR(db)RMSE
WT(Heuristic threshold method)28.120.0178
WT(Unbiased estimation adaptive threshold method)28.110.0178
WT-UKF algorithm32.420.0139
Table 3. The influence of c on accuracy (MIT-BIH arrhythmia database).
Table 3. The influence of c on accuracy (MIT-BIH arrhythmia database).
c Value (When g = 1 )Accuracy (%)
293.36
2 2 94.70
2 4 96.33
2 6 96.50
2 8 96.57
2 10 96.73
2 11 96.66
Table 4. The influence of g on accuracy (MIT-BIH arrhythmia database).
Table 4. The influence of g on accuracy (MIT-BIH arrhythmia database).
c Valueg ValueAccuracy (%)Mean Accuracy (%)
c = 2 8 2 4 95.7096.45
2 3 96.20
2 1 96.73
2 0 96.56
2 1 96.66
2 2 96.40
2 3 95.96
c = 2 10 2 4 95.2696.47
2 3 96.36
2 1 96.93
2 0 96.73
2 1 96.70
2 2 96.40
2 3 95.97
c = 2 11 2 4 96.2396.46
2 3 96.46
2 1 96.86
2 0 96.66
2 1 96.70
2 2 96.40
2 3 96.96
Table 5. Accuracy comparison of different algorithms (30 sample categories).
Table 5. Accuracy comparison of different algorithms (30 sample categories).
MethodAccuracy (%)
Decision tree [40]92.68
Random Forest [40]92.68
Bayes [40]90.24
Logistic [40]83.54
TCNN-RNN [32]96.00
CNN [29]95.20
LSTM [30]96.45
PNN94.48
SVM-3 (WT)93.41
SVM-1 (WT-UKF)90.08
SVM-2 (WT-UKF)83.66
SVM-3 (WT-UKF)94.91
IPSO-SVM (WT-UKF)95.17
Table 6. Accuracy of different numbers of samples (MIT-BIH arrhythmia database).
Table 6. Accuracy of different numbers of samples (MIT-BIH arrhythmia database).
CategoriescgAccuracy m a x (%)Accuracy min (%)Accuracy total (%)
3928.5059.413100.00100.00100.00
54.0005.147100.0092.5097.50
104.0004.962100.0092.5097.75
201710.0000.396100.0047.5095.26
30516.4240.495100.0047.5095.17
30575.2100.423100.0047.5095.17
Table 7. Accuracies under different proportions of training sets and testing sets (MIT-BIH arrhythmia database).
Table 7. Accuracies under different proportions of training sets and testing sets (MIT-BIH arrhythmia database).
CategoriescgTraining Set (%)Testing Set (%)Accuracy (%)
30540.5050.063450.0050.0092.00
30575.2100.423770.0030.0095.17
301423.0450.147990.0010.0098.44
Table 8. Accuracy of different numbers of sample (MIT-BIH normal sinus rhythm database).
Table 8. Accuracy of different numbers of sample (MIT-BIH normal sinus rhythm database).
CategoriescgAccuracy max (%)Accuracy min (%)Accuracy total (%)
52048.0000.062100.0097.5099.00
10227.9450.062100.0090.0096.75
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, N.; Zhu, L.; Ma, W.; Wang, Y.; He, F.; Zheng, A.; Zhang, X. The Identification of ECG Signals Using WT-UKF and IPSO-SVM. Sensors 2022, 22, 1962. https://0-doi-org.brum.beds.ac.uk/10.3390/s22051962

AMA Style

Li N, Zhu L, Ma W, Wang Y, He F, Zheng A, Zhang X. The Identification of ECG Signals Using WT-UKF and IPSO-SVM. Sensors. 2022; 22(5):1962. https://0-doi-org.brum.beds.ac.uk/10.3390/s22051962

Chicago/Turabian Style

Li, Ning, Longhui Zhu, Wentao Ma, Yelin Wang, Fuxing He, Aixiang Zheng, and Xiaoping Zhang. 2022. "The Identification of ECG Signals Using WT-UKF and IPSO-SVM" Sensors 22, no. 5: 1962. https://0-doi-org.brum.beds.ac.uk/10.3390/s22051962

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

Article Metrics

Back to TopTop