Unsupervised Multivariate Feature-Based Adaptive Clustering Analysis of Epileptic EEG Signals
Abstract
:1. Introduction
2. Complete Ensemble Empirical Modal Decomposition of Adaptive Noise
3. Continuous Wavelet Transform
4. t-Distributed Stochastic Neighbor Embedding
5. SSA-DBSCAN Clustering Algorithm
5.1. Density-Based Spatial Clustering of Applications with Noise
5.2. Sparrow Search Algorithm
- Initialization of sparrow population position, fitness and initial values of N, n and parameters (maximum number of iterations N, population size n, safety value , pre-warning values );
- Start the loop with ;
- The population is sorted to derive the current location of the optimal sparrow individual, and the best fitness value (for the first generation of sparrows, the initial optimum is derived. The optimal individual can prioritize access to food);
- Foraging behavior, the sparrows with the best position in each generation are selected as explorers and the remaining sparrows as followers. Update the explorer position by the following equation:Equation denotes the dth dimensional position of the ith sparrow in generation t in the population. is a uniform random number in (0, 1]. Q is a standard normally distributed random number. is the warning threshold, which takes the value in the range of (0.5, 1.0]. is a uniform random number in (0, 1]. When is larger than , the explorer moves randomly to the neighborhood of the current position according to the normal distribution, and its value converges to the optimal position;
- Update the follower position according to the following formula:The equation denotes the position of the worst-positioned sparrow in the population. denotes the position of the optimally positioned sparrow in the population. When is used, the function value is the product of a standard normally distributed random number and an exponential function with a natural logarithmic base. When the population converges, the value is consistent with a standard normally distributed random number. When is used, the function value is the current optimal sparrow location plus a random addition or subtraction of that sparrow’s distance from the optimal location in each dimension, dividing the sum equally into each dimension;
- Anti-predation behavior to update sparrow population locations:When a sparrow population forages for food, individuals in the population are simultaneously alert to their surroundings. When danger is detected, both explorers and followers abandon the food and move to a new location. In the formula, the absolute value of the denominator is increased to prevent the denominator from taking the value 0. is a random number that conforms to the standard normal distribution. k is a uniform random number of [−1,1]. To prevent the denominator from being unique is a smaller number. is the fitness value of the sparrow in the worst position;
- Update the historical optimal fitness;
- When the maximum number of iterations has been achieved, complete steps 3–7 and exit the loop. Produce the ideal individual posture and fitness value.
5.3. SSA-DBSCAN
- Initialization of algorithm parameters. Initialize parameters such as the maximum number of sparrow iterations and population size, set the range of global parameters, and randomly generate the initial position of sparrows;
- Calculate the individual fitness value of the sparrow flock. Calculate the individual fitness value of the sparrow flock according to the objective function equation, and obtain the optimal value of the individual and the group by comparison;
- Update the position of the individual sparrow. Determine the position of the sparrow according to the warning value of the individual sparrow. Update the explorer position according to Equation (6) and update the follower position according to Equation (7). Calculate the individual adaptation value after updating the position of the sparrow flock, sort all the individual adaptation values, and record and save the well-adapted individuals;
- The anti-predation behavior of sparrows generates a new population, updates the position of the sparrow population according to Equation (8), and calculates the SC profile coefficients to update the historical optimal fitness values based on the labels obtained from clustering;
- Determine the relationship between the maximum number of iterations and the current number of iterations, when the maximum number of iterations is less than the current number of iterations, the search for the optimal end, the output of the optimal global parameters and , and get the corresponding clustering results, otherwise return to step 2.
6. Experimental Results and Analysis
6.1. EEG Data
6.2. Joint Denoising
6.3. Feature Dimension Reduction and Clustering
6.4. Comprehensive Performance Evaluation
6.5. Generalizability Analysis
7. Conclusions
8. Discussion
- This research uses the same extraction of features approach for EEG recordings in various times of epileptic episodes. In the future, We should investigate various extraction of features approaches for different durations of epileptic EEG recordings, and multi-dimensional features should be fused into the model effectively to achieve a better and more stable recognition rate for each period.
- This paper’s categorization of pre-seizure, inter-seizure, and post-seizure phases is based on the experience of previous researchers. Since each epileptic patient has different physical characteristics, seizure type and reaction time, we need to develop an adaptive classification method according to the patient’s own characteristics in order to accurately predict each epileptic patient in the future.
- Due to the limitations of the experimental conditions, this study only achieved good results on the public data set, and whether this algorithm can be applied to epileptic patients of all ages needs to be verified. Whether the algorithm in this study meets the needs of clinical treatment remains to be verified.
- In terms of hardware implementation, because of the intricacy of signals from the EEG, deploying the algorithm to run on a hardware platform requires consideration of hardware-software co-design, and the model can be subsequently lightened to meet the clinical demand for efficient online epilepsy detection on low-power hardware systems.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Maimaiti, B.; Meng, H.; Lv, Y.; Qiu, J.; Zhu, Z.; Xie, Y.; Lie, Y.; Cheng, Y.; Zhao, W.; Liu, J.; et al. An Overview of EEG-based Machine Learning Methods in Seizure Prediction and Opportunities for Neurologists in this Field. Neuroscience 2021, 481, 197–218. [Google Scholar] [CrossRef] [PubMed]
- Shoeb, A.H. Application of Machine Learning to Epileptic Seizure Onset Detection and Treatment. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2009. [Google Scholar]
- Tiwari, A.K.; Pachori, R.B.; Kanhangad, V.; Panigrahi, B.K. Automated Diagnosis of Epilepsy Using Key-Point-Based Local Binary Pattern of EEG Signals. IEEE J. Biomed. Health Inform. 2017, 21, 888–896. [Google Scholar] [CrossRef] [PubMed]
- Al-Hadeethi, H.; Abdulla, S.; Diykh, M.; Deo, R.C.; Green, J.H. Adaptive boost LS-SVM classification approach for time-series signal classification in epileptic seizure diagnosis applications. Expert Syst. Appl. 2020, 161, 113676. [Google Scholar] [CrossRef]
- Ojala, T.; Pietikäinen, M.; Maenpaa, T. Accurate detection of seizure using nonlinear parameters extracted from EEG signals. IEEE Trans. Pattern Anal. Mach. Intell. 2002, 24, 971–987. [Google Scholar] [CrossRef]
- Zheng, H.; Hu, X.; Callejas, Z.; Schmidt, H.; Griol, D.; Baumbach, J.; Dickerson, J.; Zhang, L. Convolutional Neural Networks for Epileptic Seizure Prediction. In Proceedings of the 2018 IEEE International Conference on Bioinformatics and Biomedicine (BIBM).Madrid, Spain, 3–6 December 2018; pp. 2577–2582. [Google Scholar]
- Zhang, Y.; Guo, Y.; Yang, P.; Chen, W.; Lo, B. Epilepsy seizure prediction on EEG using common spatial pattern and convolutional neural network. IEEE J. Biomed. Health Inform. 2019, 24, 465–474. [Google Scholar] [CrossRef] [PubMed]
- Ma, X.; Qiu, S.; Zhang, Y.; Lian, X.; He, H. Predicting epileptic seizures from intracranial EEG using LSTM-based multi-task learning. In Proceedings of the Chinese Conference on Pattern Recognition and Computer Vision (PRCV), Guangzhou, China, 23–26 November 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 157–167. [Google Scholar]
- Daoud, H.; Bayoumi, M.A. Efficient epileptic seizure prediction based on deep learning. IEEE Trans. Biomed. Circuits Syst. 2019, 13, 804–813. [Google Scholar] [CrossRef] [PubMed]
- Jana, G.C.; Sharma, R.; Agrawal, A. A 1D-CNN-spectrogram based approach for seizure detection from EEG signal. Procedia Comput. Sci. 2020, 167, 403–412. [Google Scholar] [CrossRef]
- Hu, X.; Yuan, S.; Xu, F.; Leng, Y.; Yuan, K.; Yuan, Q. Scalp EEG classification using deep Bi-LSTM network for seizure detection. Comput. Biol. Med. 2020, 124, 103919. [Google Scholar] [CrossRef]
- Tsiouris, K.M.; Pezoulas, V.C.; Zervakis, M.; Konitsiotis, S.; Koutsouris, D.D.; Fotiadis, D.I. A long short-term memory deep learning network for the prediction of epileptic seizures using EEG signals. Comput. Biol. Med. 2018, 99, 24–37. [Google Scholar] [CrossRef]
- Wen, T.; Zhang, Z. Deep convolution neural network and autoencoders-based unsupervised feature learning of EEG signals. IEEE Access 2018, 6, 25399–25410. [Google Scholar] [CrossRef]
- Kalamangalam, G.P.; Chelaru, M. F125. Brain connectivity related to sleep-wake state: An intracranial EEG study. Clin. Neurophysiol. 2018, 129, e114. [Google Scholar] [CrossRef]
- Liu, S.; Ince, N.F.; Sabanci, A.; Aydoseli, A.; Aras, Y.; Sencer, A.; Bebek, N.; Sha, Z.; Gurses, C. Detection of high frequency oscillations in epilepsy with k-means clustering method. In Proceedings of the 2015 7th International IEEE/EMBS Conference on Neural Engineering (NER), Montpellier, France, 22–24 April 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 934–937. [Google Scholar]
- Wu, M.; Wan, T.; Ding, M.; Wan, X.; Du, Y.; She, J. A new unsupervised detector of high-frequency oscillations in accurate localization of epileptic seizure onset zones. IEEE Trans. Neural Syst. Rehabil. Eng. 2018, 26, 2280–2289. [Google Scholar] [CrossRef]
- Migliorelli, C.; Bachiller, A.; Alonso, J.F.; Romero, S.; Aparicio, J.; Jacobs-Le Van, J.; Mañanas, M.A.; San Antonio-Arce, V. SGM: A novel time-frequency algorithm based on unsupervised learning improves high-frequency oscillation detection in epilepsy. J. Neural Eng. 2020, 17, 026032. [Google Scholar] [CrossRef]
- Wan, X.; Fang, Z.; Wu, M.; Du, Y. Automatic detection of HFOs based on singular value decomposition and improved fuzzy c-means clustering for localization of seizure onset zones. Neurocomputing 2020, 400, 1–10. [Google Scholar] [CrossRef]
- Migliorelli, C.; Romero, S.; Bachiller, A.; Aparicio, J.; Alonso, J.F.; Mañanas, M.A.; San Antonio-Arce, V. Improving the ripple classification in focal pediatric epilepsy: Identifying pathological high-frequency oscillations by Gaussian mixture model clustering. J. Neural Eng. 2021, 18, 0460f2. [Google Scholar] [CrossRef]
- Torres, M.E.; Colominas, M.A.; Schlotthauer, G.; Flandrin, P. A complete ensemble empirical mode decomposition with adaptive noise. In Proceedings of the 2011 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Prague, Czech Republic, 22–27 May 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 4144–4147. [Google Scholar]
- Van der Maaten, L.; Hinton, G. Visualizing data using t-SNE. J. Mach. Learn. Res. 2008, 9, 2579–2605. [Google Scholar]
- Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
- Swami, P.; Panigrahi, B.; Nara, S.; Bhatia, M.; Gandhi, T. EEG Epilepsy Datasets. 2016. Available online: https://www.researchgate.net/publication/308719109_EEG_Epilepsy_Datasets (accessed on 28 February 2024). [CrossRef]
- Andrzejak, R.G.; Lehnertz, K.; Mormann, F.; Rieke, C.; David, P.; Elger, C.E. Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: Dependence on recording region and brain state. Phys. Rev. E 2001, 64, 061907. [Google Scholar] [CrossRef] [PubMed]
IMFs | IMF1 | IMF2 | IMF3 | IMF4 | IMF5 | IMF6 | IMF7 | IMF8 | IMF9 | IMF10 |
---|---|---|---|---|---|---|---|---|---|---|
Data | 0.1698 | 0.1525 | 0.3884 | 0.5431 | 0.6904 | 0.7746 | 0.3233 | 0.0466 | 0.0235 | 0.0193 |
Method | SNR/dB | RMSE | NCC | PSNR |
---|---|---|---|---|
CEEMDAN | 25.7211 | 0.2872 | 0.99429 | 39.5367 |
CWT | 25.0639 | 0.3261 | 0.98965 | 39.2795 |
CEEMDAN + CWT | 26.1206 | 0.2216 | 0.99987 | 40.4548 |
Algorithm | SC | CH | DBI |
---|---|---|---|
GMM | 0.5822 | 2242.194 | 0.81623 |
K-means | 0.6464 | 3032.312 | 0.75618 |
K-medoids | 0.6277 | 3863.054 | 0.70741 |
ISODATA | 0.6101 | 3432.406 | 0.72068 |
DBSCAN | 0.6318 | 4226.564 | 0.61713 |
SSA-DBSCAN | 0.6775 | 4615.198 | 0.53475 |
Group | Algorithm | SC | CH | DBI | Categories |
---|---|---|---|---|---|
Z-S-F | DBSCAN | 0.6325 | 4209.317 | 0.61938 | 3 |
SSA-DBSCAN | 0.6681 | 4583.274 | 0.54186 | 3 | |
O-S-F | DBSCAN | 0.6297 | 4231.462 | 0.60865 | 3 |
SSA-DBSCAN | 0.6712 | 4607.291 | 0.53169 | 3 | |
Z-S-N | DBSCAN | 0.6306 | 4217.614 | 0.61437 | 3 |
SSA-DBSCAN | 0.6659 | 4592.863 | 0.53862 | 3 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Du, Y.; Li, G.; Wu, M.; Chen, F. Unsupervised Multivariate Feature-Based Adaptive Clustering Analysis of Epileptic EEG Signals. Brain Sci. 2024, 14, 342. https://doi.org/10.3390/brainsci14040342
Du Y, Li G, Wu M, Chen F. Unsupervised Multivariate Feature-Based Adaptive Clustering Analysis of Epileptic EEG Signals. Brain Sciences. 2024; 14(4):342. https://doi.org/10.3390/brainsci14040342
Chicago/Turabian StyleDu, Yuxiao, Gaoming Li, Min Wu, and Feng Chen. 2024. "Unsupervised Multivariate Feature-Based Adaptive Clustering Analysis of Epileptic EEG Signals" Brain Sciences 14, no. 4: 342. https://doi.org/10.3390/brainsci14040342
APA StyleDu, Y., Li, G., Wu, M., & Chen, F. (2024). Unsupervised Multivariate Feature-Based Adaptive Clustering Analysis of Epileptic EEG Signals. Brain Sciences, 14(4), 342. https://doi.org/10.3390/brainsci14040342