@article{Altamirano Asher Weiss_Concatto_Celeste Ghizoni Teive_Garcia Ramirez_2022, title={On-line recognition of emotions via electroencephalography}, volume={20}, url={https://latamt.ieeer9.org/index.php/transactions/article/view/6063}, abstractNote={<p>Automated pattern recognition of brain signals can bring about new experiences, enhancing applications in a wide array of areas. One of its fields of study is the recognition of emotions via electroencephalography (EEG), which shows exclusive advantages compared to other methods. However, research with brain-computer interfaces (BCI) is usually structured in two sequential stages: data collection and data analysis. These stages leave a gap in the perspective of a functional system in a production environment since the practitioner needs to wait a considerable length of time until they can see the results of the current activity. An on-line classification system of emotions (positive, neutral, and negative) was developed using open resources in this work. Five machine learning models were trained with the SEED IV dataset, which is labeled with different emotions. The models were trained and tested using nested cross-validation and grid search to obtain the best hyperparameters. The algorithm implementation in Python was integrated with the OpenBCI software to capture the EEG signals, process them, and command the simulations. The best average accuracy obtained for a single subject was 76.19%, and the average accuracy for all subjects was 57.07%. The average execution time for signal processing and prediction, combined, was around one millisecond, which demonstrates the potential for applications with real-time characteristics.</p>}, number={5}, journal={IEEE Latin America Transactions}, author={Altamirano Asher Weiss, Kevin and Concatto, Fernando and Celeste Ghizoni Teive, Raimundo and Garcia Ramirez, Alejandro Rafael}, year={2022}, month={Jan.}, pages={806–812} }