Perbandingan Algoritma Support Vector Machine dan Bi-Directional Long Short Term Memory Dalam Mengklasifikasi Berita Hoaks
Abstract
The rapid advancement of digital technology has made it easier to spread information widely and quickly. However, this ease of access has also contributed to the rise of false or misleading news, commonly known as hoaxes, which can confuse the public. This study aims to evaluate and compare the performance of two machine learning algorithms, namely Support Vector Machine (SVM) and Bi-Directional Long Short Term Memory (BiLSTM), in classifying hoax news written in Indonesian. The research adopts a supervised learning approach, where models are trained using pre-labeled data categorized as either hoax or non-hoax. The process begins with collecting data from trusted sources, followed by several preprocessing steps, including text cleaning, tokenization, stopword removal, and stemming. After preprocessing, the dataset is split into training and testing sets in an 80:20 ratio. The results show that the SVM model achieved an accuracy of 98.46%, with 98% precision and 99% recall for the non-hoax category. In comparison, the BiLSTM model performed better, reaching 99% accuracy, with both precision and recall at 99% for both categories. These findings indicate that BiLSTM is more effective at capturing linguistic context and identifying patterns in hoax-related content. Additionally, the models were implemented into a web-based system to assess their real-world detection capabilities.
Downloads
References
T. A. Roshinta, E. Kumala, and I. F. Dinata, “Sistem Deteksi Berita Hoax Berbahasa Indonesia Bidang Kesehatan,” Remik Ris. dan E-Jurnal Manaj. Inform. Komput., vol. 7, no. 2, pp. 1167–1173, 2023, doi: 10.33395/remik.v7i2.12369.
R. Dickiprabowo, I. Widaningrum, and J. Karaman, “Sistem Deteksi Berita Hoax Pemilu 2024 Indonesia Menggunakan Algoritma KNN Dan SVM Indonesian 2024 Election Hoax News Detection System Using KNN And SVM Algorithm,” JIKO, vol.9, no. 1, pp. 93–111, 2025, doi: 10.26798/jiko.v9i1.1424.
M. Frananda Adiezwara Ramadhan, I. Rizal Setiawan, and A. Asriyanik, “Klasifikasi Hoax Dan Fakta Menggunakan Algoritma Shallow Neural Network Pada Berita Politik Pemilihan Presiden Indonesia 2024,” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 4, pp. 8006–8013, 2024, doi: 10.36040/jati.v8i4.10621.
I. P. P. Panji Bintoro, Ratnasari, Edy Wihardjo and A. Asari, Pengantar Machine Learning. Malang: Pt Mafy Media Literasi Indonesia, 2024. [Online]. Available: https://repository.um.ac.id/5619/1/fullteks.pdf
E. S. Eriana and D. A. Zein, Artificial Intelligence, Purbalingga: Eureka Media Aksara, 2023rd ed
I. Sulistyowati and Jamaaluddin, Buku Ajar Mata Kuliah Kecerdasan Buatan (Artificial Intelligence), Juli, 2021. Sidoarjo: UMSIDA PRESS Jl., 2021. [Online]. Available: https://press.umsida.ac.id/index.php/umsidapress/article/view/978-623-6292-25-9
A. Zahra and M. N. Fauzan, “Sistem Identifikasi ‘Fake News’ menggunakan Metode Multinomial Naïve Bayes,” J. Sist. dan Teknol. Inf., vol. 10, no. 4, p. 489, 2022, doi: 10.26418/justin.v10i4.52441.
A. Awalina, F. A. Bachtiar, and I. Indriati, “Klasifikasi Ulasan Palsu Menggunakan Borderline Over Sampling (BOS) dan Support Vector Machine (SVM) (Studi Kasus : Ulasan Tempat Makan),” J. Teknol. Inf. dan Ilmu Komput., vol. 9, no. 2, pp. 419–426, 2022, doi: 10.25126/jtiik.2022925692.
M. N. Raza, “Sistem Deteksi Berita Hoax Menggunakan Algoritma Naïve Bayes Dan Random Forest Pada Machine Learning,” Pondasi J. Appl. Sci. Eng., vol. 1, no. 2, pp. 43–57, 2024, [Online]. Available: https://journal.alshobar.or.id/index.php/pondasi/article/view/221
M. F. Muttaqin, T. Bukhori, Y. Yanto, N. Agustina, and M. Naseer, “Sistem Prediksi Berita Palsu Tentang Virus Covid-19 Menggunakan Algoritma Support Vector Machine (Svm),” Naratif J. Nas. Riset, Apl. dan Tek. Inform., vol. 5, no. 1, pp. 26–33, 2023, doi: 10.53580/naratif.v5i1.187.
P. Ayuningtyas and H. Tantyoko, “Perbandingan Metode Word2vec Model Skipgram pada Ulasan Aplikasi Linkaja menggunakan Algoritma Bidirectional LSTM dan Support Vector Machine,” JUSTIN (Jurnal Sist. dan Teknol. Informasi), vol. 12, no. 1, pp. 189–196, 2024, doi: 10.26418/justin.v12i1.72530.
M. R. R. H. G. Rizqullah, “Indonesian Fact and Hoax Political News.” https://www.kaggle.com/datasets/linkgish/indonesian-fact-and-hoax-political-news, Access Date 10 April 2025
M. N. Nugraha and M. Arrofiq, “Purwarupa Sistem Klasifikasi Legalitas Investasi Berbasis Algoritma Bidirectional Long Short Term Memory,” J. Internet Softw. Eng., vol. 5, no. 1, pp. 9–14, 2024, doi: 10.22146/jise.v5i1.8938.
ramadhan andi, “_Tampilan Komparasi Algoritma Neural Network dan K-Nearest Neighbor Dalam Mendeteksi Malware Android[1].pdf,” Build. Informatics, Technol. Sci., vol. 5, No 1, J, pp. 191–199, 2023, doi: 10.47065/bits.v5i1.3538.
M. R. Sudrajat and M. Zakariyah, “Penerapan Natural Language Processing dan Machine Learning untuk Prediksi Stres Siswa SMA Berdasarkan Analisis Teks,” Build. Informatics, Technol. Sci., vol. 6, no. 3, 2024, doi: 10.47065/bits.v6i3.6180.
B. Wicaksono, V. Rahmayanti, and S. Nastiti, “Analisis Sentimen dalam Opini Publik di Chanel Youtube Indonesia Lawyers Club Tentang Isu Populer dengan Menggunakan Metode LSTM dan Bi-LSTM,” J. Algoritm., vol. Vol. 22 No, pp. 241–251, 2024, doi: 10.33364/algoritma/v.21-2.1696.
Y. Ardiansah, S. Monalisa, and F. Muttakin, “Analisis Sentimen Komentar Perplexity AI di X Tentang Pendidikan Menggunakan Support Vector Machine,” Build. Informatics, Technol. Sci., vol. 6, no. 3, pp. 2015–2023, 2024, doi: 10.47065/bits.v6i3.6396.
I. Cholissodin and A. A. Soebroto, Ai , Machine Learning & Deep Learning ( Teori & Implementasi ), 19 Juli 20., no. July 2019. Malan: UB FILKOM, 2021. [Online]. Available: link: http://bit.ly/3piOnnU
I. R. Fatmawati, M. Pajar, and K. Putra, “Optimasi Analisis Sentimen Twitter Tentang Isu Kesehatan Mental dengan Bi-LSTM pada Dataset Tidak Berimbang,” Build. Informatics, Technol. Sci., vol. 6, no. 4, pp. 2424–2435, 2025, doi: 10.47065/bits.v6i4.6890.
D. Setyadin, R. H. Winasis, and G. Triyono, “Deteksi Berita Palsu menggunakan Algoritma Random Forest Fake News Detection using the Random Forest Algorithm,” Sist. J. Sist. Inf., vol. 14, pp. 1142–1153, 2025, doi: DOI: https://doi.org/10.32520/stmsi.v14i3.4995.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Perbandingan Algoritma Support Vector Machine dan Bi-Directional Long Short Term Memory Dalam Mengklasifikasi Berita Hoaks
Pages: 367-378
Copyright (c) 2025 Siska Merinda, Ciksadan Ciksadan, Mohammad Fadhli

This work is licensed under a Creative Commons Attribution 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 Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment 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 acknowledgment 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 (Refer to The Effect of Open Access).





















