semanTIK
Vol. 11 No. 1 (2025): Vol. 11 No. 1 (2025): SemanTIK Teknik Informasi

Perbandingan SVM dan Random Forest pada Analisis Sentimen Kebijakan Tabungan Perumahan Rakyat Berdasarkan Data Media Sosial X

yayat afandy (Universitas Teknokrat Indonesia)
Parjito (Universitas Teknokrat Indonesia)



Article Info

Publish Date
19 Jun 2025

Abstract

Tabungan Perumahan Rakyat atau biasa disingkat Tapera, menjadi salah satu isu kebijakan yang hingga kini banyak diperbincangkan. Tapera merupakan bentuk kebijakan pemerintah yang mewajibkan potongan gaji/upah karyawan dari seluruh lapisan pekerjaan sebesar 3%. Potongan tersebut dilakukan secara berkala dalam kurun waktu tertentu untuk nantinya dijadikan tabungan perumahan rakyat. Berdasarkan data media sosial X, didapatkan sebanyak 6.218 data opini masyarakat terkait program Tapera. Penelitian ini bertujuan untuk melakukan analisis sentimen opini masyarakat terkait program Tapera pada media sosial X dengan perbandingan algoritma Random Forest dan Support Vector Machine. Hasil analisis sentimen yang dilakukan, terdapat sebanyak sebanyak 1.502 data sebagai sentimen positif, 4.085 data tweet sebagai sentimen negatif, dan 631 data tweet sebagai sentimen netral. Hasil pemodelan menunjukan akurasi SVM lebih tinggi dibandingkan Random Fores. SVM menghasilkan nilai akurasi 94,12%, Recall 94.12 %, Precision 94.34 %, F1-Score 94.16 % sementara Random Forest memiliki nilai akurasi 91.76 %, Recall 91.76 %, Precision 92.11 %, F1-Score 91.83 %. This Public Housing Savings or commonly abbreviated as Tapera, is one of the policy issues that has been widely discussed until now. Tapera is a form of government policy that requires deductions from the salaries / wages of employees from all levels of work of 3%. These deductions are made periodically over a period of time to later be used as public housing savings. Based on X social media data, 6,218 public opinion data related to the Tapera program were obtained. This study aims to conduct sentiment analysis of public opinion related to the Tapera program on social media X with a comparison of the Random Forest and Support Vector Machine algorithms. The results of sentiment analysis conducted, there are as many as 1,502 data as positive sentiment, 4,085 tweet data as negative sentiment, and 631 tweet data as neutral sentiment. Modeling results show SVM accuracy is higher than Random Fores. SVM produces an accuracy value of 94.12%, Recall 94.12%, Precision 94.34%, F1-Score 94.16% while Random Forest has an accuracy value of 91.76%, Recall 91.76%, Precision 92.11%, F1-Score 91.83%

Copyrights © 2025






Journal Info

Abbrev

journal

Publisher

Subject

Computer Science & IT Control & Systems Engineering

Description

Jurnal semanTIK is a is one of the media publication of research results in the field of information technology. semanTIK is published Biannually, January-June and July-December and provide scientific publication medium for researchers, engineers, practitioners, academicians, and observers in the ...