{'fraction_non_alphanumeric': 0.02756892230576441, 'fraction_numerical': 0.006892230576441102, 'mean_word_length': 5.23828125, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Classification of Emotion Based on Electroencephalogram Using Convolutional Neural Networks and Recurrent Neural Networks

Emotional recognition is widely used in various fields, one of which monitors emotions in understanding the processes that occur in each individual. Electroencephalogram (EEG) can capture emotional information objectively. Nevertheless, it needs appropriate processing. The multichannel of EEG gives much information that yields redundancies. Thus, it can view the information from the multichannel spatially and the sequence between signals as temporal in processing. Several methods are often used, such as Convolutional Neural Networks (CNN) and Recurrent Neural Networks (RNN). The combination of CNN and RNN utilizes a large amount of information from multi-channel and reserves the characteristics of RNN for processing sequence data such as EEG signals. So that it can maintain the signal sequence information of each channel, this paper proposed the CNN-RNN to identify three positive, negative, and neutral classes of emotions. The EEG signal was filtered at a frequency of 4-45 Hz, according to the signal characteristics of the three emotion classes. It used Wavelet to get Theta, Alpha, Beta, and Gamma waves. The results showed that the use of CNN as multi-channel handling could increase the accuracy, from 91.98%, compared to 79.52% with only RNN. On the other side, CNN-RNN can provide a shorter computation time. However, the choice of emotional duration is significant. Experiments suggest that a second represents more emotional change than five seconds.