| Literature DB >> 34883976 |
Jee S Ra1, Tianning Li1, Yan Li1.
Abstract
The key research aspects of detecting and predicting epileptic seizures using electroencephalography (EEG) signals are feature extraction and classification. This paper aims to develop a highly effective and accurate algorithm for seizure prediction. Efficient channel selection could be one of the solutions as it can decrease the computational loading significantly. In this research, we present a patient-specific optimization method for EEG channel selection based on permutation entropy (PE) values, employing K nearest neighbors (KNNs) combined with a genetic algorithm (GA) for epileptic seizure prediction. The classifier is the well-known support vector machine (SVM), and the CHB-MIT Scalp EEG Database is used in this research. The classification results from 22 patients using the channels selected to the patient show a high prediction rate (average 92.42%) compared to the SVM testing results with all channels (71.13%). On average, the accuracy, sensitivity, and specificity with selected channels are improved by 10.58%, 23.57%, and 5.56%, respectively. In addition, four patient cases validate over 90% accuracy, sensitivity, and specificity rates with just a few selected channels. The corresponding standard deviations are also smaller than those used by all channels, demonstrating that tailored channels are a robust way to optimize the seizure prediction.Entities:
Keywords: EEG channel selection; K nearest neighbors (KNN); genetic algorithm (GA); permutation entropy; support vector machine (SVM)
Mesh:
Year: 2021 PMID: 34883976 PMCID: PMC8659444 DOI: 10.3390/s21237972
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1The main process of methods.
Figure 2The process of KNN-GA.
Figure 3SVM classification.
The characteristics of each patient and the patient’s data.
| Patient ID | Gender | Age | Number of Seizures | Length of Records (Hours) |
|---|---|---|---|---|
| 1 | F | 11 | 7 | 45.00 |
| 2 | M | 11 | 3 | 39.57 |
| 3 | F | 14 | 7 | 57.87 |
| 4 | M | 22 | 4 | 154.41 |
| 5 | F | 7 | 5 | 38.09 |
| 6 | F | 1.5 | 10 | 89.25 |
| 7 | F | 14.5 | 3 | 67.23 |
| 8 | M | 3.5 | 5 | 26.38 |
| 9 | F | 10 | 4 | 65.92 |
| 10 | M | 3 | 7 | 72.49 |
| 11 | F | 12 | 3 | 73.30 |
| 12 | F | 2 | 40 | NA |
| 13 | F | 3 | 12 | NA |
| 14 | F | 9 | 8 | 41.50 |
| 15 | M | 16 | 20 | 62.29 |
| 16 | F | 7 | 10 | 17.03 |
| 17 | F | 12 | 3 | 34.11 |
| 18 | F | 18 | 6 | 62.85 |
| 19 | F | 19 | 3 | 61.58 |
| 20 | F | 6 | 8 | 41.43 |
| 21 | F | 13 | 4 | 55.71 |
| 22 | F | 9 | 3 | 75.93 |
| 23 | F | 6 | 7 | 70.90 |
| 24 | NA 1 | NA | 16 | NA |
1 Not available. Not specified.
Figure 4The brain surface map of EEG channels.
Figure 5An example of EEG recordings (Patient ID 1, channels of FP1-F7, F7-T7, T7-P7 and P7-O1) over time showing the activity from the EEG signals at the normal, pre-ictal, ictal, and post-ictal periods. The patient was an 11-year-old female. The sampling rate is 256 Hz. The vertical scale is 50 µV.
Figure 6The number of times and each channel from 1 to 23 has been selected. The vertical axis shows how many times one given channel has been selected. Channel 1: FP1-F7, 2: F7-T7, 3: T7-P7, 4: P7-O1, 5: FP1-F3, 6: F3-C3, 7: C3-P3, 8: P3-O1, 9: FP2-F4, 10: F4-C4, 11: C4-P4, 12: P4-O2, 13: FP2-F8, 14: F8-T8, 15: T8-P8, 16: P8-O2, 17: FZ-CZ, 18: CZ-PZ, 19: P7-T7, 20: T7-FT9, 21: FT9-FT10, 22: FT10-T8, 23: T8-P8.
Accuracy, sensitivity, and specificity.
| True Pre-Ictal Period | True Normal Period | |
|---|---|---|
| Predict pre-ictal period | I | II |
| Predict normal period | III | IV |
Accuracy = (I + IV)/(I + II + III + IV). Sensitivity = I/(I + III). Specificity = IV/(II + IV).
The performance of the selected channels and all channels based on the SVM classification testing for 22 patients.
| Patient ID | Recording Duration (Hours) | Number of Seizures | Selected Channels 1 | Test Results (Selected Channels/All Channels) 2 | Execution Time | SVM | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| Train | Test | Prediction Rate (%) | Accuracy (%) | Sensitivity (%) | Specificity (%) | |||||
| 1 | 45.00 | 4 | 3 | LM | ||||||
| 2 | 39.57 | 1 | 2 | Evolutionary | ||||||
| 3 | 57.87 | 4 | 3 | Evolutionary | ||||||
| 4 | 154.41 | 2 | 2 | PSO | ||||||
| 5 | 38.09 | 2 | 3 | Evolutionary | ||||||
| 6 | 89.25 | 6 | 4 | LM | ||||||
| 7 | 67.23 | 1 | 2 | LM | ||||||
| 8 | 26.38 | 2 | 3 | LM | ||||||
| 9 | 65.92 | 3 | 1 | LM | ||||||
| 10 | 72.49 | 3 | 4 | PSO | ||||||
| 11 | 73.30 | 1 | 1 | LM | ||||||
| 12 | NA 3 | NA | NA |
| NA | NA | NA | NA | NA | NA |
| 13 | NA 3 | NA | NA |
| NA | NA | NA | NA | NA | NA |
| 14 | 41.50 | 5 | 3 | Evolutionary | ||||||
| 15 | 62.29 | 6 | 7 | LM | ||||||
| 16 | 17.03 | 2 | 3 | LM | ||||||
| 17 | 34.11 | 2 | 1 | LM | ||||||
| 18 | 62.85 | 2 | 4 | PSO | ||||||
| 19 | 61.58 | 1 | 1 | LM | ||||||
| 20 | 41.43 | 4 | 4 | PSO | ||||||
| 21 | 55.71 | 2 | 2 | LM | ||||||
| 22 | 75.93 | 2 | 1 | LM | ||||||
| 23 | 70.90 | 4 | 3 | LM | ||||||
| 24 | NA | 10 | 5 | LM | ||||||
1 Channels, 1: FP1-F7, 2: F7-T7, 3: T7-P7, 4: P7-O1, 5: FP1-F3, 6: F3-C3, 7: C3-P3, 8: P3-O1, 9: FP2-F4, 10: F4-C4, 11: C4-P4, 12: P4-O2, 13: FP2-F8, 14: F8-T8, 15: T8-P8, 16: P8-O2, 17: FZ-CZ, 18: CZ-PZ, 19: P7-T7, 20: T7-FT9, 21: FT9-FT10, 22: FT10-T8, 23: T8-P8. 2 Bold represents the testing results of the selected channels. 3 Not available. Not possible to match training and testing sets as the channels were frequently changed during the EEG recording—the recordings may be contaminated. 4 The percentage of computational runtime saved by channel selection. The average is 42%.
The ANOVA test results by the SVM classification.
| Accuracy | Sensitivity | Specificity | ||||
|---|---|---|---|---|---|---|
| Selected Channels | All Channels | Selected Channels | All Channels | Selected Channels | All Channels | |
| N | 22 | 22 | 22 | 22 | 22 | 22 |
| ∑X | 1641.23 | 1484.21 | 1529.29 | 1237.50 | 1609.02 | 1524.28 |
| Mean | 74.60 | 67.46 | 69.51 | 56.25 | 73.14 | 69.29 |
|
| 15.36 | 18.36 | 25.03 | 33.44 | 20.81 | 22.52 |
| 0.002699 | 0.033532 | 0.339937 | ||||
| 11.5588 | 5.17403 | 0.95353 | ||||
| significant at | significant at | not significant at | ||||
Figure 7Visual comparisons for the SVM testing results. Blue-colored area with red outlines represents the SPH (10 min), i.e., alarming at 10 min before the seizure onsets. (a) Patient ID 20: a total of 4 seizure occurrences in a period of 24 h. (b) Patient ID 3: a total of 3 seizure occurrences.