Next Article in Journal
Generative Adversarial Networks to Improve Fetal Brain Fine-Grained Plane Classification
Next Article in Special Issue
An Unsupervised Deep-Transfer-Learning-Based Motor Imagery EEG Classification Scheme for Brain–Computer Interface
Previous Article in Journal
Improved Resolution and Cost Performance of Low-Cost MEMS Seismic Sensor through Parallel Acquisition
Previous Article in Special Issue
Silent EEG-Speech Recognition Using Convolutional and Recurrent Neural Network with 85% Accuracy of 9 Words Classification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Permutation Entropy-Based EEG Channel Selection for Improving Epileptic Seizure Prediction

School of Sciences, University of Southern Queensland, Toowoomba, QLD 4350, Australia
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(23), 7972; https://doi.org/10.3390/s21237972
Submission received: 31 October 2021 / Revised: 25 November 2021 / Accepted: 25 November 2021 / Published: 29 November 2021

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.

1. Introduction

Epilepsy is a serious brain disorder, second only to strokes in its effect. More than 50 million people worldwide are affected by epilepsy, and the symptoms of one-third of those are not controlled by anticonvulsant medication. Therefore, one of the critical objectives in seizure management in epileptic patients is its early detection and prediction to provide well-timed preventive interventions [1]. If epileptic seizures can be predicted in advance, the patients’ unfortunate consequences can be alleviated. Unfortunately, despite decades of international efforts devoted to predicting seizures, seizure prediction remains an unsolved problem [2].
Two key components in research into seizure detection and prediction using epileptic electroencephalography (EEG) signals are feature extraction and classification [3,4]. Most of the existing research is patient-independent and trains models for all types of patients [5,6,7,8,9,10], while some EEG-based seizure detection algorithms are patient-dependent and are adaptive to individual patients. In order to reduce the computational load for a real-time seizure prediction using EEG data, identifying the most relevant channels for the seizure prediction is both important and effective. It can make seizure-predicting wearable or implantable devices with less complicated feature extraction during the process of developing machine learning algorithms for the real-time analysis. In addition, a decreased number of EEG channels may deliver more convenience to the patients.
However, selecting channels in epileptic features extraction is often not considered necessary. As to patient-specific feature extraction, although the benefits of patient-specific seizure prediction research have not yet been identified, we believe that discovering well-chosen channels tailored to an individual can lead to the uncovering of behavioral patterns in seizure activity through relations between neurophysiological characteristics and EEG channels [11], given the complex aspects of seizure onsets.
Even though much epileptic EEG feature-extraction research has been published, not many papers related to EEG channel selection have been reported over the last decades. Furthermore, the research about machine learning performance comparisons between results with selected channels and all channels is seldom found. Chang et al. [12] proposed that channel selection reduced the channel number from 22 to fewer than 6 channels, and it also saved 93.73% of the computation time. The best result showed a success rate of 70% in three-channel cases of the EEG database. Ibrahim et al. [13] also showed the seizure prediction probability by the selected channel, and the selected feature was higher than 70%, while the false-alarm probability was less than 30%. The channels were classified by a statistical frame. Chakrabarti et al. [14] applied an artificial neural network (ANN) and a principal component analysis (PCA) for the selection of epileptic EEG channels. The results revealed that the accuracy decreased simultaneously as the number of channels decreased. The highest accuracy of 86.7% was achieved with 18 channels out of 23 channels.
Nevertheless, none of those studies showed the machine learning validating performance comparisons between results with selected channels and results with all channels. Moctezuma and Molinas [15] decomposed the EEG data from each channel into different frequency bands using the empirical mode decomposition (EMD) or the discrete wavelet transform (DWT) for the channel selection. The results showed accuracies of up to 100% with only one EEG channel in the epileptic seizure classification, while all the test results of channels were less than 100%; however, this research only classified the seizure and non-seizure signals, not the pre-ictal signals. The classification performance to detect seizure EEG signals usually achieves high accuracy. Prasanna et al. [16] examined recent research to classify between seizure and non-seizure EEG signals. According to their review, the accuracy range that recent studies achieved was from 90% to almost 100%. This research, however, focuses on seizure prediction instead of seizure detection.
In this research, we confine the features to the channels, and present a patient-dependent optimization method for EEG channel selection based on the permutation entropy (PE) values, and employing K nearest neighbors (KNN) combined with a genetic algorithm (GA) for epileptic-seizure prediction. In the last few decades, some seizure prediction studies have applied the GA to generate solutions to search features derived from EEG signals [17,18,19,20,21,22]. For example, Firpi et al. [23] employed a GA to create artificial features from EEG signals. In their experiment, three patients’ datasets were used, and the validation was performed by the KNN, achieving an average of 83.33% seizure prediction. KNN is one of the most widespread methods in the machine learning techniques. As medical facilities require minimal computational time, the KNN has been used as a seizure prediction algorithm in many recent studies [24,25,26,27]. For instance, Wang et al. [27] proposed a KNN analysis on EEG data from 10 patients with epilepsy, achieving 73% sensitivity and 67% specificity on average using a 150-min prediction horizon.
The classifier in this research is the SVM, as the SVM classification complexity does not depend on the feature dimension, and it provides a global solution [28,29,30], which might be appropriate for epileptic EEG classification. Shiao et al. [31] showed that the SVM-based seizure prediction system could achieve a robust prediction for preictal period and normal period iEEG signals from dogs with epilepsy. The sensitivity was 90–100%, and the false-positive rate was about 0–0.3 times per day. However, SVM does not always seem suitable for the epileptic EEG signals classification. Direito et al. [32] used massive data from 216 patients from the European Epilepsy Database, including 185 patients with scalp EEG recordings and 31 with intracranial data. They tested their method over a total of 16,729.80 h with inter-ictal data, including 1206 seizures using the SVM. The method achieved an overall sensitivity of 38.47% and a false-positive rate per hour of 0.20 (statistical significance only in 11% of the patients). This disproved the importance of proper feature extractions.
This research is the first study to compare the effectiveness of EEG channel selection with that before channel selection. It also aims to reveal that patient-specific channel selection can contribute to a more efficient seizure prediction. The remainder of this paper is arranged as follows. Section 2 presents the details of the proposed techniques for the EEG channels selection and classifications. Section 3 explains the datasets used in this paper, experimental setup, and results. Section 4 discusses the findings of this research. Finally, the conclusions of this study are drawn in Section 5.

2. Methodology

The goal is to construct a less complicated seizure prediction system with less computational load but high accuracy for real-time seizure prediction. The PE values differentiated by KNN combined with a GA (KNN-GA) are employed in this research to select channels for efficient analysis and seizure prediction. The overall process is divided into three steps: PE calculation and data sampling, channel selection by KNN-GA, and test modelling by the machine learning method, SVM. Firstly, the raw EEG signals without noise-filtration, segmented into time windows, are directly used to acquire the PE values, which are the parameters obtained by feature extraction. Secondly, the selected PE values of each channel are used for selecting the most pre-ictal related channels through KNN-GA, which is executed repeatedly (maximum number of executions is 30 in this study). Finally, the effect of the selected channels is validated and compared using the SVM classification with all 23 channels. The primary process of the method is illustrated below (Figure 1).

2.1. Permutation Entropy

For the proper channels to be selected efficiently from EEG signals in the dataset, the collected original data samples are used as the input to obtain the PE values to measure the detailed variations in the EEG signals by expressing the signal in multi-scale time-frequency domains. The PE provides a quantity measure of the complexity of a dynamic system by capturing the order relations on time-series signals and their probability distribution of the ordinal patterns [33].
The first step is to convert a one-dimensional time series into a matrix of overlapping column vectors. Then, M-dimensional vectors are mapped into unique permutations that achieve the ordinal rankings of the data. These permutations are the values that are associated with each partitioned vector based on the ordinal position of the values within the vector. Then, the relative frequency of each permutation is calculated by counting the number of times the permutation is found in the signals divided by the total number of sequences [34]. Finally, the relative frequency of each permutation is used to compute the PE of the order M of the signals, which is given by Equation (1) [34]:
P E M = i = 1 M ! P i log 2 P i
The smaller the value of PEM, the more regular and more deterministic is the time series. Contrarily, the closer to 1 PEM is, the noisier and more random the time series is.

2.2. Channel Selection by KNN Based on Genetic Algorithm

Noise and redundant data points in signals can render information on the training of the method irrelevant. For effective and efficient EEG signal analysis, identifying the channels that contribute most to the prediction outcomes is crucial. A genetic algorithm (GA), developed by John Holland et al. in 1970s [35] is also applied in this research. A GA is a search heuristic that imitates the process of Charles Darwin’s theory of natural selection, in areas such as inheritance, mutation, selection, and crossover.
For feature selection, ‘mutation’ in GA means switching features on and off. ‘Crossover’ means interchanging the used features. In this paper, the selection is based on the accuracy of the KNN classification performance. KNN is a supervised learning algorithm, and it is one of the most important non-parameter algorithms in the pattern recognition field [36]. The training samples themselves generate the classification rules without any additional data. The KNN classification algorithm predicts the test sample’s category according to the K training samples, which are the nearest neighbors to the test sample, and judges the category with the most significant probability [36].
The overall process of KNN-GA for a channel selection works as follows in this study (Figure 2):
  • Load the PE values (Section 2.2) of each channel.
  • KNN-GA begins with a set of individual subjects, which are the total population (all individuals). A subject is described by a set of parameters (channels in this research) noted as Genes. Genes are combined into a string to form a Chromosome (any possible solution). The population size is 20, and the minimum number of Genes is one.
  • Then each Chromosome in the population is evaluated by the fitness function (KNN in this paper) to test how well it predicts pre-ictal periods. It gives a fitness score (maximum: infinity) to each subject.
  • Now the selection operator chooses some of the Chromosomes for reproduction based on a probability distribution. We set 0.9 for the initial probability. For example, if f(x) is a fitness function, then the probability that chromosome CX is chosen to reproduce is:
    p C x = f C x i = 1 N p o p f C i
    where Npop is the number of Chromosomes in the population.
  • Next, we mix Chromosomes for crossover (type: uniform, crossover probability: 1.0). Each Gene is selected randomly from one of the corresponding genes of the parent Chromosomes.
  • The final step is to apply random mutations. For each Gene that we are to copy to the new population, we allow a small probability of error (0.01 in this paper).
  • Repeat from step 2 until the population converges (does not produce offspring which are significantly different from the previous generation). It can then be said that the genetic algorithm has provided a set of solutions to our problem (maximum number of generations: 30).

2.3. Selected Channels Validation by a SVM Model

Following channel selection, a SVM is used to classify the patterns into pre-ictal and normal periods. There are three types of optimization method for the SVM used in this research: Lagrange multiplier (LM), evolutionary and Particle Swarm Optimization (PSO). The PE values of the selected channels by KNN-GA were trained and tested for each of the three types of SVMs, and the best result was selectively adopted. The PE values of all channels were also derived through the same process. The detailed steps are demonstrated below (Figure 3).

3. Results

3.1. The Experimental Data and Clinical Consideration

The experimental data came from CHB-MIT Scalp EEG Database [37]. This the data of this database is collected at the Children’s Hospital Boston. It consists of EEG recordings from pediatric subjects with intractable seizures. Subjects were monitored for several days following withdrawal of anti-seizure medication in order to characterize their seizures and assess their candidacy for surgical intervention. Recordings, grouped into 24 cases, were collected from 24 subjects (5 males, ages 3–22; 18 females, ages 1.5–19). Each case (chb01, chb02, etc.) contains 9 to 42 continuous .edf files from a single subject. The characteristics of each patient and the patient’s data are summarized below (Table 1).
The 24 patients’ EEG signals with a 256 Hz sampling rate were recorded using 23 channels which are FP1-F7 (1), F7-T7 (2), T7-P7 (3), P7-O1 (4), FP1-F3 (5), F3-C3 (6), C3-P3 (7), P3-O1 (8), FP2-F4 (9), F4-C4 (10), C4-P4 (11), P4-O2 (12), FP2-F8 (13), F8-T8 (14), T8-P8 (15), P8-O2 (16), FZ-CZ (17), CZ-PZ (18), P7-T7 (19), T7-FT9 (20), FT9-FT10 (21), FT10-T8 (22), and T8-P8 (23). The letter notations are—FP: frontopolar, F: frontal, T: temporal, O: occipital, C: central, and P: parietal (Figure 4).
Epileptic EEG signals are typically classified into four periods: normal, pre-ictal, ictal, and post-ictal periods (as shown in Figure 5). In some experimental results, the high accuracy rate might not be impressive when available normal period data are surplus and the pre-ictal period signals occupy only a tiny fraction of the testing dataset. Thus, this research restricts the ratio of normal to pre-ictal training/testing data up to 10:1. Selecting segments of EEG signal recording for the analysis is one of the significant problems of seizure prediction research. The seizure prediction horizon (SPH) is the period between the seizure alarm sign and the beginning of seizure occurrence. Therefore, the SPH prerequisites are to be designated before assessing the analysis. The size of the SPH has been reported to be between a few minutes and several hours before a seizure onset. The standard size is still a debatable question. This research set an SPH of 10 min (2.8 s duration) for both training and testing.
Each patient dataset contains data points of 17–154 h. Data samples of a normal period (2.8 s duration) are randomly selected in each hour of the 17–154 h duration. In summary, the samples are collected from:
  • Pre-ictal period: 10 min before a seizure onset.
  • Normal period: between pre-ictal and post-ictal periods (30 min after a seizure onset).

3.2. Validation of the Channel Selection Technique

The KNN-GA algorithm selected three to eight channels among 23 channels based on the PE values from each patient’s EEG signals. The most frequently selected channels are P7-O1 (10 times), P8-O2 (9 times), C3-P3 (8 times) and CZ-PZ (8 times) from 22 patient datasets (Figure 6).
The efficiency of a seizure prediction algorithm is determined by the prediction rate, accuracy, sensitivity, and specificity. The prediction rate refers to how many predictions are correctly made out of the total number of ictal occurrences in the testing set. Sensitivity is the percentage of the true pre-ictal prediction, and specificity is the percentage of the true normal period prediction (Table 2). Table 3 presents the performance of the selected channels and all channels based on the SVM classification testing for the 22 patients in the CHB-MIT Scalp EEG Database.
The prediction rate average of the selected channels from 22 patients is 92.42%, while that of all channels from 22 patients is only 71.13%, an improvement of 29.93%. The accuracy average of the selected channels is 74.60%, and that of all channels is 67.46%. The sensitivity and specificity completed by the selected channels testing also show a higher rate (average 69.51% and 73.14%, respectively) than all channels testing (average 56.25% and 69.29%, respectively). On average, the accuracy, sensitivity, and specificity with selected channels are improved by 10.58%, 23.57%, and 5.56%, respectively. The analysis of variance (ANOVA) tests also confirm that the accuracy and sensitivity using the selected channels from the SVM testing result are significantly higher than those using all channel testing results (at p < 0.01 and p < 0.05, respectively) (Table 4). The standard deviations of the accuracy, sensitivity, and specificity from the selected channels testing for the 22 patients are smaller (15.36, 25.03, and 20.81, respectively) than from all channel testing (Table 4). In addition, the execution time of the SVM model is almost instantaneous (10–500 milliseconds) in many patients’ cases. Nevertheless, the average percentage of computational runtime saved by channel selection is 42%.
Two-dimensional area graphs are also added to view the numerical results visually (Figure 7). In Figure 7a,b, the blue shapes with red outline (pre-ictal period) of “Real status” are closer to the blue shapes of “Prediction using the selected channels” than the black shapes of “Prediction using all channels”. Thus, the figures demonstrate that using the selected channels can better predict the pre-ictal period than using all channels.

4. Discussion

Seizures can occur anywhere in the brain, but for children, they frequently occur in the temporal and frontal lobes, affecting the functions these regions control [38]. Three to eight channels among 23 channels were selected for each subject by KNN_GA based on PE values of epileptic EEG signals. The most frequently selected channel was P7-O1 (10 times), which is located at the scalp of the parietal and occipital lobes of the brain. However, the total number of channels connected to the frontal and temporal lobes region is much higher than that of the parietal and occipital region channels. Consequently, the number of selected frontal and temporal lobes region channels is higher.
The patient-specific channel selection technique improves the prediction rate by 29.93% and the accuracy, sensitivity, and specificity by 10.58%, 23.57%, and 5.56%, respectively. The average accuracy, sensitivity, and specificity of the SVM testing are 74.60%, 69.51%, and 73.14%, respectively, and with all channels, they are 67.46%, 56.25%, and 69.29% in this research into epileptic seizure prediction. In particular, the true pre-ictal prediction rate (sensitivity) of the classification with the selected channels is considerably higher than that with all channels. The corresponding standard deviations are also smaller than those using all channels, demonstrating that tailored channels are more robust in optimizing seizure prediction rates. With the selected channels, the highest accuracy, sensitivity, and specificity rates are 97.28% (patient ID 1), 99.17% (patient ID 7), and 100% (patient ID 1), respectively. On the other hand, patient ID 17 and ID 24 cases achieved poor accuracy (under 50%) despite having high sensitivity.
There are a couple of limitations for the proposed approach. (1) Based on the results from different subjects (such as Patients 17 and 24), it is observed that the patterns of PE values during the nighttime are similar to the patterns of PE values during the pre-ictal period. This phenomenon may affect the predication accuracy. In reality, it is difficult to verify whether a patient is sleeping or just at rest during the nighttime. (2) It is possible that the starting point of the preictal periods are likely not the same for all patients. In this research, the SPH is set to 10 min for all subjects during the model training, while the SPH could be any time period (e.g., several hours).
This research aims to reduce the complexity of feature extraction and classification steps in predicting seizures while a high accuracy is retained and the computation time is significantly reduced. The average execution time by using the selected channels was only 47.09% of that by all channels. For Patient IDs 1, 8, 19, and 20, more than 90% validation accuracy, sensitivity, and specificity rates with just a few selected channels are obtained in this research method. The results demonstrate that the proposed EEG channel selection method with a suitable classification algorithm (SVM in this paper) can increase real-time seizure prediction accuracy.

5. Conclusions

In this paper, we recognize that the patterns of epileptic seizure occurrences are patient specific. The key issue is to discern which regions of the brain are most relevant to the seizure onsets for a specific patient. The most frequently selected channel was P7-O1 (10 times). However, many EEG channels were connected to the temporal and frontal lobes, which frequently causes seizures in children.
After finding the suitable channels for each patient through the KNN-GA algorithm, the SVM training and testing based on PE values of epileptic EEG signals exhibit more accurate outcomes of seizure prediction and less computation load than with all 23 channels. Consequently, fewer patient-dependent EEG channels can contribute to essential aspects of seizure prediction analysis, such as less EEG electrodes required on the scalp and more accurate mobile real-time seizure predictions.

Author Contributions

J.S.R. presented the project idea and completed the modelling, experiments and the writing of this manuscript, while T.L. and Y.L., being supervisors, contributed to the design of the study, the completion of the project and the editing of this manuscript. All authors read and approved the final. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Ethical review and approval were waived for this study, due to the secondary data are used in this research. The data used are publicly available through the link below. https://scholar.google.com.au/scholar?q=Ali+Shoeb.+Application+of+Machine+Learning+ to+Epileptic+Seizure+Onset+Detection+and+Treatment.+PhD+Thesis,+Massachusetts+Institute+of+ Technology,+September+2009.&hl=en&as_sdt=0,5 (accessed on 20 October 2021).

Informed Consent Statement

The data used is from the CHB-MIT Scalp EEG Database which was made publicly available online. The detailed information is in the link below. (https://scholar.google.com.au/scholar?q=Ali+Shoeb.+Application+of+Machine+Learning+ to+Epileptic+Seizure+Onset+Detection+and+Treatment.+PhD+Thesis,+Massachusetts+Institute+of+ Technology,+September+2009.&hl=en&as_sdt=0,5, accessed on 20 October 2021).

Data Availability Statement

The data and materials used in this study are available at the University of Southern Queensland under the research data management policy.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Epilepsy, Key Facts. Available online: https://www.who.int/news-room/fact-sheets/detail/epilepsy (accessed on 12 July 2021).
  2. Kuhlmann, L.; Lehnertz, K.; Richardson, M.P.; Schelter, B.; Zaveri, H.P. Seizure prediction—Ready for a new era. Nat. Rev. Neurol. 2018, 14, 618–630. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Liu, X.; Fu, Z. A Novel Recognition Strategy for Epilepsy EEG Signals Based on Conditional Entropy of Ordinal Patterns. Entropy 2020, 22, 1092. [Google Scholar] [CrossRef] [PubMed]
  4. Krishna, N.M.; Sekaran, K.; Vamsi, A.V.N.; Ghantasala, G.S.P.; Chandana, P.; Kadry, S.; Blazauskas, T.; Damasevicius, R.; Kaushik, S. An Efficient Mixture Model Approach in Brain-Machine Interface Systems for Extracting the Psychological Status of Mentally Impaired Persons Using EEG Signals. IEEE Access 2019, 7, 77905–77914. [Google Scholar] [CrossRef]
  5. Yang, S.; Li, B.; Zhang, Y.; Duan, M.; Liu, S.; Zhang, Y.; Feng, X.; Tan, R.; Huang, L.; Zhou, F. Selection of features for patient-independent detection of seizure events using scalp EEG signals. Comput. Biol. Med. 2020, 119, 103671. [Google Scholar] [CrossRef] [PubMed]
  6. Sridevi, V.; Machireddy, R.; Srinivasan, K.; Radhakrishnan, K.; Rathore, C.; Nayak, D.S. Improved Patient-Independent System for Detection of Electrical Onset of Seizures. J. Clin. Neurophysiol. 2019, 36, 14–24. [Google Scholar] [CrossRef] [PubMed]
  7. Bogaarts, J.G.; Gommer, E.D.; Hilkman, D.M.W.; Van Kranen-Mastenbroek, V.H.J.M.; Reulen, J.P.H. Optimal training dataset composition for SVM-based, age-independent, automated epileptic seizure detection. Med. Biol. Eng. Comput. 2016, 54, 1285–1293. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Ra, J.S.; Li, T.; Li, Y. A novel spectral entropy-based index for assessing the depth of anaesthesia. Brain Inform. 2021, 8, 1–12. [Google Scholar] [CrossRef] [PubMed]
  9. Li, S.Y.; Wen, P. Identification of motor imagery tasks through CC–LR algorithm in brain computer interface. Int. J. Bioinform. Res. Appl. 2013, 9, 156–172. [Google Scholar]
  10. Nguyen-Ky, T.; Wen, P.; Li, Y. Consciousness and Depth of Anesthesia Assessment Based on Bayesian Analysis of EEG Signals. IEEE Trans. Biomed. Eng. 2013, 60, 1488–1498. [Google Scholar] [CrossRef]
  11. Shen, C.-P.; Liu, S.-T.; Zhou, W.-Z.; Lin, F.-S.; Lam, A.Y.-Y.; Sung, H.-Y.; Chen, W.; Lin, J.-W.; Chiu, M.-J.; Pan, M.-K.; et al. A Physiology-Based Seizure Detection System for Multichannel EEG. PLoS ONE 2013, 8, e65862. [Google Scholar] [CrossRef]
  12. Chang, N.-F.; Chen, T.-C.; Chiang, C.-Y.; Chen, L.-G. Channel selection for epilepsy seizure prediction method based on machine learning. In Proceedings of the 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, San Diego, CA, USA, 28 August–1 September 2012; pp. 5162–5165. [Google Scholar]
  13. Ibrahim, F.; El-Gindy, S.A.-E.; El-Dolil, S.M.; El-Fishawy, A.S.; El-Rabaie, E.-S.M.; Dessouky, M.I.; Eldokany, I.M.; Alotaiby, T.N.; Alshebeili, S.A.; El-Samie, F.E.A. A statistical framework for EEG channel selection and seizure prediction on mobile. Int. J. Speech Technol. 2019, 22, 191–203. [Google Scholar] [CrossRef]
  14. Chakrabarti, S.; Swetapadma, A.; Pattnaik, P.K. A Channel Selection Method for Epileptic EEG Signals. In Emerging Technologies in Data Mining and Information Security; Springer: Berlin/Heidelberg, Germany, 2019; pp. 565–573. [Google Scholar]
  15. Moctezuma, L.A.; Molinas, M. EEG Channel-Selection Method for Epileptic-Seizure Classification Based on Multi-Objective Optimization. Front. Neurosci. 2020, 14, 593. [Google Scholar] [CrossRef]
  16. Prasanna, J.; Subathra, M.S.P.; Mohammed, M.A.; Damaševičius, R.; Sairamya, N.J.; George, S.T. Automated Epileptic Seizure Detection in Pediatric Subjects of CHB-MIT EEG Database—A Survey. J. Pers. Med. 2021, 11, 1028. [Google Scholar] [CrossRef]
  17. Assi, E.B.; Sawan, M.; Nguyen, D.K.; Rihana, S. A hybrid mRMR-genetic based selection method for the prediction of epileptic seizures. In Proceedings of the 2015 IEEE Biomedical Circuits and Systems Conference (BioCAS), Atlanta, GA, USA, 22–24 October 2015; pp. 1–4. [Google Scholar]
  18. Ataee, P.; Yazdani, A.; Setarehdan, S.; Noubari, H. Genetic Algorithm for Selection of Best Feature and Window Length for a Discriminate Pre-seizure and Normal State Classification. In Proceedings of the 4th International Symposium on Image and Signal Processing and Analysis, Zagreb, Croatia, 15–17 September 2005; pp. 107–112. [Google Scholar]
  19. D’Alessandro, M.; Vachtsevanos, G.; Hinson, A.; Esteller, R.; Echauz, J.; Litt, B. A genetic approach to selecting the optimal feature for epileptic seizure prediction. In Proceedings of the 23rd Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Berlin, Germany, 23–27 July 2005; pp. 1703–1706. [Google Scholar]
  20. Thorbole, P.S.; Kalbhor, S.D.; Harpale, V.K.; Bairagi, V. Hardware Implementation of Genetic Algorithm for Epileptic Seizure Detection and Prediction. In Proceedings of the 2017 International Conference on Computing, Communication, Control and Automation (ICCUBEA), Pune, India, 17–18 August 2017; pp. 1–5. [Google Scholar]
  21. Banupriya, C.V.; Devi Aruna, D. Robust Optimization of electroencephalograph (EEG) Signals for Epilepsy Seizure Prediction by utilizing VSPO Genetic Algorithms with SVM and Machine Learning Methods. Indian J. Sci. Technol. 2021, 14, 1250–1260. [Google Scholar] [CrossRef]
  22. Al Ghayab, H.R.; Li, Y.; Siuly, S.; Abdulla, S.A. Epileptic seizures detection in EEGs blending frequency domain with information gain technique. Soft Comput. 2019, 23, 227–239. [Google Scholar] [CrossRef]
  23. Firpi, H.; Goodman, E.; Echauz, J. Genetic Programming Artificial Features with Applications to Epileptic Seizure Prediction. In Proceedings of the 2005 IEEE Engineering in Medicine and Biology 27th Annual Conference, Shanghai, China, 1–5 September 2005; pp. 4510–4513. [Google Scholar]
  24. Ghaderyan, P.; Abbasi, A.; Sedaaghi, M.H. An efficient seizure prediction method using KNN-based undersampling and linear frequency measures. J. Neurosci. Methods 2014, 232, 134–142. [Google Scholar] [CrossRef]
  25. Ibrahim, S.W.; Djemal, R.; Alsuwailem, A.; Gannouni, S. Electroencephalography (EEG)-based epileptic seizure prediction using entropy and K-nearest neighbor (KNN). Commun. Sci. Technol. 2017, 2, 6–10. [Google Scholar] [CrossRef] [Green Version]
  26. Savadkoohi, M.; Oladunni, T.; Thompson, L. A machine learning approach to epileptic seizure prediction using Electroencephalogram (EEG) Signal. Biocybern. Biomed. Eng. 2020, 40, 1328–1341. [Google Scholar] [CrossRef]
  27. Wang, S.; Chaovalitwongse, W.A.; Wong, S. Online Seizure Prediction Using an Adaptive Learning Approach. IEEE Trans. Knowl. Data Eng. 2013, 25, 2854–2866. [Google Scholar] [CrossRef]
  28. Bonev, B.; Escolano, F.; Cazorla, M. Feature selection, mutual information, and the classification of high-dimensional patterns. Pattern Anal. Appl. 2008, 11, 309–319. [Google Scholar] [CrossRef]
  29. Al Ghayab, H.R.; Li, Y.; Siuly, S.; Abdulla, S. Epileptic EEG signal classification using optimum allocation based power spectral density estimation. IET Signal Process. 2018, 12, 738–747. [Google Scholar] [CrossRef]
  30. Li, Y.; Wen, P. Classification of EEG Signals Using Sampling Techniques and Least Square Support Vector Machines. In Proceedings of the International Conference on Rough Sets and Knowledge Technology, Gold Coast, Australia, 14–16 July 2009; pp. 375–382. [Google Scholar]
  31. Shiao, H.-T.; Cherkassky, V.; Lee, J.; Veber, B.; Patterson, E.E.; Brinkmann, B.; Worrell, G.A. SVM-Based System for Prediction of Epileptic Seizures From iEEG Signal. IEEE Trans. Biomed. Eng. 2017, 64, 1011–1022. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  32. Direito, B.; Teixeira, C.; Sales, F.; Castelo-Branco, M.; Dourado, A. A Realistic Seizure Prediction Study Based on Multiclass SVM. Int. J. Neural Syst. 2017, 27, 1750006. [Google Scholar] [CrossRef]
  33. Henry, M.; Judge, G. Permutation Entropy and Information Recovery in Nonlinear Dynamic Economic Time Series. Econometrics 2019, 7, 10. [Google Scholar] [CrossRef] [Green Version]
  34. Bandt, C.; Pompe, B. Permutation Entropy: A Natural Complexity Measure for Time Series. Phys. Rev. Lett. 2002, 88, 174102. [Google Scholar] [CrossRef] [PubMed]
  35. Holland, J.H. Genetic Algorithms and the Optimal Allocation of Trials. SIAM J. Comput. 1973, 2, 88–105. [Google Scholar] [CrossRef]
  36. Guo, G.; Wang, H.; Bell, D.; Bi, Y.; Greer, K. KNN Model-Based Approach in Classification. In On the Move to Meaningful Internet Systems; Springer: Berlin/Heidelberg, Germany, 2003; Volume 2888. [Google Scholar]
  37. Shoeb, A.H. Application of Machine Learning to Epileptic Seizure Onset Detection and Treatment; Massachusetts Institute of Technology: Cambridge, MA, USA, 2009. [Google Scholar]
  38. Childhood Epilepsy: The Brain. Massachusetts General Hospital. Available online: https://www.massgeneral.org/children/epilepsy/education/the-brain (accessed on 10 October 2021).
Figure 1. The main process of methods.
Figure 1. The main process of methods.
Sensors 21 07972 g001
Figure 2. The process of KNN-GA.
Figure 2. The process of KNN-GA.
Sensors 21 07972 g002
Figure 3. SVM classification.
Figure 3. SVM classification.
Sensors 21 07972 g003
Figure 4. The brain surface map of EEG channels.
Figure 4. The brain surface map of EEG channels.
Sensors 21 07972 g004
Figure 5. An 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 5. An 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.
Sensors 21 07972 g005
Figure 6. The 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.
Figure 6. The 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.
Sensors 21 07972 g006
Figure 7. Visual 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.
Figure 7. Visual 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.
Sensors 21 07972 g007
Table 1. The characteristics of each patient and the patient’s data.
Table 1. The characteristics of each patient and the patient’s data.
Patient IDGenderAgeNumber of SeizuresLength of Records (Hours)
1F11745.00
2M11339.57
3F14757.87
4M224154.41
5F7538.09
6F1.51089.25
7F14.5367.23
8M3.5526.38
9F10465.92
10M3772.49
11F12373.30
12F240NA
13F312NA
14F9841.50
15M162062.29
16F71017.03
17F12334.11
18F18662.85
19F19361.58
20F6841.43
21F13455.71
22F9375.93
23F6770.90
24NA 1NA16NA
1 Not available. Not specified.
Table 2. Accuracy, sensitivity, and specificity.
Table 2. Accuracy, sensitivity, and specificity.
True Pre-Ictal PeriodTrue Normal Period
Predict pre-ictal periodIII
Predict normal periodIIIIV
Accuracy = (I + IV)/(I + II + III + IV). Sensitivity = I/(I + III). Specificity = IV/(II + IV).
Table 3. The performance of the selected channels and all channels based on the SVM classification testing for 22 patients.
Table 3. The performance of the selected channels and all channels based on the SVM classification testing for 22 patients.
Patient IDRecording Duration (Hours)Number of SeizuresSelected Channels 1Test Results (Selected Channels/All Channels) 2Execution Time
s: Second(s)
ms: Milli-Second(s)
SVM
Optimization Methods
TrainTestPrediction Rate (%)Accuracy (%)Sensitivity (%)Specificity (%)
145.00434, 11, 16, 18100/10097.28/10093.66/100100/10032 ms (30% 4)/46 msLM
239.57125, 6, 8, 11100/7554.27/30.8550.00/38.0256.40/27.2747 ms (40%)/78 msEvolutionary
357.87434, 8, 14, 16, 18, 19, 20, 23100/6777.89/70.5170.91/62.8181.07/74.00121 s (24%)/159 sEvolutionary
4154.41228, 10, 14, 17, 18, 19100/5080.79/76.8245.45/24.7984.71/82.6044 s (15%)/52 sPSO
538.09231, 7, 9, 13, 16100/5058.19/55.1990.12/46.8838.65/60.271 s (80%)/5 sEvolutionary
689.25646, 9, 14, 16, 18100/7566.04/58.3871.19/59.2757.02/56.82250 ms (33%)/375 msLM
767.23124, 11, 16, 18100/5083.61/80.1799.17/0.0080.50/96.2016 ms (48%)/31 msLM
826.38238, 14, 17, 19100/10095.73/65.5687.19/74.38100/62.4016 ms (48%)/31 msLM
965.92314, 11, 16, 18, 20100/10069.01/61.9834.71/68.6072.82/61.2531 ms (83%)/187 msLM
1072.49344, 8, 11, 16, 18, 2075/7565.97/44.0380.17/74.1060.64/61.9817 s (29%)/24 sPSO
1173.30113, 4, 7, 8, 10, 17, 21100/084.55/71.9850.41/0.0088.34/47.7016 ms (36%)/47 msLM
12NA 3NANANANANANANANANA
13NA 3NANANANANANANANANA
1441.50531, 2, 3, 5, 7, 9, 2333.3/33.361.67/60.2732.51/18.7370.41/72.7364 s (11%)/72 sEvolutionary
1562.29671, 7, 17, 10, 16, 22, CP2-Ref100/42.975.48/63.8769.42/22.4180.33/97.021 s (80%)/5 sLM
1617.03231, 2, 5, 7, 9, 10, 15, 16100/10069.97/69.83100/10054.96/54.7593 ms (69%)/297 msLM
1734.11211, 9, 12100/10045.45/46.38100/87.6037.66/40.5031 ms (34%)/47 msLM
1862.85244, 7, 13, 20, 2275/7571.63/66.3942.77/50.0086.05/74.5915 s (6%)/16 sPSO
1961.58114, 6, 14100/10094.86/96.0590.08/10095.45/95.5616 ms (57%)/37 msLM
2041.43443, 4, 6, 7, 12, 15100/7594.63/87.0290.63/88.4396.34/86.4220 s (9%)/22 sPSO
2155.71224, 7, 13, 19, 20, 2250/5069.35/49.4442.15/23.1475.39/55.28297 ms (62%)/781 msLM
2275.93211, 2, 9, 12, 23100/10088.55/80.0524.79/22.3199.17/89.6716 ms (48%)/31 msLM
2370.90438, 10, 14, 17, 18, 19100/10087.40/10096.69/10059.50/10015 ms (6%)/16 msLM
24NA1053, 5, 9, 11, 12, 2380/8048.91/49.4467.27/76.0333.61/27.27312 ms (38%)/500 msLM
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%.
Table 4. The ANOVA test results by the SVM classification.
Table 4. The ANOVA test results by the SVM classification.
AccuracySensitivitySpecificity
Selected ChannelsAll ChannelsSelected ChannelsAll ChannelsSelected ChannelsAll Channels
N222222222222
∑X1641.231484.211529.291237.501609.021524.28
Mean74.6067.4669.5156.2573.1469.29
σ15.3618.3625.0333.4420.8122.52
p-value0.0026990.0335320.339937
F-ratio11.55885.174030.95353
significant at α = 0.01significant at α = 0.05not significant at α = 0.05
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ra, J.S.; Li, T.; Li, Y. A Novel Permutation Entropy-Based EEG Channel Selection for Improving Epileptic Seizure Prediction. Sensors 2021, 21, 7972. https://doi.org/10.3390/s21237972

AMA Style

Ra JS, Li T, Li Y. A Novel Permutation Entropy-Based EEG Channel Selection for Improving Epileptic Seizure Prediction. Sensors. 2021; 21(23):7972. https://doi.org/10.3390/s21237972

Chicago/Turabian Style

Ra, Jee S., Tianning Li, and Yan Li. 2021. "A Novel Permutation Entropy-Based EEG Channel Selection for Improving Epileptic Seizure Prediction" Sensors 21, no. 23: 7972. https://doi.org/10.3390/s21237972

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