Sentiment Classification of Tweets using Machine Learning and NLP Techniques

In the last ten years, social networks have appeared as main opinion-sharing and discussionenabling resources. At the same time, the development of machine learning (ML) and natural language processing (NLP) technologies has allowed for new approaches to analyzing the huge quantities of data created by users. This research uses data loading, class imbalance handling, text preprocessing and tokenization, sentiment analysis, and model assessment techniques to analyze the sentiment of the tweets. Using metrics like accuracy, precision, recall, and F1 score the study reveals that SVM and Logistic Regression are the most suitable machine-learning models for this purpose. SVM attained an accuracy of 90% for training and 77% for testing while Logistic Regression showed 83% for training and 78% for testing.

Authors

Publication Details

Published
2024-10-26
DOI
https://doi.org/10.5121/csit.2024.142004
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sentiment Classification of Tweets using Machine Learning and NLP Techniques

Dino Кеčo, Dželila Mehanović, Ervin Vladić, Benjamin Mehanović et al.
Sentiment Analysis and Opinion Mining
article

Sentiment Classification of Tweets using Machine Learning and NLP Techniques

Dino Кеčo, Dželila Mehanović, Ervin Vladić, Benjamin Mehanović, Mirza Novalić
article en

Abstract

In the last ten years, social networks have appeared as main opinion-sharing and discussionenabling resources. At the same time, the development of machine learning (ML) and natural language processing (NLP) technologies has allowed for new approaches to analyzing the huge quantities of data created by users. This research uses data loading, class imbalance handling, text preprocessing and tokenization, sentiment analysis, and model assessment techniques to analyze the sentiment of the tweets. Using metrics like accuracy, precision, recall, and F1 score the study reveals that SVM and Logistic Regression are the most suitable machine-learning models for this purpose. SVM attained an accuracy of 90% for training and 77% for testing while Logistic Regression showed 83% for training and 78% for testing.

Quality Education
Openalex Percentile: Top 82%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.