Sentiment analysis of Ecuadorian political tweets from 2021 elections

September 7, 2021

This project was developed as a final group assignment during the Artificial Intelligence course at my bachelor, which I took as requirement for obtaining of my minor in Systems Engineering.

Figure 1.- Natural Language Processing illustration. Retrieved from https://thenounproject.com/term/natural-language-processing/3261011/. Used under a CC-BY 4.0 licence.

Summary

In this project, we captured sentiments of replies to tweets from two Ecuadorian presidential candidates in the 2021 elections (@LassoGuillermo and @ecuarauz). A model of neural networks was used to classify tweets considering their sentiment as positive, negative, or neutral. The training dataset was obtained from the Workshop on Semantic Analysis at SEPLN (TASS) of 2020, 2019, and 2012. Thus, we joined together data of the three editions in one dataset that had information about the id, text, and sentiment associated with tweets. Due to privacy politics we can not share the datasets here, but you can register in this page and yo will access all datasets.

The main library used to build our model was Keras and we trained it using Google Cloud GPUs through Google Colab.

Additional information

The complete information regarding model performance metrics, a jupyter notebook and python scripts of reference to reproduce our work, and further details are available on the GitHub repository of this project.

Posted on:
September 7, 2021
Length:
1 minute read, 207 words
Categories:
Machine Learning Natural Language Processing
Tags:
Python Sentiment analysis Neural Networks
See Also:
Prediction of antimicrobial peptides using machine learning classifiers
Prediction of potential drug ligands that bind to Beta-Lactamases
CRBN mutations