ANALISIS SENTIMEN BERITA ONLINE LPK IBI-K57 MENGGUNAKAN PERBANDINGAN ALGORITMA SUPPORT VECTOR MACHINE DAN NAÏVE BAYES CLASSIFIER
Main Article Content
Abstract
Perkembangan teknologi informasi menyebabkan penyebaran berita digital berlangsung sangat cepat sehingga diperlukan metode otomatis untuk mengetahui kecenderungan opini yang terkandung di dalamnya. Penelitian ini bertujuan mengembangkan sistem analisis sentimen berita online LPK IBI-K57 menggunakan algoritma Support Vector Machine (SVM) dan Naïve Bayes Classifier (NBC) serta membandingkan performa kedua algoritma dalam mengklasifikasikan sentimen positif, netral, dan negatif. Dataset simulasi terdiri atas 1.200 berita, yang dibagi menjadi 960 data latih (80%) dan 240 data uji (20%). Tahapan penelitian meliputi web scraping, preprocessing (case folding, tokenizing, stopword removal, dan stemming), ekstraksi fitur menggunakan TF-IDF, pelatihan model, serta evaluasi menggunakan confusion matrix, accuracy, precision, recall, dan F1-score. Hasil pengujian menunjukkan bahwa algoritma Support Vector Machine memperoleh akurasi sebesar 95,42%, precision 95,31%, recall 95,58%, dan F1-score 95,44%, sedangkan algoritma Naïve Bayes Classifier memperoleh akurasi sebesar 91,25%, precision 91,08%, recall 91,37%, dan F1-score 91,21%. Berdasarkan hasil tersebut, algoritma SVM menunjukkan performa terbaik dalam mengklasifikasikan sentimen berita online LPK IBI-K57 sehingga dipilih sebagai model implementasi pada sistem analisis sentimen. Sistem yang dikembangkan mampu membantu lembaga memantau persepsi publik secara lebih cepat, objektif, dan akurat sebagai dasar evaluasi strategi komunikasi digital.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
1. Open Access Policy
Articles published in the journal are open-access articles distributed under the terms and conditions of the Creative Commons license. This aligns with international standards for scholarly publishing, ensuring that all research content is freely available online to the global research community without subscription or paywall barriers immediately upon publication.
2. Creative Commons License
Unless otherwise specified, all accepted and published works are licensed under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International License.
Under this license, users are free to:
Share: Copy and redistribute the material in any medium or format.
Adapt: Remix, transform, and build upon the material for any purpose, even commercially.
Subject to the following terms:
Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike: If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
3. Author Rights & Archiving
Copyright Retention: Authors retain full ownership of the copyright for their published articles without restrictions, granting the journal a non-exclusive license to publish the work as the original publisher of record.
Self-Archiving: Authors are fully permitted to deposit all versions of their manuscript (preprint, accepted manuscript, and final published PDF) into institutional repositories, subject-specific repositories, or on their personal academic websites, provided that proper citation to the journal is maintained.
References
[1] F. D. Samuel, P. D. Atika, and S. Setiawati, “Analisis Sentimen Masyarakat Terhadap Perkuliahan Daring di Twitter Menggunakan Algoritma Naive Bayes dan Support Vector Machine,” vol. 4, no. 2, pp. 261–272, 2023.
[2] M. R. Hanafi and R. K. R, “Sentiment Analysis on Sirekap App Reviews on Google Play Using Naive Bayes Algorithm Analisis Sentimen pada Ulasan Aplikasi Sirekap di Google Play Menggunakan Algoritma Naive Bayes,” vol. 4, no. October, pp. 1578–1586, 2024.
[3] B. A. Prabowo, A. Hindasyah, and A. K. Rivai, “SENTIMENT ANALYSIS OF PLN MOBILE APPLICATION SERVICES USING NAIVE BAYES , SUPPORT VECTOR MACHINE ( SVM ) AND DECISION TREE,” J. Ris. Inform., vol. 7, no. 3, 2025, doi: https://doi.org/10.34288/jri.v7i3.378.
[4] M. R. P. Srg, “ANALISIS SENTIMEN PADA MEDIA SOSIAL TWITTER TERHADAP PENEGAKAN HUKUM DI INDONESIA TAHUN 2024 MENGGUNAKAN METODE SUPPORT VECTOR MACHINE ( SVM ),” Glob. Res. Innov. J., vol. 1, pp. 43–51, 2025.
[5] M. E. Siregar, S. Dermawan, and A. A. Hisyam, “Perbandingan Kinerja Naive Bayes dan KNN dalam Analisis Sentimen Komentar X dengan dan tanpa Text Preprocessing ( Studi Kasus : Danantara ),” JITET (Jurnal Inform. dan Tek. Elektro Ter., vol. 13, no. 3, 2024, doi: http://dx.doi.org/10.23960/jitet.v13i3.6612.
[6] A. Firizkiansah, A. Muhammad, I. R. Maulana, U. S. Indonesia, and K. Bekasi, “Optimasi Klasifikasi Data Teks Menggunakan Algoritma Logistic Regression dengan TF-IDF dan SMOTE,” JIKOMTIJurnal Ilm. Ilmu Komput. dan Teknol. Inf., vol. 1, no. 2, pp. 29–36, 2025.
[7] M. D. Rizkiyanto, M. D. Purbolaksono, and W. Astuti, “Sentiment Analysis Classification on PLN Mobile Application Reviews using Random Forest Method and TF-IDF Feature Extraction,” INTEK J. Penelit., vol. 11, no. 1, pp. 37–43, 2024, doi: https://doi.org/10.31963/intek.v11i1.4774.
[8] Q. Uyun and A. Qoiriah, “Analisis Sentimen Opini Publik Terhadap Program Merdeka Belajar Kampus Merdeka Dengan Algoritma Naive Bayes – Support Vector Machine ( NBSVM ),” JINACS (Journal Informatics Comput. Sci., vol. 06, pp. 589–605, 2024.