A Voting-Based Ensemble Approach for Brain Disorder Detection Using Random Forest
Abstract
1. Introduction
1.1. Research Background
1.2. Research Motivation
1.3. Research Objectives
- Employ multiple complementary temporal feature extraction strategies to generate diverse EEG representations while maintaining computational efficiency.
- Evaluate the performance of individual CNN–LSTM models trained on these complementary feature sets and analyze their sensitivity–specificity trade-offs.
- Integrate the outputs of the base CNN–LSTM models using a Random Forest–based voting ensemble to improve overall reliability and sensitivity; and assess the proposed framework on a large-scale, heterogeneous clinical EEG dataset using a consistent preprocessing and evaluation protocol.
2. Methods
2.1. Data Preprocessing
2.2. EEG Windowing Technique
2.3. Multi-Feature Selection Block
2.3.1. Averaging (Mean Pooling)
2.3.2. Max-Pooling
2.3.3. Min-Pooling
2.3.4. Even Decimation
2.3.5. Odd Decimation
2.4. Feature Extraction and Classification
2.5. Random Forest Voting Ensemble
3. Performance and Evaluation
3.1. Ablation Study and Ensemble Framework for EEG Classification
3.2. Results
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
References
- Parsa, M.; Rad, H.Y.; Vaezi, H.; Hossein-Zadeh, G.A.; Setarehdan, S.K.; Rostami, R.; Rostami, H.; Vahabie, A.H. EEG-based classification of individuals with neuropsychiatric disorders using deep neural networks: A systematic review of status and future directions. Comput. Methods Programs Biomed. 2023, 240, 107683. [Google Scholar] [CrossRef] [PubMed]
- Bhardwaj, S.; Kumar, A. A systematic review of EEG based automated schizophrenia diagnosis using AI techniques. Front. Hum. Neurosci. 2024, 18, 1347082. [Google Scholar] [CrossRef]
- Abdelfattah, S.M.; Abdelrahman, G.M.; Wang, M. Deep learning in EEG: A survey of recent advances and challenges. IEEE Access 2022, 10, 36219–36244. [Google Scholar]
- Mohan, R.; Perumal, S. Classification and Detection of Cognitive Disorders like Depression and Anxiety Utilizing Deep Convolutional Neural Network (CNN) Centered on EEG Signal. Trait. Du Signal. 2023, 40, 971–979. [Google Scholar] [CrossRef]
- Najafi, T.; Jaafar, R.; Remli, R.; Wan Zaidi, W.A. A classification model of EEG signals based on RNN-LSTM for diagnosing focal and generalized epilepsy. Sensors 2022, 22, 7269. [Google Scholar] [CrossRef]
- Vafaei, E.; Hosseini, M. Transformers in EEG analysis: A review of architectures and applications in motor imagery, seizure, and emotion classification. Sensors 2025, 25, 1293. [Google Scholar] [CrossRef]
- Nour, M.; Senturk, U.; Polat, K. A novel hybrid model in the diagnosis and classification of Alzheimer’s disease using EEG signals: Deep ensemble learning (DEL) approach. Biomed. Signal Process. Control 2024, 89, 105751. [Google Scholar] [CrossRef]
- Qiu, X.; Yan, F.; Liu, H. A difference attention ResNet-LSTM network for epileptic seizure detection using EEG signal. Biomed. Signal Process. Control 2023, 83, 104652. [Google Scholar] [CrossRef]
- 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]
- Aviles, M.; Sánchez-Reyes, L.M.; Álvarez-Alvarado, J.M.; Rodríguez-Reséndiz, J. Machine and Deep Learning Trends in EEG-Based Detection and Diagnosis of Alzheimer’s Disease: A Systematic Review. Eng 2024, 5, 1464–1484. [Google Scholar] [CrossRef]
- Kim, M.J.; Youn, Y.C.; Paik, J. Deep learning-based EEG analysis to classify normal, mild cognitive impairment, and dementia: Algorithms and dataset. NeuroImage 2023, 272, 120054. [Google Scholar] [CrossRef]
- Göker, H. Automatic detection of Parkinson’s disease from power spectral density of electroencephalography (EEG) signals using deep learning model. Phys. Eng. Sci. Med. 2023, 46, 1163–1174. [Google Scholar] [CrossRef] [PubMed]
- Sairamya, N.J.; Subathra, M.S.; George, S.T. Automatic identification of schizophrenia using EEG signals based on discrete wavelet transform and RLNDiP technique with ANN. Expert Syst. Appl. 2022, 192, 116230. [Google Scholar] [CrossRef]
- Xia, M.; Zhang, Y.; Wu, Y.; Wang, X. An end-to-end deep learning model for EEG-based major depressive disorder classification. IEEE Access 2023, 11, 41337–41347. [Google Scholar] [CrossRef]
- Mohi–ud–Din, Q.; Jayanthy, A.K. Autism Spectrum Disorder classification using EEG and 1D-CNN. In Proceedings of the 2021 10th International Conference on Internet of Everything, Microwave Engineering, Communication and Networks (IEMECON), Jaipur, India, 1–2 December 2021; pp. 1–5. [Google Scholar]
- Amrani, G.; Adadi, A.; Berrada, M.; Souirti, Z.; Boujraf, S. EEG signal analysis using deep learning: A systematic literature review. In Proceedings of the 2021 Fifth International Conference On Intelligent Computing in Data Sciences (ICDS), Fez, Morocco, 20–22 October 2021; pp. 1–8. [Google Scholar] [CrossRef]
- Schirrmeister, R.T.; Springenberg, J.T.; Fiederer, L.D.; Glasstetter, M.; Eggensperger, K.; Tangermann, M.; Hutter, F.; Burgard, W.; Ball, T. Deep learning with convolutional neural networks for EEG decoding and visualization. Hum. Brain Mapp. 2017, 38, 5391–5420. [Google Scholar] [CrossRef]
- Lawhern, V.J.; Solon, A.J.; Waytowich, N.R.; Gordon, S.M.; Hung, C.P.; Lance, B.J. EEGNet: A compact convolutional neural network for EEG-based brain–computer interfaces. J. Neural Eng. 2018, 15, 056013. [Google Scholar] [CrossRef]
- Tong, W.; Yang, L.; Qin, Y.; Che, Y.; Han, C. EEG-Based Emotion Recognition by Using Machine Learning and Deep Learning. In Proceedings of the 2022 15th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI), Beijing, China, 5–7 November 2022; pp. 1–5. [Google Scholar] [CrossRef]
- Tsiouris, Κ.Μ.; 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]
- Ksibi, A.; Zakariah, M.; Menzli, L.J.; Saidani, O.; Almuqren, L.; Hanafieh, R.A. Electroencephalography-based depression detection using multiple machine learning techniques. Diagnostics 2023, 13, 1779. [Google Scholar] [CrossRef] [PubMed]
- Chinnathambi, D.; Ravi, S.; Dhanasekaran, H.; Dhandapani, V.; Rao, R.; Pandiaraj, S. Early detection of Parkinson’s disease using deep learning: A convolutional bi-directional GRU approach. In Intelligent Technologies and Parkinson’s Disease: Prediction and Diagnosis; IGI Global Scientific Publishing: Hershey, PA, USA, 2024; pp. 228–240. [Google Scholar]
- Dai, Y.; Li, X.; Liang, S.; Wang, L.; Duan, Q.; Yang, H.; Zhang, C.; Chen, X.; Li, L.; Li, X.; et al. Multichannelsleepnet: A transformer-based model for automatic sleep stage classification with psg. IEEE J. Biomed. Health Inform. 2023, 27, 4204–4215. [Google Scholar] [CrossRef] [PubMed]
- Pandey, S.K.; Janghel, R.R.; Mishra, P.K.; Ahirwal, M.K. Automated epilepsy seizure detection from EEG signal based on hybrid CNN and LSTM model. Signal Image Video Process. 2023, 17, 1113–1122. [Google Scholar] [CrossRef]
- Kowshiga, A.; Pavithra, T.; Priyanka, V. Deep Learning Into the Future: Hybrid CNN-RNN for Early Detection of Alzheimer’s Disease. In Proceedings of the 2024 5th International Conference on Electronics and Sustainable Communication Systems (ICESC), Coimbatore, India, 7–9 August 2024; pp. 940–946. [Google Scholar]
- El-Sayed, R.S. A Hybrid CNN-LSTM Deep Learning Model for Classification of the Parkinson Disease. IAENG Int. J. Appl. Math. 2023, 53, 1427. [Google Scholar]
- Harati, A.; Choi, S.; Tabrizi, M.; Obeid, I.; Picone, J.; Jacobson, M.P. The temple university hospital EEG corpus. In Proceedings of the 2013 IEEE Global Conference on Signal and Information Processing, Austin, TX, USA, 3–5 December 2013; pp. 29–32. [Google Scholar]
- Abooelzahab, D.; Zaher, N.; Soliman, A.H.; Chibelushi, C. A Combined Windowing and Deep Learning Model for the Classification of Brain Disorders Based on Electroencephalogram Signals. AI 2025, 6, 42. [Google Scholar] [CrossRef]
- Sanei, S.; Chambers, J.A. EEG Signal Processing; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
- Repovs, G. Dealing with noise in EEG recording and data analysis. Inform. Medica Slov. 2010, 15, 18–25. [Google Scholar]
- Subasi, A. Practical Guide for Biomedical Signals Analysis Using Machine Learning Techniques: A MATLAB Based Approach; Academic Press: London, UK, 2019. [Google Scholar]
- Roy, S.; Kiral-Kornek, I.; Harrer, S. ChronoNet: A deep recurrent neural network for abnormal EEG identification. In Proceedings of the Artificial Intelligence in Medicine: 17th Conference on Artificial Intelligence in Medicine, AIME 2019, Poznan, Poland, 26–29 June 2019; Proceedings 17. Springer International Publishing: Berlin/Heidelberg, Germany, 2019; pp. 47–56. [Google Scholar]
- Acharya, U.R.; Oh, S.L.; Hagiwara, Y.; Tan, J.H.; Adeli, H. Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals. Comput. Biol. Med. 2018, 100, 270–278. [Google Scholar] [CrossRef] [PubMed]
- Tveitstøl, T.; Tveter, M.; Pérez, T.A.S.; Hatlestad-Hall, C.; Yazidi, A.; Hammer, H.L.; Hebold Haraldsen, I.R. Introducing Region Based Pooling for handling a varied number of EEG channels for deep learning models. Front. Neuroinform. 2024, 17, 1272791. [Google Scholar] [CrossRef]
- Roy, Y.; Banville, H.; Albuquerque, I.; Gramfort, A.; Falk, T.H.; Faubert, J. Deep learning-based electroencephalography analysis: A systematic review. J. Neural Eng. 2019, 16, 051001. [Google Scholar] [CrossRef]
- Wang, Z.; Yan, W.; Oates, T. Time series classification from scratch with deep neural networks: A strong baseline. In Proceedings of the 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, USA, 14–19 May 2017; pp. 1578–1585. [Google Scholar]
- Liu, J.; Wu, G.; Luo, Y.; Qiu, S.; Yang, S.; Li, W.; Bi, Y. EEG-based emotion classification using a deep neural network and sparse autoencoder. Front. Syst. Neurosci. 2020, 14, 43. [Google Scholar] [CrossRef] [PubMed]
- Khademi, Z.; Ebrahimi, F.; Kordy, H.M. A transfer learning-based CNN and LSTM hybrid deep learning model to classify motor imagery EEG signals. Comput. Biol. Med. 2022, 143, 105288. [Google Scholar] [CrossRef]
- Mary, G.; Chitti, S.; Vallabhaneni, R.B.; Renuka, N. EEG signal classification automation using novel modified random forest approach. J. Sci. Ind. Res. 2023, 82, 101–108. [Google Scholar] [CrossRef]
- Hosseini, M.P.; Pompili, D.; Elisevich, K.; Soltanian-Zadeh, H. Random ensemble learning for EEG classification. Artif. Intell. Med. 2018, 84, 146–158. [Google Scholar] [CrossRef]
- Molina, W.C.; Cavanagh, J.; Lin, C.Y. Application of Random Forest to classify EEG data of mTBI patients and control adults obtained during a Visuospatial Working Memory Task. J. Vis. 2022, 22, 3842. [Google Scholar]
- Aslam, M.H.; Usman, S.M.; Khalid, S.; Anwar, A.; Alroobaea, R.; Hussain, S.; Almotiri, J.; Ullah, S.S.; Yasin, A. Classification of EEG signals for prediction of epileptic seizures. Appl. Sci. 2022, 12, 7251. [Google Scholar] [CrossRef]
- Sharma, M.; Patel, S.; Acharya, U.R. Automated detection of abnormal EEG signals using localized wavelet filter banks. Pattern Recognit. Lett. 2020, 133, 188–194. [Google Scholar] [CrossRef]
- Iešmantas, T.; Alzbutas, R. Convolutional neural network for detection and classification of seizures in clinical data. Med. Biol. Eng. Comput. 2020, 58, 1919–1932. [Google Scholar] [CrossRef] [PubMed]
- Western, D.; Weber, T.; Kandasamy, R.; May, F.; Taylor, S.; Zhu, Y.; Canham, L. Automatic report-based labelling of clinical EEGs for classifier training. In Proceedings of the 2021 IEEE Signal Processing in Medicine and Biology Symposium (SPMB), Philadelphia, PA, USA, 4 December 2021; pp. 1–6. [Google Scholar]
- Wu, T.; Kong, X.; Zhong, Y.; Chen, L. Automatic detection of abnormal EEG signals using multiscale features with ensemble learning. Front. Hum. Neurosci. 2022, 16, 943258. [Google Scholar] [CrossRef]
- Albaqami, H.; Hassan, G.M.; Subasi, A.; Datta, A. Automatic detection of abnormal EEG signals using wavelet feature extraction and gradient boosting decision tree. Biomed. Signal Process. Control. 2021, 70, 102957. [Google Scholar] [CrossRef]






| Training | Testing | ||
|---|---|---|---|
| Normal | Abnormal | Normal | Abnormal |
| 1150 | 1150 | 126 | 148 |
| 49.4% Male | 43.9% Male | 50% Male | 43.2% Male |
| 50.6% Female | 56.1% Female | 50% Female | 56.8% Female |
| TP | TN | FP | FN | Precision | Recall | F1 Score | Total Abnormal | Total Normal | |
|---|---|---|---|---|---|---|---|---|---|
| Model 1 | 112 | 98 | 50 | 14 | 0.6914 | 0.8889 | 0.7782 | 126 | 148 |
| Model 2 | 100 | 94 | 54 | 26 | 0.6494 | 0.7937 | 0.7141 | 126 | 148 |
| Model 3 | 89 | 124 | 24 | 37 | 0.7946 | 0.7063 | 0.7470 | 126 | 148 |
| Model 4 | 86 | 112 | 36 | 40 | 0.7049 | 0.6825 | 0.6945 | 126 | 148 |
| Model 5 | 94 | 104 | 44 | 32 | 0.6812 | 0.7460 | 0.7118 | 126 | 148 |
| TP | TN | FP | FN | Precision | Recall | F1 Score | |
|---|---|---|---|---|---|---|---|
| SVM-based voting Model | 108 | 116 | 32 | 18 | 0.7714 | 0.8571 | 0.812 |
| LR-based Voting Model | 95 | 129 | 19 | 31 | 0.8333 | 0.7539 | 0.7917 |
| RF-based Voting Model | 117 | 107 | 41 | 9 | 0.7405 | 0.9286 | 0.8237 |
| Data Selection Technique | Feature Extraction | Classification Technique | Accuracy | Sensitivity | |
|---|---|---|---|---|---|
| Sharma [43] | 1st minute | Fuzzy Entropy + Logarithmic Squared Norm + Fractal Dimension | SVM | 79.34 | 77.54% |
| Tomas et al. [44] | - | PS + PLV + Energy | HMM | 68% | 68% |
| Western et al. [45] | 2nd minute | - | CNN | 81.88% | - |
| T Wu [46] | - | DWT | CatBoost | 89.13% | 84.92% |
| Albaqami [47] | - | WPD | LightGBM | 86.59% | 81.74% |
| Abooelzahab [28] | Windowing Technique | CNN | LSTM | 82.68% | 78.5% |
| Proposed Model | Windowing Technique | 5 Multi model + CNN LSTM model | Random Forest Voting system | 82.68% | 92.86% |
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
Abooelzahab, D.; Zaher, N.; Soliman, A.H.; Chibelushi, C. A Voting-Based Ensemble Approach for Brain Disorder Detection Using Random Forest. Computers 2026, 15, 18. https://doi.org/10.3390/computers15010018
Abooelzahab D, Zaher N, Soliman AH, Chibelushi C. A Voting-Based Ensemble Approach for Brain Disorder Detection Using Random Forest. Computers. 2026; 15(1):18. https://doi.org/10.3390/computers15010018
Chicago/Turabian StyleAbooelzahab, Dina, Nawal Zaher, Abdel Hamid Soliman, and Claude Chibelushi. 2026. "A Voting-Based Ensemble Approach for Brain Disorder Detection Using Random Forest" Computers 15, no. 1: 18. https://doi.org/10.3390/computers15010018
APA StyleAbooelzahab, D., Zaher, N., Soliman, A. H., & Chibelushi, C. (2026). A Voting-Based Ensemble Approach for Brain Disorder Detection Using Random Forest. Computers, 15(1), 18. https://doi.org/10.3390/computers15010018

