COMPARATIVE ANALYSIS OF SUPPORT VECTOR MACHINE AND RANDOM FOREST METHODS BASED ON RANDOMIZED SEARCH OPTIMIZATION IN HOAX NEWS CLASSIFICATION

Authors

  • Vincent Lawrence Universitas Pelita Harapan Kampus Medan
  • Frans Mikael Sinaga Universitas Pelita Harapan

DOI:

https://doi.org/10.33387/jiko.v9i2.11650

Abstract

In today’s digital era, the spread of hoax news has increasingly escalated alongside the ease of access to information through social media and online news portals. This phenomenon has caused negative impacts such as public confusion, social conflict, and a decline in public trust toward information accuracy. Therefore, an effective classification method is needed to accurately detect hoax news. This study aims to analyze and compare the performance of the Support Vector Machine (SVM) and Random Forest (RF) algorithms in classifying hoax news, by applying the Randomized Search optimization technique to enhance model performance. The dataset used in this research was obtained from Kaggle, titled Indonesia Fact and Hoax Political News, consisting of news titles and narratives as input attributes, and hoax or factual labels as outputs. The results show that the SVM algorithm without optimization achieved an accuracy of 83.92%, which increased to 84.28% after optimization using Randomized Search. Meanwhile, the Random Forest algorithm without optimization achieved an accuracy of 85.93%, which increased to 86.05% after optimization. Based on these findings, it can be concluded that the application of Randomized Search successfully improved the accuracy, sensitivity, and stability of the classification models, with the Random Forest algorithm providing the best performance in detecting hoax news in this study.

Downloads

Download data is not yet available.

References

S. Rahmatullah and R. E. Dwi Yuliati, “Media Sosial Sebagai Sumber Berita Altenatif,” J. Stud. Jurnalistik, vol. 4, no. 2, pp. 47–54, 2022, doi: 10.15408/jsj.v4i2.28966.

Ubaidillah, Taufik, and Suharto, “Analisis Dampak Media Sosial Dalam Menyebarkan Informasi Berita Kampus oleh Humas UIN Datokarama Palu,” J. UIN Datokarama Palu, vol. 3, no. 1, pp. 48–62, 2024.

A. R. Hanum et al., “Analisis Kinerja Algoritma Klasifikasi Teks BERT Dalam Mendeteksi Berita Hoaks,” J. Teknol. Inf. dan Ilmu Komput., vol. 11, no. 3, pp. 537–546, 2024, doi: 10.25126/jtiik938093.

Y. D. Butar, “Analisis Penyebaran Hoax Di Media Sosial Dan Dampaknya Terhadap Masyarakat Masyarakat,” JPBB J. Pendidikan, Bhs. dan Budaya, vol. 3, no. 2, pp. 252–258, 2024.

R. Astuti and A. T. Sipahutar, “Perbandingan Klasifikasi Berita Hoax Politik Pada Media Sosial X Menggunakan Algoritma Naive Bayes dan Random Forest,” J. Ilmu Komputer, Sist. Inf. dan Teknol. Inf., vol. 2, no. 1, pp. 61–67, 2025.

D. Setyadin, R. H. Winasis, and G. Triyono, “Deteksi Berita Palsu menggunakan Algoritma Random Forest,” Sist. J. Sist. Inf., vol. 14, no. 3, pp. 1142–1153, 2025.

S. Angelina, S. D. Siregar, A. Ridwan, and L. Francolim, “Comparative Analysis of Ensemble Classification Models and Support Vector Machines in Measuring Stress Levels Based on EEG Signals,” JIKO (Jurnal Inform. dan Komputer), vol. 9, no. 1, 2026.

Andi, R. O. Ong, Thamrin, and Roseline, “Ensemble Algoritma Random Forest Classifier dan AdaBoost Dalam Perancangan Aplikasi Penerjemah Bahasa Isyarat,” J. TIMES, vol. 14, no. 1, pp. 51–59, 2025.

A. D. Rachmatsyah, T. Sugihartono, and K. Irfan, “Perbandingan Teknik Optimasi Grid Search dan Randomized Search Dalam Meningkatkan Akurasi Metode Klasifikasi SVM Pada Sentimen Ulasan Pengguna Aplikasi JKN Mobile,” SKANIKA Sist. Komput. dan Tek. Inform., vol. 8, no. 1, pp. 13–22, 2024, doi: 10.36080/skanika.v8i1.3328.

M. Fajri and A. Primajaya, “Komparasi Teknik Hyperparameter Optimization pada SVM untuk Permasalahan Klasifikasi dengan Menggunakan Grid Search dan Random Search,” J. Appl. Informatics Comput., vol. 7, no. 1, pp. 14–19, 2023, doi: 10.30871/jaic.v7i1.5004.

Andi, Thamrin, A. Susanto, E. Wijaya, and D. Djohan, “Analysis of the random forest and grid search algorithms in early detection of diabetes mellitus disease,” J. Mantik, vol. 7, no. 2, pp. 1117–1124, 2023, doi: 10.35335/mantik.v7i2.3981.

I. S. Wibowo, A. Witanti, and I. Susilawati, “Keyword Extraction Judul Berita Online Di Indonesia Menggunakan Metode TF-IDF,” J. Tek. Inform. dan Sist. Inf., vol. 11, no. 1, pp. 99–111, 2024, [Online]. Available: http://jurnal.mdp.ac.id.

M. D. Afandi, A. Homaidi, A. Ghofur, and A. Zubairi, “Penerapan Information Retrieval dalam Sistem Analisis Kemiripan Proposal Skripsi menggunakan Cosine Similarity,” Swabumi, vol. 12, no. 1, pp. 39–46, 2024.

I. N. P. Trisna, I. M. W. J. Putra, and W. O. Vihikan, “Classifying Indonesian Hoax News Titles with SVM, XGBoost, and BiLSTM,” IJCCS (Indonesian J. Comput. Cybern. Syst., vol. 19, no. 4, pp. 1–10, 2025, doi: 10.22146/ijccs.xxxx.

T. Tambunan, M. Yohanna, and A. P. Silalahi, “Penerapan Metode Random Forest Dalam Mendeteksi Berita Hoax,” METHOMIKA J. Manaj. Inform. dan Komputerisasi Akunt., vol. 7, no. 2, pp. 301–306, 2023.

F. Rahmadayana and Y. Sibaroni, “Sentiment Analysis of Work from Home Activity using SVM with Randomized Search Optimization,” J. RESTI (Rekayasa Sist. dan Teknol. Informasi), vol. 5, no. 5, pp. 936–942, 2021.

A. F. Firmansyah, B. Rahmat, and M. M. A. Haromainy, “Optimization of the Random Forest Algorithm Using Random Search for Potable Water Quality Classification,” J. Artif. Intell. Eng. Appl., vol. 5, no. 1, pp. 19–23, 2025.

A. Andi, C. Juliandy, and D. David, “Clustering Analysis of Tweets About COVID-19 Using the K-Means Algorithm,” Sinkron, vol. 8, no. 1, pp. 543–533, 2023, doi: 10.33395/sinkron.v8i1.12145.

Mubarak, L. Tanti, and R. Rosnelly, “Perbandingan Algoritma Decision Tree dan Naive Bayes Pada Analisis Sentimen Masyarakat Terhadap Pejabat Pertamina Pasca Kasus Pertamax Oplosan,” J. Minfo Polgan, vol. 15, no. 1, pp. 179–188, 2026.

M. Sholeh, U. Lestari, and D. Andayati, “Hyperparameter Optimization Using Grid Search and Random Search to Improve the Performance of Prediction Models with Decision Trees,” J. Ris. Multidisiplin dan Inov. Teknol., vol. 3, no. 03, pp. 453–464, 2025.

Downloads

Published

2026-07-22

Issue

Section

Artikel