Comparative Analysis of Feature Selection Methods for Twitter Sentiment Classification

In this paper, we investigate the performance of machine learning models designed for sentiment analysis of tweets using different featurization techniques: BoW and TF-IDF. With the development of social media at the current rate, it is becoming increasingly important to assess sentiments from short texts written in informal language. We analyze how BoW and TF-IDF impact the performance of different ML approaches, focusing on F1-score, precision, accuracy, and recall as the most important metrics for performance evaluation. We demonstrate via extensive experimentation on a large Twitter dataset that the use of TF-IDF with advanced ML models, such as Random Forest, significantly improves performance. These results demonstrate that the TF-IDF-using models outperform the prior benchmarks, per the reported evaluation metrics to date on the utilized dataset. The results also indicate that the SVM model with a TF-IDF vectorizer has the best performance among all compared models and vectorizer combinations by having the highest accuracy, precision, recall, and F1 score at 98%. Logistic Regression and Random Forest also yield very good performance, especially with Bows and TF-IDF, standing consistently around 92% to 96% for the metrics. The model of Naive Bayes has a more moderate performance of about 81% to 82% with all metrics. Overall, TF-IDF performs best among it is an especially effective vectorizer with SVM, thus making the classification tasks very effective. The developed model using SVM along with TF-IDF in this work outperforms other methods on F1-score and accuracy evaluation metrics.

Authors

Publication Details

Journal
Journal of Information Systems Engineering & Management
Published
2025-03-14
DOI
https://doi.org/10.52783/jisem.v10i21s.3331
Citations
1
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Analysis of Feature Selection Methods for Twitter Sentiment Classification

Mohamed Omar
1 citations
Journal of Information Systems Engineering & Management
Sentiment Analysis and Opinion Mining
2.48
article

Comparative Analysis of Feature Selection Methods for Twitter Sentiment Classification

Mohamed Omar
article en
1 citations

Abstract

In this paper, we investigate the performance of machine learning models designed for sentiment analysis of tweets using different featurization techniques: BoW and TF-IDF. With the development of social media at the current rate, it is becoming increasingly important to assess sentiments from short texts written in informal language. We analyze how BoW and TF-IDF impact the performance of different ML approaches, focusing on F1-score, precision, accuracy, and recall as the most important metrics for performance evaluation. We demonstrate via extensive experimentation on a large Twitter dataset that the use of TF-IDF with advanced ML models, such as Random Forest, significantly improves performance. These results demonstrate that the TF-IDF-using models outperform the prior benchmarks, per the reported evaluation metrics to date on the utilized dataset. The results also indicate that the SVM model with a TF-IDF vectorizer has the best performance among all compared models and vectorizer combinations by having the highest accuracy, precision, recall, and F1 score at 98%. Logistic Regression and Random Forest also yield very good performance, especially with Bows and TF-IDF, standing consistently around 92% to 96% for the metrics. The model of Naive Bayes has a more moderate performance of about 81% to 82% with all metrics. Overall, TF-IDF performs best among it is an especially effective vectorizer with SVM, thus making the classification tasks very effective. The developed model using SVM along with TF-IDF in this work outperforms other methods on F1-score and accuracy evaluation metrics.

Journal of Information Systems Engineering & ManagementVol. 10(21s)
Openalex Percentile: Top 11%
Sentiment Analysis and Opinion Mining
2.48
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.