Emotion Recognition from EEG Signals Using Principal Component Analysis and Random Forest Classifier

Authors

  • Ranjana Bangarappa Jadekar Department of Computer Science and Engineering (Data Science), Bapuji Institute of Engineering and Technology, Davangere, Affiliated to Visvesvaraya Technological University, Belagavi, Karnataka, India
  • Poornima Basavaraju Department of Information Science and Engineering, Bapuji Institute of Engineering and Technology, Davangere, Affiliated to Visvesvaraya Technological University, Belagavi, Karnataka, India
  • Sunil B. S. Kumar GM Institute of Technology, Affiliated to Visvesvaraya Technological University, Belagavi, Karnataka, India
  • Mohammed Rafi University BDT College of Engineering, Affiliated to Visvesvaraya Technological University, Belagavi, Karnataka, India
Volume: 15 | Issue: 5 | Pages: 27300-27305 | October 2025 | https://doi.org/10.48084/etasr.12301

Abstract

Emotion recognition using EEG signals is a critical task with wide-ranging applications in mental health monitoring, disorders of consciousness, and neurofeedback systems. However, EEG signals are inherently noisy and high-dimensional, posing persistent challenges to accurate emotion classification. Most existing approaches rely on limited preprocessing or employ Principal Component Analysis (PCA) solely for dimensionality reduction, often overlooking the residual artifacts that degrade classifier performance. This study introduces a novel PCA-RF framework that repurposes PCA for dual objectives: targeted noise suppression and feature dimensionality reduction. Uniquely, PCA is applied after frequency-specific filtering to more effectively eliminate residual ocular and cardiac artifacts, thus improving the quality of EEG feature representations. These compact and denoised features are then processed by a Random Forest (RF) classifier, which robustly captures the nonlinear dynamics of the EEG data. Evaluated on the DEAP dataset, the proposed PCA-RF approach achieved state-of-the-art performance, with 96.57% accuracy for arousal and 96.03% for valence classification. The key contribution of this work lies in its strategic integration of PCA for both artifact suppression and feature optimization, setting it apart from conventional pipelines and delivering a reliable and accurate solution for EEG-based emotion recognition.

Keywords:

EEG, emotion classification, PCA, RF, noise removal, dimensionality reduction, feature extraction, DEAP dataset

Downloads

Download data is not yet available.

References

K. Golden, Y. G. Bodien, and J. T. Giacino, "Disorders of Consciousness," Physical Medicine and Rehabilitation Clinics of North America, vol. 35, no. 1, pp. 15–33, Feb. 2024.

J. Chen et al., "Research hotspots and trends in the application of electroencephalography for assessment of disorders of consciousness: a bibliometric analysis," Frontiers in Neurology, vol. 15, Jan. 2025, Art. no. 1501947.

Y. Geng, S. Shi, and X. Hao, "Deep learning-based EEG emotion recognition: a comprehensive review," Neural Computing and Applications, vol. 37, no. 4, pp. 1919–1950, Feb. 2025.

Y. Xu, Y. Gao, Z. Zhang, and S. Du, "Emotional recognition of EEG signals utilizing residual structure fusion in bi-directional LSTM," Complex & Intelligent Systems, vol. 11, no. 1, Jan. 2025, Art. no. 62.

J. Pan et al., "A Hybrid Brain–Computer Interface Combining P300 Potentials and Emotion Patterns for Detecting Awareness in Patients With Disorders of Consciousness," IEEE Transactions on Cognitive and Developmental Systems, vol. 15, no. 3, pp. 1386–1395, Sep. 2023.

J. Pan et al., "ST-SCGNN: A Spatio-Temporal Self-Constructing Graph Neural Network for Cross-Subject EEG-Based Emotion Recognition and Consciousness Detection," IEEE Journal of Biomedical and Health Informatics, vol. 28, no. 2, pp. 777–788, Feb. 2024.

Z. Wang, J. Yu, J. Gao, Y. Bai, and Z. Wan, "MutaPT: A Multi-Task Pre-Trained Transformer for Classifying State of Disorders of Consciousness Using EEG Signal," Brain Sciences, vol. 14, no. 7, Jul. 2024, Art. no. 688.

W. Li, C. Fang, Z. Zhu, C. Chen, and A. Song, "Fractal Spiking Neural Network Scheme for EEG-Based Emotion Recognition," IEEE Journal of Translational Engineering in Health and Medicine, vol. 12, pp. 106–118, 2024.

S. S. Gilakjani and H. A. Osman, "A Graph Neural Network for EEG-Based Emotion Recognition With Contrastive Learning and Generative Adversarial Neural Network Data Augmentation," IEEE Access, vol. 12, pp. 113–130, 2024.

K. Henni, N. Mezghani, A. Mitiche, L. Abou-Abbas, and A. Benazza-Ben Yahia, "An Effective Deep Neural Network Architecture for EEG-Based Recognition of Emotions," IEEE Access, vol. 13, pp. 4487–4498, 2025.

"DEAP: A Dataset for Emotion Analysis using Physiological and Audiovisual Signals." [Online]. Available: https://www.eecs.qmul.ac.uk/mmv/datasets/deap/.

"DEAP: A Dataset for Emotion Analysis using Physiological and Audiovisual Signals." [Online]. Available: https://www.eecs.qmul.ac.uk/mmv/datasets/deap/readme.html.

X. Jiang, G. B. Bian, and Z. Tian, "Removal of Artifacts from EEG Signals: A Review," Sensors, vol. 19, no. 5, Feb. 2019, Art. no. 987.

S. Koelstra et al., "DEAP: A Database for Emotion Analysis ;Using Physiological Signals," IEEE Transactions on Affective Computing, vol. 3, no. 1, pp. 18–31, Jan. 2012.

S. D. Muthukumaraswamy, "High-frequency brain activity and muscle artifacts in MEG/EEG: a review and recommendations," Frontiers in Human Neuroscience, vol. 7, 2013.

V. Ronca et al., "Optimizing EEG Signal Integrity: A Comprehensive Guide to Ocular Artifact Correction," Bioengineering, vol. 11, no. 10, Oct. 2024, Art. no. 1018.

G. Tamburro, P. Croce, F. Zappasodi, and S. Comani, "Automated Detection and Removal of Cardiac and Pulse Interferences from Neonatal EEG Signals," Sensors, vol. 21, no. 19, Sep. 2021, Art. no. 6364.

W. Wang et al., "A Random Forest Weights and 4-Dimensional Convolutional Recurrent Neural Network for EEG Based Emotion Recognition," IEEE Access, vol. 12, pp. 39549–39563, 2024.

Downloads

How to Cite

[1]
R. B. Jadekar, P. Basavaraju, S. B. S. Kumar, and M. Rafi, “Emotion Recognition from EEG Signals Using Principal Component Analysis and Random Forest Classifier”, Eng. Technol. Appl. Sci. Res., vol. 15, no. 5, pp. 27300–27305, Oct. 2025.

Metrics

Abstract Views: 4
PDF Downloads: 2

Metrics Information