Penerapan Algoritma Naive Bayes dalam Sistem Analisis Sentimen Media Sosial X terhadap Film Agak Laen
Main Article Content
Abstract
Article Summary
This study examines the application of the Naïve Bayes algorithm for sentiment analysis on social media platform X (formerly Twitter) regarding the movie Agak Laen. In the digital era, understanding public opinion is highly important, and this film was chosen as a case study due to the large number of circulating reviews. Naïve Bayes was selected for its efficiency in text classification. The research process began with data collection using the TwCommentExport extension, followed by preprocessing to remove noise such as links and punctuation. The cleaned data were manually labeled into positive or negative sentiments. Subsequently, the data were transformed into numerical representations using TF-IDF feature extraction and trained with the Naïve Bayes algorithm. The dataset was divided into 70% training data and 30% testing data to evaluate the model’s performance. The experimental results demonstrated an accuracy of 75.73%. These findings indicate that Naïve Bayes is an effective method for analyzing movie sentiment, although further improvements in data processing or advanced classification techniques are still possible. This research is expected to provide insights into public responses to the film Agak Laen and serve as a reference for the film industry as well as researchers in understanding audience opinions more comprehensively.
Keywords
Article Keywords
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC-BY 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.
Aprilia, P. D., & Lestari, S. (2024). Analisa sentimen drama Korea melalui media sosial X dengan menggunakan algoritma Naïve Bayes. 5(3), 3248–3261.
Budianto, I., Anwar, S. N., Lomba, J. T., Nomor, J., & Semarang, K. (2022). Analisis sentimen pengguna Twitter mengenai program vaksinasi Covid-19 menggunakan algoritma Naïve Bayes. Jurnal Teknologi Informasi, 6(1), 37–43.
Lestari, N., Haerani, E., & Candra, R. M. (2023). Analisa sentimen ulasan aplikasi Wetv untuk peningkatan layanan menggunakan metode Naïve Bayes. Journal of Information System Research (JOSH), 4(3), 874–882. https://doi.org/10.47065/josh.v4i3.3355.
Muhammad Rizal, Martanto, M., & Hayati, U. (2024). Analisis sentimen pengguna Twitter terkait film One Piece menggunakan metode Naïve Bayes. Jurnal Sistem Informasi Kaputama (JSIK), 8(1), 38–47. https://doi.org/10.59697/jsik.v8i1.522.
Nur Akbar, M., Darmatasia, D., & Ardana, Y. (2022). Analisis sentimen terhadap jasa ekspedisi Pos Indonesia pada sosial media Twitter menggunakan Naïve Bayes classifier. Journal Software, Hardware and Information Technology, 2(2), 42–51. https://doi.org/10.24252/shift.v2i2.34.
Nurfebia, K. (2024). Sentiment analysis of skincare products using the Naïve Bayes method. 6(3), 1663–1676. https://doi.org/10.51519/journalisi.v6i3.817.
Nurtikasari, Y., Syariful Alam, & Teguh Iman Hermanto. (2022). Analisis sentimen opini masyarakat terhadap film pada platform Twitter menggunakan algoritma Naïve Bayes. INSOLOGI: Jurnal Sains Dan Teknologi, 1(4), 411–423. https://doi.org/10.55123/insologi.v1i4.770.
Octaviyani, A. E., Rangan, A. Y., Informasi, S., Samarinda, K., Film, R., & Leksikon, F. B. (2024). Analisis sentimen X untuk review film Agak Laen menggunakan metode Naïve Bayes. 28(2), 1–8. https://doi.org/10.46984/sebatik.v28i2.0000.
Raffi, M., Suharso, A., & Maulana, I. (2023). Analisis sentimen ulasan aplikasi Binar pada Google Play Store menggunakan algoritma Naïve Bayes. INTECOMS: Journal of Information Technology and Computer Science, 6(1), 450–462. https://doi.org/10.31539/intecoms.v6i1.6117.
Rina Noviana, & Isram Rasal. (2023). Penerapan algoritma Naïve Bayes dan SVM untuk analisis sentimen Boy Band BTS pada media sosial Twitter. Jurnal Teknik Dan Science, 2(2), 51–60. https://doi.org/10.56127/jts.v2i2.791.
Ruger, A. H., Suyanto, M., & Kurniawan, M. P. (2021). Sentimen analisis pelanggan Shopee di Twitter dengan algoritma Naïve Bayes. Journal of Information Technology, 1(2), 26–29. https://doi.org/10.46229/jifotech.v1i2.282.
Tinggi, S., Komputer, I., & Karya, C. (2024). Penerapan algoritma Naïve Bayes dalam berencana pada tempat praktek mandiri bidan (TPMB) Lilik Faiqoh.
Yusuf, A. N., Supriyati, E., & Listyorini, T. (2020). Analisis sentimen mengenai layanan provider Indihome berdasarkan pendapat pelanggan melalui media sosial Twitter dengan metode Naïve Bayes classifier. Journal of Information Engineering and Educational Technology, 4(2), 75–78. https://doi.org/10.26740/jieet.v4n2.p75-78.
Zaman, F. N., Fadhilah, M. A., Ulinuha, M. A., & Umam, K. (2024). Menganalisis respons netizen Twitter terhadap program makan siang gratis menerapkan NLP metode Naïve Bayes. Jurnal Sistem Informasi, Teknologi Informasi Dan Komputer, 14(3), 150–233.