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

The Impacts of Child-Mentor Relationships on Child Mental Health

In this paper, we use a dataset from the Substance Abuse and Mental Health Data Archive to analyze the impacts of child-mentor relationships on child mental health. Previous studies have come to similar conclusions: positive parent-student and teacher-student relationships often lead to signs of positive mental health in children. To expand upon these past findings, we used different measures of mental health and relationship qualities to create a predictive model. We conducted classification and coefficient weight analyses to see how strong of an impact different variables representing indicators of healthy relationships had on different aspects of child mental health. This information was used to create predictions of future cases. Like previous studies, we found that there was a general pattern that showed that good child-mentor relationships, defined specifically by the frequency of praise and fights, had an overall positive impact on child mental health, specifically when it came to symptoms of depression. Furthermore, parents seemed to have stronger impacts on child mental health than teachers did. Limitations include possibly biased respondents who may not be representative of the greater population, as well as the specificity of the variables that were chosen. Going forward, further steps to analyze different datasets and deepen the scope of the research will be helpful in finding patterns and developing more detailed conclusions.
Samantha K.
Mentored by Akshay Jagadeesh
workspace_premium
Impact of Class Weights and Feature Importance in Automated Stroke Detection

In this research paper, we do a parametric study of class weighting as a way to tackle imbalance during training. We then infer the most important features that should be taken into consideration for stroke prediction.
Avyukth H.
Mentored by
workspace_premium
A Novel Approach to Promote Equity in Skin Disease Diagnosis by AI Models

The goal is to increase the accuracy of existing models in diagnosing skin disease across various skin tones within 10% of that obtained in diagnosing fairer skin tones, which is about 95.8%.
Varsha N.
Mentored by Roger Jin