Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Sentiment Analysis of Tweets using Unsupervised Learning Techniques and the K-Means Algorithm

Author 1: Orlando Iparraguirre-Villanueva Author 2: Victor Guevara-Ponce Author 3: Fernando Sierra-Linan Author 4: Saul Beltozar-Clemente Author 5: Michael Cabanillas-Carbonell
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 13, No. 6 · Published 2022 · Cited by 31

DOI: https://doi.org/10.14569/IJACSA.2022.0130669

Abstract

Today, web content such as images, text, speeches, and videos are user-generated, and social networks have become increasingly popular as a means for people to share their ideas and opinions. One of the most popular social media for expressing their feelings towards events that occur is Twitter. The main objective of this study is to classify and analyze the content of the affiliates of the Pension and Funds Administration (AFP) published on Twitter. This study incorporates machine learning techniques for data mining, cleaning, tokenization, exploratory analysis, classification, and sentiment analysis. To apply the study and examine the data, Twitter was used with the hashtag #afp, followed by descriptive and exploratory analysis, including metrics of the tweets. Finally, a content analysis was carried out, including word frequency calculation, lemmatization, and classification of words by sentiment, emotions, and word cloud. The study uses tweets published in the month of May 2022. Sentiment distribution was also performed in three polarity classes: positive, neutral, and negative, representing 22%, 4%, and 74% respectively. Supported by the unsupervised learning method and the K-Means algorithm, we were able to determine the number of clusters using the elbow method. Finally, the sentiment analysis and the clusters formed indicate that there is a very pronounced dispersion, the distances are not very similar, even though the data standardization work was carried out.

Keywords

How to Cite this Article

Iparraguirre-Villanueva, O., Guevara-Ponce, V., Sierra-Linan, F., Beltozar-Clemente, S., & Cabanillas-Carbonell, M. (2022). Sentiment Analysis of Tweets using Unsupervised Learning Techniques and the K-Means Algorithm. International Journal of Advanced Computer Science and Applications, 13(6). https://doi.org/10.14569/IJACSA.2022.0130669

Iparraguirre-Villanueva, Orlando, et al.. "Sentiment Analysis of Tweets using Unsupervised Learning Techniques and the K-Means Algorithm." International Journal of Advanced Computer Science and Applications, vol. 13, no. 6, 2022, https://doi.org/10.14569/IJACSA.2022.0130669.

@article{Iparraguirre-Villanueva2022,
  title     = {Sentiment Analysis of Tweets using Unsupervised Learning Techniques and the K-Means Algorithm},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {13},
  number    = {6},
  year      = {2022},
  publisher = {The Science and Information Organization},
  author    = {Orlando Iparraguirre-Villanueva and Victor Guevara-Ponce and Fernando Sierra-Linan and Saul Beltozar-Clemente and Michael Cabanillas-Carbonell},
  doi       = {10.14569/IJACSA.2022.0130669},
  url       = {https://doi.org/10.14569/IJACSA.2022.0130669}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.