A TF-IDF and logistic regression baseline for binary sentiment classification of short texts
Future Technology · 15.11.2026 · 5 (4) · 157-168
DOI: 10.55670/fpll.futech.5.4.13 ↗Kurz gefasst
Fachartikel in der Zeitschrift Future Technology, online erschienen am 15.11.2026. Verfasst von Mustafa Ali Mohsin und 1 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref).
Abstract (Originalsprache)
The rapid growth of social media has created a large amount of short-text data that expresses people's feelings and opinions on many topics; therefore, sentiment classification has become a popular problem to address. This paper focuses on binary sentiment classification using the Sentiment 140 dataset of 1.6 million labeled tweets. A preprocessing pipeline, which includes text normalization, URL removal, and noise cleaning, was applied to the original dataset. Text representation was conducted using term frequency-inverse document frequency with an n-gram model. Logistic Regression algorithm was used for classification. The paper includes experimental evaluations using common metrics, such as accuracy, precision, recall, F1-score, ROC-AUC, the confusion matrix, and the precision-recall graph. Results show that the combination of TF-IDF feature extraction and a Logistic Regression classifier produced consistent results and achieved a computationally inexpensive baseline classifier with 85.2% accuracy, 0.852 F1-score, and 0.93 ROC-AUC when performing the Sentiment140 binary classification task. These results strongly suggest that traditional machine learning algorithms can still provide highly accurate models for such a large-scale classification challenge. Despite this, the current model has limitations in understanding sarcasm and linguistic idioms, suggesting an opportunity for deep learning and transformer-based models to outperform.
Zitieren
APA
Mohsin, M. A., & Noaman, S. A. (2026). A TF-IDF and logistic regression baseline for binary sentiment classification of short texts. Future Technology, 5(4), 157-168. https://doi.org/10.55670/fpll.futech.5.4.13
Vancouver
Mohsin MA, Noaman SA. A TF-IDF and logistic regression baseline for binary sentiment classification of short texts. Future Technology. 2026;5(4):157-168. doi:10.55670/fpll.futech.5.4.13
BibTeX
@article{Mohsin2026,
author = {Mohsin, Mustafa Ali and Noaman, Salam Abdulkhaleq},
title = {A TF-IDF and logistic regression baseline for binary sentiment classification of short texts},
journal = {Future Technology},
year = {2026},
volume = {5},
number = {4},
pages = {157--168},
doi = {10.55670/fpll.futech.5.4.13}
}
EUVIMED