| Literature DB >> 36110984 |
V S Hemachandira1, R Viswanathan1.
Abstract
Epilepsy is one of the neurological conditions that are diagnosed in the vast majority of patients. Electroencephalography (EEG) readings are the primary tool that is used in the process of diagnosing and analyzing epilepsy. The epileptic EEG data display the electrical activity of the neurons and provide a significant amount of knowledge on pathology and physiology. As a result of the significant amount of time that this method requires, several automated classification methods have been developed. In this paper, three wavelets such as Haar, dB4, and Sym 8 are employed to extract the features from A-E sets of the Bonn epilepsy dataset. To select the best features of epileptic seizures, a Particle Swarm Optimization (PSO) technique is applied. The extracted features are further classified using seven classifiers like linear regression, nonlinear regression, Gaussian Mixture Modeling (GMM), K-Nearest Neighbor (KNN), Support Vector Machine (SVM-linear), SVM (polynomial), and SVM Radial Basis Function (RBF). Classifier performances are analyzed through the benchmark parameters, such as sensitivity, specificity, accuracy, F1 Score, error rate, and g-means. The SVM classifier with RBF kernel in sym 8 wavelet features with PSO feature selection method attains a higher accuracy rate of 98% with an error rate of 2%. This classifier outperforms all other classifiers.Entities:
Mesh:
Year: 2022 PMID: 36110984 PMCID: PMC9470336 DOI: 10.1155/2022/7654666
Source DB: PubMed Journal: J Healthc Eng ISSN: 2040-2295 Impact factor: 3.822
Figure 1Schematic diagram of proposed method.
Detailed description of the implementation environment of the study.
| Dataset | Methodology | Classifiers | Software | |
|---|---|---|---|---|
| Feature extraction | Feature selection | |||
| Bonn university EEG datasets (A–E). Each set input [4096 samples × 100 epochs] | Wavelet level 4 decomposition (Haar, db4, and Sym8) [256 × 100] | PSO [256 × 10] | LR, NLR, GMM, K-NN, and SVM (linear, polynomial, and RBF) | Matlab 2019a |
Detailed description of the EEG Bonn university datasets.
| Data set | Number of epochs | Duration of epoch in seconds | Circumstances of acquisition |
|---|---|---|---|
| Set A | 100 | 23.6 | Five patients, all of them are in good health and have their eyes open |
| Set B | 100 | 23.6 | Five patients, all of them are in good health and have their eyes closed |
| Set C | 100 | 23.6 | There are five epileptics who are seizure-free |
| Set D | 100 | 23.6 | There are five epileptics who are seizure-free |
| Set E | 100 | 23.6 | Five epileptic patients with active seizure |
Features extracted from DWT coefficients without feature selection method.
| Statistical parameters | Haar wavelet | dB4 wavelet | Sym 8 wavelet | |||
|---|---|---|---|---|---|---|
| A | E | A | E | A | E | |
| Mean | 6.099584 | −16.7531 | 0.099606 | −16.7328 | 0.02899 | −16.7287 |
| Variance | 73.5206 | 3029.474 | 0.000263 | 3116.757 | 0.011726 | 3123.223 |
| Skewness | 1.098017 | −0.01327 | 2.484157 | −0.01253 | -0.60786 | −0.01397 |
| Kurtosis | −0.71982 | 0.073067 | 5.022013 | 0.092693 | 0.117881 | 0.085127 |
| Pearson correlation coefficient | 0.41472 | 0.013761 | 0.005183 | 0.013871 | 0.513197 | 0.014305 |
| CCA | 0.534668 | 0.57721 | 0.670713 | |||
Figure 2Histogram of Haar wavelet coefficient for epilepsy E-set.
Figure 3Histogram of Haar wavelet coefficient for normal A-set.
Figure 4Performance of MSE in number of iteration for PSO at different weights (inertia).
Features extracted from DWT coefficients with PSO feature selection method.
| Statistical parameters | Haar wavelet | dB4 wavelet | Sym 8 wavelet | |||
|---|---|---|---|---|---|---|
| A | E | A | E | A | E | |
| Mean | 0.100211 | 39.86297 | 0.100678 | 42.9912 | 0.099508 | 42.03022 |
| Variance | 0.001501 | 1248.341 | 0.001165 | 2041.859 | 0.001941 | 2132.655 |
| Skewness | −0.03815 | 0.753713 | −0.80264 | 0.66277 | −1.19694 | 0.719259 |
| Kurtosis | 12.93212 | −0.94194 | 17.05044 | −1.2422 | 19.47415 | −1.1595 |
| Pearson correlation coefficient | −0.01129 | −0.00714 | -0.00704 | 0.018943 | 0.021754 | 0.008678 |
| CCA | 0.13711 | 0.17107 | 0.16946 | |||
Figure 5Normal probability plot for dB4 wavelet coefficient with PSO feature selection for epilepsy E-set.
Figure 6Normal probability plot for dB4 wavelet coefficient with PSO feature selection for normal A-set.
Average MSE for Haar, dB4, and Sym 8 wavelet features in various classifiers with PSO feature selection.
| Wavelets | Classifiers | TP | TN | FP | FN | MSE |
|---|---|---|---|---|---|---|
| Haar | Linear regression | 52 | 61 | 39 | 48 | 0.000212 |
| Nonlinear regression | 64 | 55 | 45 | 36 | 0.00011 | |
| Gaussian mixture model (GMM) | 51 | 74 | 26 | 49 | 0.000231 | |
| KNN | 55 | 87 | 13 | 45 | 8.67 | |
| SVM (linear) | 56 | 53 | 47 | 44 | 0.0002 | |
| SVM (polynomial) | 82 | 80 | 20 | 18 | 1.23 | |
| SVM (RBF) | 85 | 89 | 11 | 15 | 3.48 | |
|
| ||||||
| dB4 | Linear regression | 71 | 81 | 19 | 29 | 2.12 |
| Nonlinear regression | 72 | 77 | 23 | 28 | 2.23 | |
| Gaussian mixture model (GMM) | 55 | 78 | 22 | 45 | 0.000106 | |
| KNN | 87 | 82 | 18 | 13 | 7.44 | |
| SVM (linear) | 66 | 76 | 24 | 34 | 3.21 | |
| SVM (polynomial) | 63 | 66 | 34 | 37 | 4.9 | |
| SVM (RBF) | 63 | 93 | 7 | 37 | 1.96 | |
|
| ||||||
| Sym8 | Linear regression | 59 | 89 | 11 | 41 | 3.64 |
| Nonlinear regression | 57 | 52 | 48 | 43 | 0.000233 | |
| Gaussian mixture model (GMM) | 64 | 51 | 49 | 36 | 0.00029 | |
| KNN | 54 | 52 | 48 | 46 | 0.000336 | |
| SVM (linear) | 53 | 56 | 44 | 47 | 0.000191 | |
| SVM (polynomial) | 55 | 59 | 41 | 45 | 0.000126 | |
| SVM (RBF) |
|
|
|
|
| |
Confusion matrix for the seizure detection.
| Confusion matrix | Class | Predicted | |
|---|---|---|---|
| Normal | Seizure | ||
| Actual | Normal | TN | FP |
| Seizure | FN | TP | |
Values of TP, TN, FP, FN, and MSE for Haar, dB4, and Sym 8 wavelet features in various classifiers without feature selection.
| Wavelets | Classifiers | TP | TN | FP | FN | MSE |
|---|---|---|---|---|---|---|
| Haar | Linear regression | 57 | 66 | 34 | 43 | 6.48 |
| Nonlinear regression | 58 | 57 | 43 | 42 | 8.38 | |
| GMM | 68 | 75 | 25 | 32 | 3 | |
| K-NN | 55 | 87 | 13 | 45 | 7.44 | |
| SVM (linear) | 62 | 72 | 28 | 38 | 4.16 | |
| SVM (polynomial) | 65 | 62 | 38 | 35 | 5.35 | |
| SVM (RBF) | 69 | 85 | 15 | 31 | 2.14 | |
|
| ||||||
| dB4 | Linear regression | 70 | 57 | 43 | 30 | 0.000143 |
| Nonlinear regression | 55 | 66 | 34 | 45 | 8.29 | |
| GMM | 63 | 84 | 16 | 37 | 2.98 | |
| K-NN | 61 | 57 | 43 | 39 | 7.46 | |
| SVM (linear) | 72 | 57 | 43 | 28 | 5.53 | |
| SVM (polynomial) | 63 | 53 | 47 | 37 | 0.000199 | |
| SVM (RBF) | 53 | 55 | 45 | 47 | 0.000194 | |
|
| ||||||
| Sym8 | Linear regression | 54 | 64 | 36 | 46 | 0.000138 |
| Nonlinear regression | 59 | 87 | 13 | 41 | 3.56 | |
| GMM | 55 | 73 | 27 | 45 | 0.000102 | |
| K-NN | 55 | 81 | 19 | 45 | 6.7 | |
| SVM (linear) | 71 | 57 | 43 | 29 | 5.78 | |
| SVM (polynomial) | 57 | 83 | 17 | 43 | 4.44 | |
| SVM (RBF) |
|
|
|
|
| |
Values of TP, TN, FP, FN, and MSE for Haar, dB4, and Sym 8 wavelet features in various classifiers with feature selection.
| Wavelets | Classifiers | TP | TN | FP | FN | MSE |
|---|---|---|---|---|---|---|
| Haar | Linear regression | 52 | 61 | 39 | 48 | 0.000212 |
| Nonlinear regression | 64 | 55 | 45 | 36 | 0.00011 | |
| GMM | 51 | 74 | 26 | 49 | 0.000231 | |
| K-NN | 55 | 87 | 13 | 45 | 8.67 | |
| SVM (linear) | 56 | 53 | 47 | 44 | 0.0002 | |
| SVM (polynomial) | 82 | 80 | 20 | 18 | 1.23 | |
| SVM (RBF) | 85 | 89 | 11 | 15 | 3.48 | |
|
| ||||||
| dB4 | Linear regression | 71 | 81 | 19 | 29 | 2.12 |
| Nonlinear regression | 72 | 77 | 23 | 28 | 2.23 | |
| GMM | 55 | 78 | 22 | 45 | 0.000106 | |
| K-NN | 87 | 82 | 18 | 13 | 7.44 | |
| SVM (linear) | 66 | 76 | 24 | 34 | 3.21 | |
| SVM (polynomial) | 63 | 66 | 34 | 37 | 4.9 | |
| SVM (RBF) | 63 | 93 | 7 | 37 | 1.96 | |
|
| ||||||
| Sym8 | Linear regression | 59 | 89 | 11 | 41 | 3.64 |
| Nonlinear regression | 57 | 52 | 48 | 43 | 0.000233 | |
| GMM | 64 | 51 | 49 | 36 | 0.00029 | |
| K-NN | 54 | 52 | 48 | 46 | 0.000336 | |
| SVM (linear) | 53 | 56 | 44 | 47 | 0.000191 | |
| SVM (polynomial) | 55 | 59 | 41 | 45 | 0.000126 | |
| SVM (RBF) |
|
|
|
|
| |
Comparison between different classifiers with Haar, dB4, and Sym 8 wavelet features without feature selection.
| Wavelets | Classifiers | Sensitivity | Specificity | Accuracy | F1 score | Error rate | G-mean |
|---|---|---|---|---|---|---|---|
| Haar | Linear regression | 57 | 66 | 61.5 | 59.68586 | 38.5 | 61.58507 |
| Nonlinear regression | 58 | 57 | 57.5 | 57.71144 | 42.5 | 57.5007 | |
| GMM | 68 | 75 | 71.5 | 70.46632 | 28.5 | 71.58989 | |
| K-NN | 55 | 87 | 71 | 65.47619 | 29 | 73.01289 | |
| SVM (linear) | 62 | 72 | 67 | 65.26316 | 33 | 67.14976 | |
| SVM (polynomial) | 65 | 62 | 63.5 | 64.03941 | 36.5 | 63.51087 | |
| SVM (RBF) | 69 | 85 | 77 | 75 | 23 | 77.58279 | |
|
| |||||||
| dB4 | Linear regression | 70 | 57 | 63.5 | 65.7277 | 36.5 | 63.70707 |
| Nonlinear regression | 55 | 66 | 60.5 | 58.20106 | 39.5 | 60.61733 | |
| GMM | 63 | 84 | 73.5 | 70.39106 | 26.5 | 74.40527 | |
| K-NN | 61 | 57 | 59 | 59.80392 | 41 | 59.01332 | |
| SVM (linear) | 72 | 57 | 64.5 | 66.97674 | 35.5 | 64.79557 | |
| SVM (polynomial) | 63 | 53 | 58 | 60 | 42 | 58.07519 | |
| SVM (RBF) | 53 | 55 | 54 | 53.53535 | 46 | 54.00154 | |
|
| |||||||
| Sym8 | Linear regression | 54 | 64 | 59 | 56.84211 | 41 | 59.08392 |
| Nonlinear regression | 59 | 87 | 73 | 68.60465 | 27 | 74.63016 | |
| GMM | 55 | 73 | 64 | 60.43956 | 36 | 64.41616 | |
| K-NN | 55 | 81 | 68 | 63.21839 | 32 | 69.12302 | |
| SVM (linear) | 71 | 57 | 64 | 66.35514 | 36 | 64.24879 | |
| SVM (polynomial) | 57 | 83 | 70 | 65.51724 | 30 | 71.23203 | |
| SVM(RBF) |
|
|
|
|
|
| |
Comparison between different classifiers with Haar, dB4, and Sym 8 wavelet features with PSO feature selection.
| Wavelets | Classifiers | Sensitivity | Specificity | Accuracy | F1 score | Error rate | G-mean |
|---|---|---|---|---|---|---|---|
| Haar | Linear regression | 52 | 61 | 56.5 | 54.45026 | 43.5 | 56.55 |
| Nonlinear regression | 64 | 55 | 59.5 | 61.24402 | 40.5 | 59.57134 | |
| GMM | 51 | 74 | 62.5 | 57.62712 | 37.5 | 63.12524 | |
| K-NN | 55 | 87 | 71 | 65.47619 | 29 | 73.01289 | |
| SVM (linear) | 56 | 53 | 54.5 | 55.17241 | 45.5 | 54.50389 | |
| SVM (polynomial) | 82 | 80 | 81 | 81.18812 | 19 | 81.01003 | |
| SVM (RBF) | 85 | 89 | 87 | 86.73469 | 13 | 87.04667 | |
|
| |||||||
| dB4 | Linear regression | 71 | 81 | 76 | 74.73684 | 24 | 76.21739 |
| Nonlinear regression | 72 | 77 | 74.5 | 73.84615 | 25.5 | 74.55129 | |
| GMM | 55 | 78 | 66.5 | 62.14689 | 33.5 | 67.30243 | |
| K-NN | 87 | 82 | 84.5 | 84.87805 | 15.5 | 84.56879 | |
| SVM (linear) | 66 | 76 | 71 | 69.47368 | 29 | 71.18052 | |
| SVM (polynomial) | 63 | 66 | 64.5 | 63.95939 | 35.5 | 64.51159 | |
| SVM (RBF) | 63 | 93 | 78 | 74.11765 | 22 | 80.24002 | |
|
| |||||||
| Sym8 | Linear regression | 59 | 89 | 74 | 69.41176 | 26 | 75.96269 |
| Nonlinear regression | 57 | 52 | 54.5 | 55.60976 | 45.5 | 54.51081 | |
| GMM | 64 | 51 | 57.5 | 60.0939 | 42.5 | 57.62039 | |
| K-NN | 54 | 52 | 53 | 53.46535 | 47 | 53.00117 | |
| SVM (linear) | 53 | 56 | 54.5 | 53.80711 | 45.5 | 54.50389 | |
| SVM (polynomial) | 55 | 59 | 57 | 56.12245 | 43 | 57.01053 | |
| SVM (RBF) |
|
|
|
|
|
| |
Related researches on EEG signal identification and its performance measurement constraints.
| Authors | Features | Classifier | Accuracy in % |
|---|---|---|---|
| Rajaguru and Prabhakar [ | Discrete wavelet transform (Haar, dB4, Sym8) | SVD | 97.3 |
| Murugavel and Ramakrishnan [ | Wavelet transform with approximate entropy | SVM with ELM | 96 |
| Truong et al. [ | EEG features | Hills algorithm | Sensitivity: 91.95 |
| Manjusha and Harikumar [ | Detrend fluctuation analysis with power spectral density | K-means clustering and KNN | Sensitivity: 90.48 |
| Radüntz et al. [ | EEG features | SVM and ANN | 95.85 and 94.04 |
| Ghaemi et al. [ | Improved binary gravitation search algorithm with wavelet domain features | SVM | 80 |
| Kumar et al. [ | — | Improved Elman neural network | 96 |
|
| |||
| In this paper | Haar wavelet features | SVM (RBF) | 77 |
| dB4 wavelet features | GMM | 73.5 | |
|
|
|
| |
|
| |||
| In this paper | Haar wavelet + PSO features | SVM (RBF) | 87 |
| dB4 wavelet + PSO features | K-NN | 84.5 | |
|
|
|
| |