Journal of Machine and Computing


Hybrid Neural Network Genetic Algorithm Framework for EEG and ECG Signal Classification



Journal of Machine and Computing

Received On : 18 May 2025

Revised On : 22 August 2025

Accepted On : 01 October 2025

Published On : 22 October 2025

Volume 06, Issue 01

Pages : 280-295


Abstract


Clinically relevant information is extracted from biomedical signals such as electroencephalogram (EEG) and electrocardiogram (ECG) by digital signal processing (DSP) techniques, which are pivotal. A hybrid framework that synergizes Convolutional Neural Networks (CNNs) with Genetic Algorithms (GAs) is introduced in this paper to enhance the classification accuracy of EEG seizures and ECG arrhythmias. Wavelet transformers are employed for noise-robust feature extraction, and a GA is utilized for automated hyperparameter optimization of a CNN-BiLSTM architecture. The proposed model is evaluated on the CHB-MIT EEG dataset (23 subjects) and the MIT-BIH ECG dataset (47 subjects), achieving 96.3% and 95.8% accuracy, respectively, and outperforming ResNet-18 and SVM baselines. The significance of improvements is confirmed by statistical tests (Wilcoxon signed-rank, p<0.01). Inference latency is reduced by 38% by the optimized model, making it suitable for edge deployment in real-time diagnostic systems.


Keywords


Digital Signal Processing, Neural Networks, Genetic Algorithms, EEG, ECG, AI.


  1. N. S. Amer and S. B. Belhaouari, “EEG Signal Processing for Medical Diagnosis, Healthcare, and Monitoring: A Comprehensive Review,” IEEE Access, vol. 11, pp. 143116–143142, 2023, doi: 10.1109/access.2023.3341419.
  2. W. C. Sleeman, R. Kapoor, and P. Ghosh, “Multimodal Classification: Current Landscape, Taxonomy and Future Directions,” ACM Computing Surveys, vol. 55, no. 7, pp. 1–31, Dec. 2022, doi: 10.1145/3543848.
  3. K. Koch, "Adaptive Spectrum Analysis for Nanooptical Systems," Technische Universität, 2010.
  4. P. Augustyniak, “Accurate Classification of ECG Patterns with Subject-Dependent Feature Vector,” Proceedings of the 9th International Conference on Computer Recognition Systems CORES 2015, pp. 533–541, 2016, doi: 10.1007/978-3-319-26227-7_50.
  5. X. Wang, "Deep learning-based classifications of motor imagery and depression EEG data," University of Otago.
  6. P. Dhar and V. K. Garg, “Epileptic Seizure Detection and Classification Based on EEG Signals Using Particle Swarm Optimization and Whale Optimization Algorithm,” Computer Science Engineering and Emerging Technologies, pp. 490–495, May 2024, doi: 10.1201/9781003405580-79.
  7. E. Maghawry, T. F. Gharib, R. Ismail, and M. J. Zaki, “An Efficient Heartbeats Classifier Based on Optimizing Convolutional Neural Network Model,” IEEE Access, vol. 9, pp. 153266–153275, 2021, doi: 10.1109/access.2021.3128134.
  8. J. Lu, H. Yan, C. Chang, and N. Wang, “Comparison of Machine Learning and Deep Learning Approaches for Decoding Brain Computer Interface: An fNIRS Study,” Intelligent Information Processing X, pp. 192–201, 2020, doi: 10.1007/978-3-030-46931-3_18.
  9. T. E. Putra, S. Abdullah, M. Z. Nuawi, and M. F. M. Yunoh, “The Morlet and Daubechies Wavelet Transforms for Fatigue Strain Signal Analysis,” Applied Mechanics and Materials, vol. 471, pp. 197–202, Dec. 2013, doi: 10.4028/www.scientific.net/amm.471.197.0
  10. A. M. Ciupe, R. V. Ciupa, A. I. Roman, and N. M. Roman, “Study of continuous wavelet transform used in ECG pre-diagnostic,” 2015 E-Health and Bioengineering Conference (EHB), pp. 1–4, Nov. 2015, doi: 10.1109/ehb.2015.7391509.
  11. J. Rahul, M. Sora, L. D. Sharma, and V. K. Bohat, “An improved cardiac arrhythmia classification using an RR interval-based approach,” Biocybernetics and Biomedical Engineering, vol. 41, no. 2, pp. 656–666, Apr. 2021, doi: 10.1016/j.bbe.2021.04.004.
  12. A. Y. Hannun et al., “Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network,” Nature Medicine, vol. 25, no. 1, pp. 65–69, Jan. 2019, doi: 10.1038/s41591-018-0268-3.
  13. H. Gao, P. He, L. Yan, and X. Li, “Research on Heart Rate Signal Recognition based on Improved LSTM Network,” 2024 4th International Conference on Electronics, Circuits and Information Engineering (ECIE), pp. 456–459, May 2024, doi: 10.1109/ecie61885.2024.10626791.
  14. P. Swaroop, N. Badolia, R. Ranjan, and M. Kumar, “Arrhythmia Classification Using Hybrid CNN-LSTM Model,” 2024 First International Conference on Electronics, Communication and Signal Processing (ICECSP), pp. 1–6, Aug. 2024, doi: 10.1109/icecsp61809.2024.10698222.
  15. M. Sinnoor and S. K. Janardhan, “Arrhythmia Identification and Classification using Runge Kutta Optimizer-Based Hyperparameter Optimization for Long Short Term Memory,” Journal of The Institution of Engineers (India): Series B, vol. 105, no. 5, pp. 1183–1195, Apr. 2024, doi: 10.1007/s40031-024-01038-7.
  16. S. Lee, J. Kim, H. Kang, D.-Y. Kang, and J. Park, “Genetic Algorithm Based Deep Learning Neural Network Structure and Hyperparameter Optimization,” Applied Sciences, vol. 11, no. 2, p. 744, Jan. 2021, doi: 10.3390/app11020744.
  17. G. Kothai, R. S. Saarathy Mithran, B. Kishore Balaji, S. Suryaprakash, M. Sanjai, and P. Sanjai, “ECG Arrhythmia Classification Using CNN-BiLSTM Models for Enhanced Diagnostic Accuracy,” 2024 International Conference on Computing and Intelligent Reality Technologies (ICCIRT), pp. 326–330, Dec. 2024, doi: 10.1109/iccirt59484.2024.10922026.
  18. I. Wijayanto, A. Rizal, and S. Hadiyoso, “Multilevel Wavelet Packet Entropy and Support Vector Machine for Epileptic EEG Classification,” 2018 4th International Conference on Science and Technology (ICST), pp. 1–6, Aug. 2018, doi: 10.1109/icstc.2018.8528634.
  19. U. R. Acharya, H. Fujita, O. S. Lih, Y. Hagiwara, J. H. Tan, and M. Adam, “Automated detection of arrhythmias using different intervals of tachycardia ECG segments with convolutional neural network,” Information Sciences, vol. 405, pp. 81–90, Sep. 2017, doi: 10.1016/j.ins.2017.04.012.
  20. M. S. Islam, M. N. Islam, N. Hashim, M. Rashid, B. S. Bari, and F. A. Farid, “New Hybrid Deep Learning Approach Using BiGRU-BiLSTM and Multilayered Dilated CNN to Detect Arrhythmia,” IEEE Access, vol. 10, pp. 58081–58096, 2022, doi: 10.1109/access.2022.3178710.
  21. K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, Jun. 2016, doi: 10.1109/cvpr.2016.90.
  22. S. Jain and A. Tripathi, "Using Convolutional Neural Networks (CNNs) to Forecast or Analyze Electrocardiogram (ECG) Data for Prediction Purposes."
  23. A. Ullah, S. M. Anwar, M. Bilal, and R. M. Mehmood, “Classification of Arrhythmia by Using Deep Learning with 2-D ECG Spectral Image Representation,” Remote Sensing, vol. 12, no. 10, p. 1685, May 2020, doi: 10.3390/rs12101685.
  24. A. K. Singh and S. Krishnan, “Trends in EEG signal feature extraction applications,” Frontiers in Artificial Intelligence, vol. 5, Jan. 2023, doi: 10.3389/frai.2022.1072801.

CRediT Author Statement


The authors confirm contribution to the paper as follows:

Conceptualization: Hussain Ali Mutar, Shaima Miqdad Mohamed Najeeb, Mohand Lokman Aldabag and Haider TH Salim ALRikabi; Methodology: Hussain Ali Mutar and Shaima Miqdad Mohamed Najeeb; Software: Mohand Lokman Aldabag and Haider TH Salim ALRikabi; Data Curation: Hussain Ali Mutar, Shaima Miqdad Mohamed Najeeb; Writing- Original Draft Preparation: Hussain Ali Mutar, Shaima Miqdad Mohamed Najeeb, Mohand Lokman Aldabag and Haider TH Salim ALRikabi; Visualization: Mohand Lokman Aldabag and Haider TH Salim ALRikabi; Investigation: Hussain Ali Mutar and Shaima Miqdad Mohamed Najeeb; Supervision: Mohand Lokman Aldabag and Haider TH Salim ALRikabi; Validation: Hussain Ali Mutar and Shaima Miqdad Mohamed Najeeb; Writing- Reviewing and Editing: Hussain Ali Mutar, Shaima Miqdad Mohamed Najeeb, Mohand Lokman Aldabag and Haider TH Salim ALRikabi; All authors reviewed the results and approved the final version of the manuscript.


Acknowledgements


Authors thank Reviewers for taking the time and effort necessary to review the manuscript.


Funding


No funding was received to assist with the preparation of this manuscript.


Ethics declarations


Conflict of interest

The authors have no conflicts of interest to declare that are relevant to the content of this article.


Availability of data and materials


Data sharing is not applicable to this article as no new data were created or analysed in this study.


Author information


Contributions

All authors have equal contribution in the paper and all authors have read and agreed to the published version of the manuscript.


Corresponding author


Rights and permissions


Open Access This article is licensed under a Creative Commons Attribution NoDerivs is a more restrictive license. It allows you to redistribute the material commercially or non-commercially but the user cannot make any changes whatsoever to the original, i.e. no derivatives of the original work. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-nd/4.0/


Cite this article


Hussain Ali Mutar, Shaima Miqdad Mohamed Najeeb, Mohand Lokman Aldabag and Haider TH Salim ALRikabi, “Hybrid Neural Network Genetic Algorithm Framework for EEG and ECG Signal Classification”, Journal of Machine and Computing, vol.6, no.1, pp. 280-295, 2026, doi: 10.53759/7669/jmc202606021.


Copyright


© 2026 Hussain Ali Mutar, Shaima Miqdad Mohamed Najeeb, Mohand Lokman Aldabag and Haider TH Salim ALRikabi. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.