Applied Sciences (May 2023)

Emotional State Detection Using Electroencephalogram Signals: A Genetic Algorithm Approach

  • Rosa A. García-Hernández,
  • José M. Celaya-Padilla,
  • Huizilopoztli Luna-García,
  • Alejandra García-Hernández,
  • Carlos E. Galván-Tejada,
  • Jorge I. Galván-Tejada,
  • Hamurabi Gamboa-Rosales,
  • David Rondon,
  • Klinge O. Villalba-Condori

DOI
https://doi.org/10.3390/app13116394
Journal volume & issue
Vol. 13, no. 11
p. 6394

Abstract

Read online

Emotion recognition based on electroencephalogram signals (EEG) has been analyzed extensively in different applications, most of them using medical-grade equipment in laboratories. The trend in human-centered artificial intelligence applications is toward using portable sensors with reduced size and improved portability that can be taken to real life scenarios, which requires systems that efficiently analyze information in real time. Currently, there is no specific set of features or specific number of electrodes defined to classify specific emotions using EEG signals, and performance may be improved with the combination of all available features but could result in high dimensionality and even worse performance; to solve the problem of high dimensionality, this paper proposes the use of genetic algorithms (GA) to automatically search the optimal subset of EEG data for emotion classification. Publicly available EEG data with 2548 features describing the waves related to different emotional states are analyzed, and then reduced to 49 features with genetic algorithms. The results show that only 49 features out of the 2548 can be sufficient to create machine learning (ML) classification models with, using algorithms such as k-nearest neighbor (KNN), random forests (RF) and artificial neural networks (ANN), obtaining results with 90.06%, 93.62% and 95.87% accuracy, respectively, which are higher than the 87.16% and 89.38% accuracy of previous works.

Keywords