Sentiment Analysis of Positive and Negative Comments on the Rise of the Dollar: A Case Study from TikTok Using the Naive Bayes Method

Authors

  • Sindi Klarisa Malau Universitas Mandiri Bina Prestasi Author
  • Laura Viona Br Kacaribu Universitas Mandiri Bina Prestasi Author
  • Nadya Loviga Br Sitepu Universitas Mandiri Bina Prestasi Author
  • Monika Putri Ronggun Br Kacaribu Universitas Mandiri Bina Prestasi Author
  • Deo Gratyas Hulu Universitas Mandiri Bina Prestasi Author
  • Ahmad Dani Hulu Universitas Mandiri Bina Prestasi Author
  • Bazlan Al Hakim Universitas Mandiri Bina Prestasi Author

DOI:

https://doi.org/10.65310/bwxvwc45

Keywords:

Sentiment Analysis, Naive Bayes, TikTok Comments, Economic Discourse, Social Media Analytics.

Abstract

This study investigates public sentiment toward the appreciation of the United States dollar against the Indonesian rupiah through comments collected from TikTok. The research applies an empirical machine learning framework that integrates social media based economic discourse analysis with the Multinomial Naive Bayes classification algorithm. Data were processed through a structured preprocessing pipeline consisting of text normalization, removal of irrelevant characters, and feature extraction using the Bag of Words approach. Sentiment categories were assigned through a lexicon guided labeling procedure and subsequently classified into positive and negative classes. Model validation was conducted using an independent testing dataset and evaluated through accuracy, precision, recall, F1 score, and confusion matrix analysis. The findings indicate that the classifier achieved a high level of predictive performance, demonstrating the computational efficiency of Naive Bayes for large scale textual data. At the same time, the evaluation reveals methodological challenges associated with class imbalance and limited sentiment coverage arising from rule based labeling. The study highlights the value of social media analytics for monitoring economic perceptions and contributes to the development of sentiment intelligence frameworks capable of supporting real time observation of macroeconomic discourse in digital environments.

Downloads

Download data is not yet available.

References

Armaeni, P. P., Wiguna, I. K. A. G., & Parwita, W. G. S. (2024). Sentiment analysis of YouTube comments on the closure of TikTok Shop using Naïve Bayes and Decision Tree method comparison. Jurnal Galaksi, 1(2), 70-80.

Dina, D. F. M., Haryanti, T., & Haq, M. A. (2025). Analisis Sentimen Terhadap Komentar Pada Media Sosial Tiktok Yang Berpotensi Menyebabkan Depresi Menggunakan Metode Naive Bayes. Computing Insight: Journal of Computer Science, 7(1), 1-9.

Durmus Senyapar, H. N. (2024). Electric vehicles in the digital discourse: a sentiment analysis of social media engagement for Turkey. Sage Open, 14(4), 21582440241295945.

Field, R. V., Garland, A., Link, H. E., Pease, W. L., Roll, E., Suprem, A., & Verzi, S. J. (2024). Social media analytics relevant to tiktok-a literature review and directions for future research.

Han, J., Kamber, M., & Pei, J. (2012). Data mining: Concepts and techniques (3rd ed.). Morgan Kaufmann.

Hu, W., & Wang, M. H. (2025). Exploring Text Classification Methods for Bulletin Board System Posts: A Comparative Analysis of BERT, BiLSTM, and Different Loss Functions. In Artificial Intelligence and Human-Computer Interaction: Proceedings of the 2nd International Conference (ArtInHCI 2024), Kunming, China, 25-27 October 2024 (pp. 42-54). 1 Oliver's Yard, 55 City Road, London, EC1Y 1SP: SAGE Publications.

Ikrima, I. K., & Mulyana, A. R. (2025). Layoff Sentiment on Indonesian Twitter: Naïve Bayes Benchmarks and Human Resource Communication Strategy. Journal of Principles Management and Business, 4(02), 353-365.

Indrayuni, N. K. P., Desmayani, N. M. M. R., Pramawati, I. D. A. A. T., Sandhiyasa, I. M. S., & Widiartha, K. K. (2025). Sentiment Analysis on Rupiah Depreciation Against USD Using XGBoost. Journal of Applied Informatics and Computing, 9(5), 2521-2532.

Iqbal, J., Sohail, M. K., & Malik, M. K. (2023). Predicting the future financial performance of Islamic banks: a sentiment analysis approach. International Journal of Islamic and Middle Eastern Finance and Management, 16(6), 1287-1305.

Leandro, J. O., & Fianty, M. I. (2025). Evaluation of sentiment analysis methods for social media applications: A comparison of support vector machines and naïve bayes. JOIV: International Journal on Informatics Visualization, 9(2), 796-807.

Lee, J. J. (2023). Cheap talk with the Bayesian truth serum. Available at SSRN 4450528.

Lee, P. S., Chakraborty, I., & Banerjee, S. (2023). Artificial intelligence applications to customer feedback research: A review.

Leung, F. F., Gu, F. F., Li, Y., Zhang, J. Z., & Palmatier, R. W. (2022). Influencer marketing effectiveness. Journal of marketing, 86(6), 93-115.

Ma, Z., Li, L., Mao, Y., Wang, Y., Patsy, O. G., Bensi, M. T., ... & Baecher, G. B. (2024). Surveying the use of social media data and natural language processing techniques to investigate natural disasters. Natural Hazards Review, 25(4), 03124003.

McKinney, W. (2010). Data structures for statistical computing in Python. In S. van der Walt & J. Millman (Eds.), Proceedings of the 9th Python in Science Conference (pp. 51–56). Python in Science Conference.

Mehmood, U. (2024). Leveraging Social Media Data For More Comprehensive Traffic Load Prediction (Doctoral dissertation, Swinburne).

Nisa, K., Wirasto, A., & Sari, Y. K. (2026). Perbandingan IndoBERT dan SVM dalam Analisis Sentimen Komentar YouTube pada Isu Pelemahan Nilai Tukar Rupiah. Journal of Informatics and Computer Science (JOINCOS), 3(2).

Nurian, A., Ma'arif, M. S., Amalia, I. N., & Rozikin, C. (2024). Analisis Sentimen Pengguna Aplikasi Shopee Pada Situs Google Play Menggunakan Naive Bayes Classifier. Jurnal Informatika Dan Teknik Elektro Terapan, 12(1).

Nurian, A., Ma'arif, M. S., Amalia, I. N., & Rozikin, C. (2024). Analisis Sentimen Pengguna Aplikasi Shopee Pada Situs Google Play Menggunakan Naive Bayes Classifier. Jurnal Informatika Dan Teknik Elektro Terapan, 12(1).

Panggabeanan, F. G. R. (2025). Application of naive bayes algorithm for sentiment analysis on economic recession threat. JITCoS: Journal of Information Technology and Computer System, 1(1), 25-32.

Pradana, L. E., & Ruldeviyani, Y. (2023). Sentiment analysis of Nanovest investment application using naive bayes algorithm. Jurnal Nasional Pendidikan Teknik Informatika: JANAPATI, 12(2), 283-293.

Rahmadani, P. S., Tampubolon, F. C., Jannah, A. N., Hutabarat, N. L. H., & Simarmata, A. M. (2022). Tiktok social media sentiment analysis using the nave bayes classifier algorithm. Sinkron: jurnal dan penelitian teknik informatika, 6(3), 995-999.

Rizki, A. M., Bustami, B., & Anshari, S. F. (2025). Comparison of support vector machine and Naï ve Bayes algorithms in sentiment analysis of Tiktokshop application user reviews. Journal of Renewable Energy, Electrical, and Computer Engineering, 5(1), 18-29.

Sperduti, G., & Moreo, A. (2025). Misspellings in Natural Language Processing: A survey. arXiv preprint arXiv:2501.16836.

Sperduti, G., & Moreo, A. (2026). Misspellings in natural language processing: A survey of recent literature. Natural Language Processing, 32(2), 113-159.

Waskom, M. L. (2021). Seaborn: Statistical data visualization. Journal of Open Source Software, 6(60), Article 3021.

Zakaria, Z., Kusrini, K., & Ariatmanto, D. (2023). Sentiment analysis to measure public trust in the government due to the increase in fuel prices using naive bayes and support vector machine. International Journal of Artificial Intelligence & Robotics (IJAIR), 5(2), 54-62.

Downloads

Published

2026-06-05

How to Cite

Sentiment Analysis of Positive and Negative Comments on the Rise of the Dollar: A Case Study from TikTok Using the Naive Bayes Method. (2026). Exacta: Journal of Pure and Fundamental Research, 1(2), 11-20. https://doi.org/10.65310/bwxvwc45