From Annotation to Prediction: Hospital-Grade Early Seizure Risk Prediction from Adult EEG
Abstract
1. Introduction
2. Literature Review
2.1. Clinical Prediction Models and Risk Stratification in Epilepsy
2.2. Automated EEG Interpretation and Seizure Detection
3. Materials and Methods
3.1. Dataset Collection
3.2. Annotation Protocol
3.3. Tasks of AI Models
- Task 1: Identification of normal brain activity (Class A).
- Task 2: Detection of abnormal brain activity (Classes B–D).
- Task 3: Differentiation between normal activity (Class A) and interictal abnormalities (separated Classes B–D).
- Task 4: Differentiation between normal activity (Class A) and ictal events (Class D).
- Task 5: Differentiation between interictal (combined Classes B and C) and ictal activity (Class D).
3.4. Development and Evaluation of AI Models
- Signal Preprocessing
- 2.
- Feature Extraction
- 3.
- Annotation and Labeling
- 4.
- Classification models and Evaluation
4. Results and Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Singh, T.; Joshi, S.; Williamson, J.M.; Kapur, J. Neocortical Injury–Induced Status Epilepticus. Epilepsia 2020, 61, 2811–2824. [Google Scholar] [CrossRef] [PubMed]
- Fiest, K.M.; Sauro, K.M.; Wiebe, S.; Patten, S.B.; Kwon, C.-S.; Dykeman, J.; Pringsheim, T.; Lorenzetti, D.L.; Jetté, N. Prevalence and Incidence of Epilepsy. Neurology 2017, 88, 296–303. [Google Scholar] [CrossRef] [PubMed]
- Thijs, R.D.; Surges, R.; O’Brien, T.J.; Sander, J.W. Epilepsy in Adults. Lancet 2019, 393, 689–701. [Google Scholar] [CrossRef]
- Giourou, E.; Stavropoulou-Deli, A.; Giannakopoulou, A.; Kostopoulos, G.K.; Koutroumanidis, M. Introduction to Epilepsy and Related Brain Disorders; Kostopoulos, G.K., Ed.; Springer International Publishing: Cham, Switzerland, 2015. [Google Scholar]
- Anwar, H.; Khan, Q.U.; Nadeem, N.; Pervaiz, I.; Ali, M.; Cheema, F.F. Epileptic Seizures. Discoveries 2020, 8, e110. [Google Scholar] [CrossRef]
- Bandopadhyay, R.; Singh, T.; Ghoneim, M.M.; Alshehri, S.; Angelopoulou, E.; Paudel, Y.N.; Piperi, C.; Ahmad, J.; Alhakamy, N.A.; Alfaleh, M.A.; et al. Recent Developments in Diagnosis of Epilepsy: Scope of MicroRNA and Technological Advancements. Biology 2021, 10, 1097. [Google Scholar] [CrossRef]
- Ein Shoka, A.A.; Dessouky, M.M.; El-Sayed, A.; Hemdan, E.E.-D. EEG Seizure Detection: Concepts, Techniques, Challenges, and Future Trends. Multimed. Tools Appl. 2023, 82, 42021–42051. [Google Scholar] [CrossRef] [PubMed]
- Yamada, T.; Meng, E. Practical Guide for Clinical Neurophysiologic Testing: EEG, 2nd ed.; Lippincott Williams Wilkins (LWW): Philadelphia, PA, USA, 2017; ISBN 978-1-4963-8302-0. [Google Scholar]
- Kwon, C.-S.; Wagner, R.G.; Carpio, A.; Jetté, N.; Newton, C.R.; Thurman, D.J. The Worldwide Epilepsy Treatment Gap: A Systematic Review and Recommendations for Revised Definitions–A Report from the ILAE Epidemiology Commission. Epilepsia 2022, 63, 551–564. [Google Scholar] [CrossRef] [PubMed]
- Nascimento, F.A.; Gavvala, J.R. Education Research: Neurology Resident EEG Education. Neurology 2021, 96, 821–824. [Google Scholar] [CrossRef]
- Benbadis, S.R.; Tatum, W.O. Overintepretation of EEGs and Misdiagnosis of Epilepsy. J. Clin. Neurophysiol. 2003, 20, 42–44. [Google Scholar] [CrossRef]
- Benbadis, S.R. Errors in EEGs and the Misdiagnosis of Epilepsy: Importance, Causes, Consequences, and Proposed Remedies. Epilepsy Behav. 2007, 11, 257–262. [Google Scholar] [CrossRef]
- Luo, Y.; Chai, X.; Li, Y. Epilepsy Prediction Models for Children and Adolescents: A Systematic Review and Meta-Analysis. eClinicalMedicine 2025, 90, 103602. [Google Scholar] [CrossRef] [PubMed]
- Ratcliffe, C.; Pradeep, V.; Marson, A.; Keller, S.S.; Bonnett, L.J. Clinical Prediction Models for Treatment Outcomes in Newly Diagnosed Epilepsy: A Systematic Review. Epilepsia 2024, 65, 1811–1846. [Google Scholar] [CrossRef] [PubMed]
- Struck, A.F.; Ustun, B.; Ruiz, A.R.; Lee, J.W.; LaRoche, S.M.; Hirsch, L.J.; Gilmore, E.J.; Vlachy, J.; Haider, H.A.; Rudin, C.; et al. Association of an Electroencephalography-Based Risk Score With Seizure Probability in Hospitalized Patients. JAMA Neurol. 2017, 74, 1419. [Google Scholar] [CrossRef]
- Struck, A.F.; Tabaeizadeh, M.; Schmitt, S.E.; Ruiz, A.R.; Swisher, C.B.; Subramaniam, T.; Hernandez, C.; Kaleem, S.; Haider, H.A.; Cissé, A.F.; et al. Assessment of the Validity of the 2HELPS2B Score for Inpatient Seizure Risk Prediction. JAMA Neurol. 2020, 77, 500. [Google Scholar] [CrossRef]
- Hsiao, C.-L.; Chang, W.-L.; Chen, P.-Y.; Chen, I.-A.; Lin, S.-K. Predicting Seizure Risk from Routine Electroencephalographs in Medical Intensive Care Units Using the 2HELPS2B Score. Life 2025, 15, 1455. [Google Scholar] [CrossRef]
- Tveit, J.; Aurlien, H.; Plis, S.; Calhoun, V.D.; Tatum, W.O.; Schomer, D.L.; Arntsen, V.; Cox, F.; Fahoum, F.; Gallentine, W.B.; et al. Automated Interpretation of Clinical Electroencephalograms Using Artificial Intelligence. JAMA Neurol. 2023, 80, 805. [Google Scholar] [CrossRef]
- Muhammad Usman, S.; Khalid, S.; Bashir, S. A Deep Learning Based Ensemble Learning Method for Epileptic Seizure Prediction. Comput. Biol. Med. 2021, 136, 104710. [Google Scholar] [CrossRef]
- Liu, X.; Li, C.; Lou, X.; Kong, H.; Li, X.; Li, Z.; Zhong, L. Epileptic Seizure Prediction Based on EEG Using Pseudo-Three-Dimensional CNN. Front. Neuroinform. 2024, 18, 1354436. [Google Scholar] [CrossRef]
- Kunekar, P.; Gupta, M.K.; Gaur, P. Detection of Epileptic Seizure in EEG Signals Using Machine Learning and Deep Learning Techniques. J. Eng. Appl. Sci. 2024, 71, 21. [Google Scholar] [CrossRef]
- Khan, H.; Marcuse, L.; Fields, M.; Swann, K.; Yener, B. Focal Onset Seizure Prediction Using Convolutional Networks. IEEE Trans. Biomed. Eng. 2018, 65, 2109–2118. [Google Scholar] [CrossRef] [PubMed]
- Oliva, J.T.; Rosa, J.L.G. Binary and Multiclass Classifiers Based on Multitaper Spectral Features for Epilepsy Detection. Biomed. Signal Process. Control 2021, 66, 102469. [Google Scholar] [CrossRef]
- Mallick, S.; Baths, V. Novel Deep Learning Framework for Detection of Epileptic Seizures Using EEG Signals. Front. Comput. Neurosci. 2024, 18, 1340251. [Google Scholar] [CrossRef]
- Zaid, Y.; Sah, M.; Direkoglu, C. Pre-Processed and Combined EEG Data for Epileptic Seizure Classification Using Deep Learning. Biomed. Signal Process. Control 2023, 84, 104738. [Google Scholar] [CrossRef]
- Berrich, Y.; Guennoun, Z. EEG-Based Epilepsy Detection Using CNN-SVM and DNN-SVM with Feature Dimensionality Reduction by PCA. Sci. Rep. 2025, 15, 14313. [Google Scholar] [CrossRef]
- Ranga, V.; Gupta, S.; Meena, J.; Agrawal, P. Automated Human Mind Reading Using EEG Signals for Seizure Detection. J. Med. Eng. Technol. 2020, 44, 237–246. [Google Scholar] [CrossRef]
- Atlam, H.F.; Aderibigbe, G.E.; Nadeem, M.S. Effective Epileptic Seizure Detection with Hybrid Feature Selection and SMOTE-Based Data Balancing Using SVM Classifier. Appl. Sci. 2025, 15, 4690. [Google Scholar] [CrossRef]
- Hamad, A.; Hassanien, A.E.; Fahmy, A.A.; Houssein, E.H. A Hybrid Automated Detection of Epileptic Seizures in EEG Based on Wavelet and Machine Learning Techniques. arXiv 2018, arXiv:1807.10723. [Google Scholar] [CrossRef]
- Farooq, M.S.; Zulfiqar, A.; Riaz, S. Epileptic Seizure Detection Using Machine Learning: Taxonomy, Opportunities, and Challenges. Diagnostics 2023, 13, 1058. [Google Scholar] [CrossRef]
- Cortes, C.; Vapnik, V. Support-Vector Networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Oshiro, T.M.; Perez, P.S.; Baranauskas, J.A. How Many Trees in a Random Forest? In Proceedings of the International Workshop on Machine Learning and Data Mining in Pattern Recognition, Berlin/Heidelberg, Germany, 13–20 July 2012. [Google Scholar]
- Fix, E.; Hodges, J.L. Discriminatory Analysis. Nonparametric Discrimination: Consistency Properties; USAF School of Aviation Medicine: Dayton, OH, USA, 1989; Volume 57. [Google Scholar]
- Bermejo Sánchez, S. Learning with Nearest Neighbour Classifiers. Ph.D. Thesis, Universitat Politècnica de Catalunya, Barcelona, Spain, 2000. [Google Scholar] [CrossRef]




| Class | Remarks | Final Interpretation |
|---|---|---|
| A |
| Normal EEG |
| B |
| Abnormal EEG. Interictal abnormality present |
| C |
| Abnormal EEG. Interictal abnormality present |
| D |
| Abnormal EEG. Ictal (seizure) activity present |
| Model | Accuracy | Sensitivity | Specificity | Precision | F1 Score |
|---|---|---|---|---|---|
| KNN | 93.24% | 93.24% | 85.35% | 93.83% | 93.45% |
| SVM | 95.70% | 95.70% | 92.67% | 96.10% | 95.82% |
| RF | 96.50% | 96.50% | 95.98% | 96.91% | 96.61% |
| Model | Accuracy | Sensitivity | Specificity | Precision | F1 Score |
|---|---|---|---|---|---|
| KNN | 71.74% | 54.33% | 76.83% | 76.94% | 72.94% |
| SVM | 82.72% | 59.00% | 79.98% | 80.43% | 80.97% |
| RF | 86.46% | 60.00% | 79.66% | 84.00% | 85.11% |
| Model | Accuracy | Sensitivity | Specificity | Precision | F1 Score |
|---|---|---|---|---|---|
| KNN | 87.13% | 52.75% | 80.59% | 88.63% | 87.63% |
| SVM | 89.96% | 52.50% | 80.31% | 89.14% | 89.44% |
| RF | 88.66% | 48.75% | 90.31% | 91.16% | 89.57% |
| Model | Accuracy | Sensitivity | Specificity | Precision | F1 Score |
|---|---|---|---|---|---|
| KNN | 87.43% | 83.00% | 78.57% | 87.62% | 86.98% |
| SVM | 83.05% | 74.50% | 66.40% | 85.54% | 81.29% |
| RF | 85.23% | 77.50% | 70.50% | 87.37% | 83.94% |
| Model | Accuracy | Sensitivity | Specificity | Precision | F1 Score |
|---|---|---|---|---|---|
| KNN | 74.89% | 75.00% | 75.11% | 79.96% | 76.26% |
| SVM | 77.75% | 81.00% | 83.62% | 84.08% | 79.09% |
| RF | 85.65% | 84.00% | 81.82% | 86.69% | 86.00% |
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. |
© 2026 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.
Share and Cite
Alharbi, N.; Aldayel, M.; Alsenan, S.; Alyami, R.; Almowalad, E.; Alkethiry, E. From Annotation to Prediction: Hospital-Grade Early Seizure Risk Prediction from Adult EEG. Diagnostics 2026, 16, 492. https://doi.org/10.3390/diagnostics16030492
Alharbi N, Aldayel M, Alsenan S, Alyami R, Almowalad E, Alkethiry E. From Annotation to Prediction: Hospital-Grade Early Seizure Risk Prediction from Adult EEG. Diagnostics. 2026; 16(3):492. https://doi.org/10.3390/diagnostics16030492
Chicago/Turabian StyleAlharbi, Norah, Mashael Aldayel, Shrooq Alsenan, Raneem Alyami, Enas Almowalad, and Eman Alkethiry. 2026. "From Annotation to Prediction: Hospital-Grade Early Seizure Risk Prediction from Adult EEG" Diagnostics 16, no. 3: 492. https://doi.org/10.3390/diagnostics16030492
APA StyleAlharbi, N., Aldayel, M., Alsenan, S., Alyami, R., Almowalad, E., & Alkethiry, E. (2026). From Annotation to Prediction: Hospital-Grade Early Seizure Risk Prediction from Adult EEG. Diagnostics, 16(3), 492. https://doi.org/10.3390/diagnostics16030492

