Back to Search Start Over

Application of Machine Learning Techniques to Classify Twitter Sentiments Using Vectorization Techniques

Authors :
Manjog Padhy
Umar Muhammad Modibbo
Rasmita Rautray
Subhranshu Sekhar Tripathy
Sujit Bebortta
Source :
Algorithms, Vol 17, Iss 11, p 486 (2024)
Publication Year :
2024
Publisher :
MDPI AG, 2024.

Abstract

The advancements in social networking have empowered open expression on micro-blogging platforms like Twitter. Traditional Twitter Sentiment Analysis (TSA) faces challenges due to rule-based or dictionary algorithms, dealing with feature selection, ambiguity, sparse data, and language variations. This study proposed a classification framework for Twitter sentiment data using word count vectorization and machine learning techniques to reduce the difficulties faced with annotated sentiment-labelled tweets. Various classifiers (Naïve Bayes (NB), Decision Tree (DT), K-Nearest Neighbors (KNN), Logistic Regression (LR), and Random Forest (RF)) were evaluated based on accuracy, precision, recall, F1-score, and specificity. Random Forest outperformed the others with an Area under Curve (AUC) value of 0.96 and an average precision (AP) score of 0.96 in sentiment classification, especially effective with minimal Twitter-specific features.

Details

Language :
English
ISSN :
19994893
Volume :
17
Issue :
11
Database :
Directory of Open Access Journals
Journal :
Algorithms
Publication Type :
Academic Journal
Accession number :
edsdoj.41efd91c3d9a4700b6d1e1464f06baac
Document Type :
article
Full Text :
https://doi.org/10.3390/a17110486