Back To Projects

AI Detection of Emotions through EEG

Srinivas S.

We proceeded to develop a recurrent neural network (RNN) model structure that could analyze an individual’s brain waves and predict their emotional condition.


Electroencephalogram (EEG) brain waves are an extremely important resource for clinical analysis and diagnosis of mental health and other psychiatric diseases. They help current diagnosis of these diseases, as clinics use the external behavior of a patient and the psychiatrist’s qualitative reasoning to determine what disease the patient has. However, this approach does not examine internal activity in the brain, and is not uniformly quantifiable. EEG provides a means for psychiatrists to do this, however, this process can be complicated because the variability in EEG signals. Machine Learning (ML) provides a means to analyze these complex data. A computational tool that can recognize patterns in EEG signals would be a valuable starting point in diagnosis psychiatric disorders. We proceeded to develop a recurrent neural network (RNN) model structure that could analyze an individual’s brain waves and predict their emotional condition. We used the EEG Brainwave Dataset: Feeling Emotions dataset, which contains various statistical features of the EEG brain waves of two different test subjects as they were experiencing different emotions. We extracted frequency domain features, converted them to the time domain, and filtered them. We trained a gated recurrent unit (GRU) model from these filtered and attained a 96.95% validation accuracy.

Explore More!

Source Code
Srinivas S.
Nima Leclerc
UPenn PhD in Electrical Engineering

Related Projects

Developing a novel 3D GNN and Random Forest Regression model for screening and predicting potential oxide electrocatalysts with greater accuracy and computational efficiency

Phase 1 of my research evaluated the Dimenet++ model and Graphormer 3D Transformer model on a subset of the OC20 (Open Catalyst 2020) IS2RE dataset to analyze the relationship between a 3D Transformer and a GNN, and establish a baseline model that can be used to compare to Phase 2.
Stanley C.
Mentored by
Application of Machine Learning to Distinguish Premature Leukemia Cells from Healthy Blood Cells

Convolutional Neural Networks (CNNS) to solve this problem have been created with classification validation accuracy rates as high as 96.15%.
Noor E.
Mentored by Yiran Li
Cardiac Auscultation: Metrics of Smartphones and Digital Stethoscopes

The objective of our research is to figure out how feasible and accurate a mobile device solution to cardiac ascultation is, compared to a digital stethoscope.
Nicholas T.
Mentored by Sophia Barton