Skip to content
Review Open access

Improving Sentiment Classification Performance Using Pseudo-Labeling with Naive Bayes and Random Forest

Sep 2026 · TEPIAN · 0 citations · 21 references

TL;DR

Overall, TF-IDF outperformed Count Vectorizer, and larger threshold values yielded more consistent performance improvements across datasets, though lower values offered greater potential for gains on large, diverse datasets, which suggest pseudo-labeling is a viable method for incorporating unlabeled data.

Abstract

Sentiment analysis has been applied to understand users' opinions expressed in unstructured text on various online platforms. Supervised machine learning approaches typically require large amounts of labeled data; however, annotation is expensive and laborious. This research aims to implement semi-supervised learning via pseudo-labeling to reduce reliance on labeled data and improve the performance of sentiment classification models relative to a supervised baseline. Contributions of this research include a pseudo-labeling framework implemented with limited labeled data, benchmarking of Naive Bayes and Random Forest algorithms across three Indonesian-language datasets with different linguistic characteristics (IndoNLU, E-commerce, and BCA Mobile app reviews), and an analysis of model performance sensitivity to the pseudo-labeling threshold. Count Vectorizer and TF-IDF were utilized for feature extraction with unigram and bigram parameters. Accuracy and F1-score were measured to benchmark model performance. Results show that pseudo-labeling improved performance across all classification models compared to the baseline by an average of 0.005–0.010, and up to 0.030 on the E-commerce dataset. Naive Bayes was found to have more consistent results across datasets, while Random Forest capitalized more on the implementation of pseudo-labeling under the right circumstances. Overall, TF-IDF outperformed Count Vectorizer, and larger threshold values yielded more consistent performance improvements across datasets, though lower values offered greater potential for gains on large, diverse datasets. These results suggest pseudo-labeling is a viable method for incorporating unlabeled data. Its efficacy depends on dataset attributes, feature extraction methods, and the threshold value.

Read PDF

Similar papers

Review Open access Sep 2026

Automated Sentiment Analysis of Hindi Text using Machine Learning Techniques: A Lightweight and Scalable Framework for Regional Language NLP

This proposed work addresses the persistent challenges of data sparsity, linguistic diversity, and limited annotated resources that hinder sentiment analysis in regional Indian languages by proposing a lightweight yet effective machine learning-based framework for automated sentiment classification of Hindi textual dat...

Satyapal Singh, Jarnail Singh, D. S · 0 citations
Open access 2026

Comparative Analysis of Language Models for Sentiment Classification

Comparing and analysing the performance of several machine learning algorithms on fine-grained sentiment classification problems to examine their suitability and shortcomings for use as models in sentiment analysis suggests large language models perform significantly worse on the 28-class classification task in zero-sh...

Shangjiafeng Guo · 0 citations
Open access Sep 2026

Comparison of Naive Bayes, SVM, and Logistic Regression for Sentiment Analysis of the Makan Bergizi Gratis Program

The Makan Bergizi Gratis Program (MBG) became one of the widely discussed public issues on platform X and generated diverse responses from users. These responses included supportive, critical, and neutral opinions, making sentiment analysis relevant for understanding public opinion toward the program. This study compar...

Andika, Julio Cesar Alessandro, Adjie Perkasa Tarigan et al. · 0 citations
Review Open access Sep 2026

Efficient Three-Class Sentiment Classification of IMDb Reviews Using LoRA-Based Fine-Tuning on Pseudo-labeled Data

Sentiment analysis has become an important task in natural language processing for understanding public opinions expressed in online reviews. However, most publicly available IMDb datasets are limited to binary sentiment labels, which restricts the ability of sentiment analysis systems to capture neutral opinions. This...

P. Hiskiawan, Wendy Tjung, Dustin Darmawan Isya Widjaja et al. · 0 citations
Review Open access Sep 2026

Machine Learning-Based Sentiment Classification of Reviews from Indonesian Mobile Applications Using TF-IDF

Comparisons of classical machine learning algorithms and the effectiveness of class-weighted learning in improving minority-class recognition in Indonesian mobile application reviews demonstrate that the highest overall accuracy does not necessarily indicate the most balanced classifier under class imbalance.

Tuti Handayani, Sri Mardiyati · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.