EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

A Comparative Analysis of Naïve Bayes and Random Forest Algorithms for Sentiment Classification of Akulaku User Reviews

Nur Ferdiansyah, Ariel Mutia Salsabila, Putri Wiji Lestari

Fusion : Journal of Research in Engineering, Technology and Applied Sciences · 11.07.2026 · 3 (1) · 08-16

DOI: 10.66341/fusion.v3i1.342 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Fusion : Journal of Research in Engineering, Technology and Applied Sciences, online erschienen am 11.07.2026. Verfasst von Nur Ferdiansyah und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

User reviews of the Akulaku application on Google Play Store contain important information regarding user satisfaction and complaints. This study compares the performance of Naïve Bayes and Random Forest algorithms in classifying sentiment into three classes: positive, negative, and neutral. A total of 2,000 Indonesian-language reviews were collected using web scraping techniques. Data were processed through case folding, cleaning, normalization, stopword removal, tokenizing, and stemming. Labeling was based on user ratings. After preprocessing, 1,953 data points remained with an imbalanced distribution; SMOTE was applied to balance each class to 1,114 samples. TF-IDF was used for feature weighting with an 80:20 train-test split. Results showed Random Forest achieved 83% accuracy, while Naïve Bayes reached 80%. However, Naïve Bayes outperformed in precision, recall, and F1-score with macro averages of 0.59, 0.70, and 0.60, compared to Random Forest at 0.52, 0.55, and 0.54. Based on these results, the choice of the best algorithm depends on the specific needs. If the priority is overall accuracy, Random Forest is more recommended however, if the priority is balanced performance across sentiment classes, Naïve Bayes performs better.

Zitieren

APA

Ferdiansyah, N., Salsabila, A. M., & Lestari, P. W. (2026). A Comparative Analysis of Naïve Bayes and Random Forest Algorithms for Sentiment Classification of Akulaku User Reviews. Fusion : Journal of Research in Engineering, Technology and Applied Sciences, 3(1), 08-16. https://doi.org/10.66341/fusion.v3i1.342

Vancouver

Ferdiansyah N, Salsabila AM, Lestari PW. A Comparative Analysis of Naïve Bayes and Random Forest Algorithms for Sentiment Classification of Akulaku User Reviews. Fusion : Journal of Research in Engineering, Technology and Applied Sciences. 2026;3(1):08-16. doi:10.66341/fusion.v3i1.342

BibTeX
@article{Ferdiansyah2026,
  author = {Ferdiansyah, Nur and Salsabila, Ariel Mutia and Lestari, Putri Wiji},
  title = {A Comparative Analysis of Naïve Bayes and Random Forest Algorithms for Sentiment Classification of Akulaku User Reviews},
  journal = {Fusion : Journal of Research in Engineering, Technology and Applied Sciences},
  year = {2026},
  volume = {3},
  number = {1},
  pages = {08--16},
  doi = {10.66341/fusion.v3i1.342}
}
Kostenlos starten →