Twitter Sentiment Analysis Using Different Machine Learning and Feature Extraction Techniques

Authors

  • Mohammad W. Habib Computer Science Department, College of Science, Al-Nahrain University, Baghdad-Iraq
  • Zainab N. Sultani Computer Science Department, College of Science, Al-Nahrain University, Baghdad-Iraq

Keywords:

Sentiment analysis, Natural language processing, Machine learning, Twitter data

Abstract

Twitter is considered a significant source of exchanging information and opinion in today's business. Analysis of this data is critical and complex due to the size of the dataset. Sentiment Analysis is adopted to understand and analyze the sentiment of such data. In this paper, a Machine learning approach is employed for analyzing the data into positive or negative sentiment (opinion). Different arrangements of preprocessing techniques are applied to clean the tweets, and various feature extraction methods are used to extract and reduce the dimension of the tweets' feature vector. Sentiment140 dataset is used, and it consists of sentiment labels and tweets, so supervised machine learning models are used, specifically Logistic Regression, Naive Bayes, and Support Vector Machine. According to the experimental results, Logistic Regression was the best amongst other models with all feature extraction techniques.

Downloads

Published

2021-09-30

Issue

Section

Articles

How to Cite

[1]
“Twitter Sentiment Analysis Using Different Machine Learning and Feature Extraction Techniques”, ANJS, vol. 24, no. 3, pp. 50–54, Sep. 2021, Accessed: Apr. 19, 2024. [Online]. Available: https://anjs.edu.iq/index.php/anjs/article/view/2372