A machine learning-based EEG signal analysis framework to enhance emotional state detection

Md Amir Abdal Sobhani, Sreya Deb Srestha, Md Maimoon Hossain Shomoy, Ahmed Wasif Reza, Nazmul Siddique

Research output: Contribution to journalArticlepeer-review

Abstract

This study aims to present a machine learning-based approach for detecting emotional states from Electroencephalogram (EEG) signals by utilizing multiple machine learning models with various parameter settings to achieve the best outcomes. Nine machine learning models, which are Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), k-Nearest Neighbors (kNN), Support Vector Machine (SVM), Light Gradient Boosting Machine (LGBM), Adaptive Boosting (AdaBoost), Multilayer Perceptron (MLP), and 1D Convolutional Neural Network (1D CNN), are employed in this study. A dataset consisting of EEG signals from 300 patients is employed to conduct the experiments. Additionally, multiple synthetic datasets of 20,000 data points are generated using Generative Adversarial Network (GAN), Synthetic Minority Over-sampling Technique (SMOTE), and Adaptive Synthetic Sampling (ADASYN). Both the real and synthetic datasets are utilized for training, testing, and validating the models. By comparing the performance of the models, it is determined that across 5 different datasets (Original, Original + GAN, Original + SMOTE, Original + ADASYN, Original + GAN + SMOTE + ADASYN), the MLP model achieves the highest accuracy and efficiency. They demonstrated a testing accuracy of 98.8% and a latency ranging from only 1.8ms – 4.8ms. The use of synthetic data in machine learning and deep learning models shortens the process and enhances accuracy. The results of this study are promising and hold potential benefits for physicians and healthcare professionals.

Original languageEnglish
Article number183
Pages (from-to)1-31
Number of pages31
JournalCognitive Neurodynamics
Volume19
Issue number1
Early online date8 Nov 2025
DOIs
Publication statusPublished online - 8 Nov 2025

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive licence to Springer Nature B.V. 2025.

Data Access Statement

We have made the complete pipeline publicly available via a GitHub repository ( h t t p s : / / b i t . l y / e e g - m l - f r a m e w o r k), which includes all scripts for data preprocessing, feature extraction, synthetic data generation, model training, and evaluation.

Funding

No funding was received.

Keywords

  • Emotional state
  • Generative adversarial network
  • Brainwave
  • CNN
  • EEG
  • Multi-layer perceptron
  • Machine learning

Fingerprint

Dive into the research topics of 'A machine learning-based EEG signal analysis framework to enhance emotional state detection'. Together they form a unique fingerprint.

Cite this