A Comprehensive Machine-Learning-Based Software Pipeline to Classify EEG Signals: A Case Study on PNES vs. Control Subjects
- PMID: 32102437
- PMCID: PMC7071461
- DOI: 10.3390/s20041235
A Comprehensive Machine-Learning-Based Software Pipeline to Classify EEG Signals: A Case Study on PNES vs. Control Subjects
Abstract
The diagnosis of psychogenic nonepileptic seizures (PNES) by means of electroencephalography (EEG) is not a trivial task during clinical practice for neurologists. No clear PNES electrophysiological biomarker has yet been found, and the only tool available for diagnosis is video EEG monitoring with recording of a typical episode and clinical history of the subject. In this paper, a data-driven machine learning (ML) pipeline for classifying EEG segments (i.e., epochs) of PNES and healthy controls (CNT) is introduced. This software pipeline consists of a semiautomatic signal processing technique and a supervised ML classifier to aid clinical discriminative diagnosis of PNES by means of an EEG time series. In our ML pipeline, statistical features like the mean, standard deviation, kurtosis, and skewness are extracted in a power spectral density (PSD) map split up in five conventional EEG rhythms (delta, theta, alpha, beta, and the whole band, i.e., 1-32 Hz). Then, the feature vector is fed into three different supervised ML algorithms, namely, the support vector machine (SVM), linear discriminant analysis (LDA), and Bayesian network (BN), to perform EEG segment classification tasks for CNT vs. PNES. The performance of the pipeline algorithm was evaluated on a dataset of 20 EEG signals (10 PNES and 10 CNT) that was recorded in eyes-closed resting condition at the Regional Epilepsy Centre, Great Metropolitan Hospital of Reggio Calabria, University of Catanzaro, Italy. The experimental results showed that PNES vs. CNT discrimination tasks performed via the ML algorithm and validated with random split (RS) achieved an average accuracy of 0.97 ± 0.013 (RS-SVM), 0.99 ± 0.02 (RS-LDA), and 0.82 ± 0.109 (RS-BN). Meanwhile, with leave-one-out (LOO) validation, an average accuracy of 0.98 ± 0.0233 (LOO-SVM), 0.98 ± 0.124 (LOO-LDA), and 0.81 ± 0.109 (LOO-BN) was achieved. Our findings showed that BN was outperformed by SVM and LDA. The promising results of the proposed software pipeline suggest that it may be a valuable tool to support existing clinical diagnosis.
Keywords: EEG; machine learning; psychogenic nonepileptic seizures.
Conflict of interest statement
All the authors declare no conflict of interest.
Figures


Similar articles
-
A Machine Learning Approach Involving Functional Connectivity Features to Classify Rest-EEG Psychogenic Non-Epileptic Seizures from Healthy Controls.Sensors (Basel). 2021 Dec 25;22(1):129. doi: 10.3390/s22010129. Sensors (Basel). 2021. PMID: 35009675 Free PMC article.
-
Classification of Epileptic and Psychogenic Nonepileptic Seizures via Time-Frequency Features of EEG Data.Int J Neural Syst. 2023 Sep;33(9):2350045. doi: 10.1142/S0129065723500454. Epub 2023 Aug 2. Int J Neural Syst. 2023. PMID: 37530675
-
Classification of convulsive psychogenic non-epileptic seizures using muscle transforms obtained from accelerometry signal.Annu Int Conf IEEE Eng Med Biol Soc. 2015 Aug;2015:582-5. doi: 10.1109/EMBC.2015.7318429. Annu Int Conf IEEE Eng Med Biol Soc. 2015. PMID: 26736329
-
Ictal characteristics of psychogenic nonepileptic seizures: what we have learned from video/EEG recordings--a literature review.Epilepsy Behav. 2011 Oct;22(2):144-53. doi: 10.1016/j.yebeh.2011.07.003. Epilepsy Behav. 2011. PMID: 21856237 Review.
-
Paroxysmal nonepileptic events in pediatric patients.Epilepsy Behav. 2015 Jul;48:83-7. doi: 10.1016/j.yebeh.2015.05.029. Epub 2015 Jun 11. Epilepsy Behav. 2015. PMID: 26074345 Review.
Cited by
-
Real-Time Artifacts Reduction during TMS-EEG Co-Registration: A Comprehensive Review on Technologies and Procedures.Sensors (Basel). 2021 Jan 18;21(2):637. doi: 10.3390/s21020637. Sensors (Basel). 2021. PMID: 33477526 Free PMC article. Review.
-
Automatic Seizure Detection and Prediction Based on Brain Connectivity Features and a CNNs Meet Transformers Classifier.Brain Sci. 2023 May 18;13(5):820. doi: 10.3390/brainsci13050820. Brain Sci. 2023. PMID: 37239292 Free PMC article.
-
Delirium detection using GAMMA wave and machine learning: A pilot study.Res Nurs Health. 2022 Dec;45(6):652-663. doi: 10.1002/nur.22268. Epub 2022 Nov 2. Res Nurs Health. 2022. PMID: 36321335 Free PMC article.
-
Deep Convolutional Gated Recurrent Unit Combined with Attention Mechanism to Classify Pre-Ictal from Interictal EEG with Minimized Number of Channels.J Pers Med. 2022 May 9;12(5):763. doi: 10.3390/jpm12050763. J Pers Med. 2022. PMID: 35629185 Free PMC article.
-
A Machine Learning Approach Involving Functional Connectivity Features to Classify Rest-EEG Psychogenic Non-Epileptic Seizures from Healthy Controls.Sensors (Basel). 2021 Dec 25;22(1):129. doi: 10.3390/s22010129. Sensors (Basel). 2021. PMID: 35009675 Free PMC article.
References
-
- Cianci V., Ferlazzo E., Condino F., Mauvais H.S., Farnarier G., Labate A., Latella M.A., Gasparini S., Branca D., Pucci F., et al. Rating scale for psychogenic nonepileptic seizures: Scale development and clinimetric testing. Epilepsy Behav. 2011;21:128–131. doi: 10.1016/j.yebeh.2011.03.025. - DOI - PubMed
MeSH terms
LinkOut - more resources
Full Text Sources
Medical