Penerapan Metode Naïve Bayes Classifier untuk Klasifikasi Sentimen pada Judul Berita

Authors

DOI:

https://doi.org/10.28918/logiclink.v1i1.7684

Abstract

News has a major role as a source of information to convey reports on opinions, events, and the latest findings in various aspects of life. News headlines, as an important component, can be a determinant of news content. The sentiment contained in news headlines can be classified using sentiment analysts, as is the case in the online media platform Kompas.TV. News headlines are retrieved using an automated program that utilises the HTML body with the help of NodeJs as the technology for program creation. This research is focused on the application of Naïve Bayes Classifier method to classify sentiment on Kompas.TV news headlines in Semarang City. The results showed an accuracy rate of 91.04%, with a ratio of training data and test data of 90:10. The conclusion of this study is that the Naïve Bayes Classifier method is effective in identifying news headlines with negative sentiment on Kompas.TV, with a precision of 89% and recall of 94%. This finding makes a positive contribution to the understanding of sentiment analysis on news headlines in online media, especially in the context of Kompas.TV news in Semarang City.

Keywords:

Kompas.TV, Sentiment Analysis, Naïve Bayes Classifier

References

Aditomo Mahardika Putra, R. (2021). Underground Support System Determination: A Literature Review. International Journal of Research Publications, 83(1). https://doi.org/10.47119/IJRP100831820212185

Asfi, M., & Fitrianingsih, N. (2020). Implementasi Algoritma Naive Bayes Classifier sebagai Sistem Rekomendasi Pembimbing Skripsi. InfoTekJar Jurnal Nasional Informatika Dan Teknologi Jaringan, 5(1), 44.

Bahtiar, S. A. H., Dewa, C. K., & Luthfi, A. (2023). Comparison of Naïve Bayes and Logistic Regression in Sentiment Analysis on Marketplace Reviews Using Rating-Based Labeling. Journal of Information Systems and Informatics, 5(3), 915–927. https://doi.org/10.51519/journalisi.v5i3.539

Delfariyadi, F., Helen, A., & Yuliawati, S. (2022). Klasifikasi Sentimen Judul Berita Pemberitaan COVID-19 Tahun 2021 pada Media DetikHealth. Journal of Information Engineering and Educational Technology, 6(2), 50–57. https://doi.org/10.26740/jieet.v6n2.p50-57

Dewi, N. L. P. R., Wijaya, I. N. S. W., Purnamawan, I. K., & Marti, N. W. (2024). Model Classifer Judul Berita Pariwisata Indonesia Berdasarkan Sentimen. Jurnal Teknologi Informasi dan Ilmu Komputer, 11(1), 117–124. https://doi.org/10.25126/jtiik.20241117617

Fay, C. (2018). Text Mining with R: A Tidy Approach. Journal of Statistical Software, 83(Book Review 1). https://doi.org/10.18637/jss.v083.b01

Identification of Fake News Using Machine Learning Approach. (n.d.). IEEE Explore.

Maulana, B. A., Fahmi, M. J., Imran, A. M., & Hidayati, N. (2024). Analisis Sentimen Terhadap Aplikasi Pluang Menggunakan Algoritma Naive Bayes dan Support Vector Machine (SVM): Sentiment Analysis of Pluang Applications With Naive Bayes and Support Vector Machine (SVM) Algorithm. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 4(2), 375–384. https://doi.org/10.57152/malcom.v4i2.1206

Miftakhurahmat, Moh. A., Safitri, N., Kusnadi, P. A., & Rozikin, C. (2023). KLASIFIKASI PENGGUNA HASHTAG PADA APLIKASI TIKTOK MENGGUNAKAN PERBANDINGAN METODE K-NEAREST NEIGHBORS DAN NAÏVE BAYES CLASSIFIER. Jurnal Informatika dan Teknik Elektro Terapan, 11(3). https://doi.org/10.23960/jitet.v11i3.3150

Mulyani, S., & Novita, R. (2022). IMPLEMENTATION OF THE NAIVE BAYES CLASSIFIER ALGORITHM FOR CLASSIFICATION OF COMMUNITY SENTIMENT ABOUT DEPRESSION ON YOUTUBE. Jurnal Teknik Informatika (Jutif), 3(5), 1355–1361. https://doi.org/10.20884/1.jutif.2022.3.5.374

Rofqoh, U., Perdana, R. S., & Fauzi, M. A. (2017). Analisis Sentimen Tingkat Kepuasan Pengguna Penyedia Layanan Telekomunikasi Seluler Indonesia Pada Twitter Dengan Metode Support Vector Machine dan Lexicon Based Features.

Roufia, A. (2018). Text Mining Dengan Metode Naïve Bayes Classifier Untuk Mengklasifikan Berita Berdasarkan Konten. 8.

Ruus, E. G., Latumakulita, L. A., & Prang, J. D. (2022). Analisis Sentimen di Media Online menggunakan Metode Naive Bayes. 11(1).

Sholih, M., & Muzakir, M. (2021). TEXT MINING UNTUK MENGKLASIFIKASI JUDUL BERITA ONLINE STUDI KASUS RADAR BANJARMASIN MENGGUNAKAN METODE NAÏVE BAYES. 08(2).

Singh, G., Yadav, B. K., Singh, B. P., & Sharama, S. (2022). Identification of Fake News Using Machine Learning Approach. 2022 4th International Conference on Advances in Computing, Communication Control and Networking (ICAC3N), 271–274. https://doi.org/10.1109/ICAC3N56670.2022.10074374

Tan, K. L., Lee, C. P., & Lim, K. M. (2023). A Survey of Sentiment Analysis: Approaches, Datasets, and Future Research. Applied Sciences, 13(7), 4550. https://doi.org/10.3390/app13074550

Published

2024-06-23

Article Statistics

758 Views
906 Downloads

Issue

Section

Articles

How to Cite

Penerapan Metode Naïve Bayes Classifier untuk Klasifikasi Sentimen pada Judul Berita. (2024). LogicLink, 1(1), 1-12. https://doi.org/10.28918/logiclink.v1i1.7684