Sentiment Analysis on Twitter Using Machine Learning Techniques and TF-IDF Feature Extraction: A Comparative Study
Open Access
- 1 November 2023
- journal article
- Published by Egyptian Knowledge Bank in IJCI. International Journal of Computers and Information
- Vol. 10 (3) , 52-57
Abstract
The term "machine learning" refers to a sort of artificial intelligence (AI) that empowers software applications to enhance their predictive capabilities without explicit programming for such purposes. In order for machine learning algorithms to anticipate future output values, they require past data as input. In terms of scope, this research falls under sentiment analysis. The latter field is becoming increasingly active in terms of extracting people's opinions on issues related to politics, economics, and social issues. The purpose of sentiment classification is to categorize users' opinions as neutral, positive, or negative based on textual input alone. Despite these advantages, the accuracy and effectiveness of sentiment analysis are compromised by the obstacles encountered in the field of natural language processing (NLP). Recent research has shown that machine learning algorithms can assist in NLP. In this research, we investigate a range of machine-learning strategies for solving sentiment analysis challenges. Two datasets were analyzed with the models based on the term frequency-inverse document frequency (TF-IDF). A comparison study was conducted between each of the models to determine how they performed in experiments. Regarding accuracy and F1 score, logistic regression performs better than other algorithms.Keywords
This publication has 12 references indexed in Scilit:
- Sentiment analysis using Twitter data: a comparative application of lexicon- and machine-learning-based approachSocial Network Analysis and Mining, 2023
- Machine learning sentiment analysis, COVID-19 news and stock market reactionsResearch in International Business and Finance, 2023
- Real-Time Twitter Spam Detection and Sentiment Analysis using Machine Learning and Deep Learning TechniquesComputational Intelligence and Neuroscience, 2022
- Short-term stock trends prediction based on sentiment analysis and machine learningSoft Computing, 2022
- Aspect-based sentiment analysis via affective knowledge enhanced graph convolutional networksKnowledge-Based Systems, 2022
- A Survey on Concept-Level Sentiment Analysis Techniques of Textual Data2021
- The Validity of Sentiment Analysis: Comparing Manual Annotation, Crowd-Coding, Dictionary Approaches, and Machine Learning AlgorithmsCommunication Methods and Measures, 2021
- Sentiment analysis algorithms and applications: A surveyAin Shams Engineering Journal, 2014
- A Survey of Text Classification Algorithms2012
- Sentiment Analysis and Opinion Mining2012