Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : bulletin of computer science research

Analisis Sentimen Masyarakat Terhadap Pembatasan BBM Pertalite Menggunakan Random Forest dan K-Nearest Neighbor Farhan Muhammad Fadillah; Yana Cahyana; Rahmat Rahmat; Ahmad Fauzi
Bulletin of Computer Science Research Vol. 5 No. 4 (2025): June 2025
Publisher : Forum Kerjasama Pendidikan Tinggi (FKPT)

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47065/bulletincsr.v5i4.547

Abstract

This study aims to analyze public opinion regarding the policy of limiting the use of Pertalite fuel by examining user comments on the Instagram platform. To classify these opinions, classification approaches using K-Nearest Neighbor (KNN) and Random Forest algorithms were employed. Comments were categorized into three sentiment expressions: positive, negative, and neutral. The research stages included data collection (crawling), text cleaning and normalization, sentiment labeling, weighting using the TF-IDF technique, model development, and performance evaluation. A total of 2,081 comments were used, with 1,000 comments labeled by language experts as training data, and the remaining used for testing. Model evaluation was conducted using two data splitting ratios, 80:20 and 70:30, to assess classification stability and accuracy. The results indicate that the Random Forest algorithm consistently outperforms KNN, achieving the highest accuracy of 73% under the 80:20 scenario. The classification distribution suggests a dominance of negative sentiment in public opinion toward the policy. These findings reflect public dissatisfaction and serve as critical input for the government in reviewing the subsidized fuel distribution policy. This research also highlights the potential of social media as an alternative data source for real-time public perception analysis.
Co-Authors Ade Suhara Adi Rizky Pratama Adie Putra Afif Hakim Agung Rahmat Ahmad Rahman Amelia Pratiwi Amri Abdulah Ananda Faizah Anggie Wiyani Putri Anis Fitri Nur Masruriyah Anis Fitri Nurmasruriyah Anwar Ilmar Ramadhan April Hananto April Lia Hananto Ardi Apriansyah Arphilia Nur Rani Aviv Yuniar Rahman Ayu Ratna Juwita Ayu Sri Rahayu Baihaqi, Kiki Ahmad Bambang Sukowo Bayu Kerta Sukma Gandara Candra Zonyfar Candra Zonyfar Deden Wahiddin Dedi Mulyadi Destanto Muhamad Yusuf Dodi Mulyadi Dwi Kusumaningrum Dwi Sulistya Kusumaningrum Dwi Sulistya Kusumaningrum Dwi Tian Tonara Euis Nurlaelasari Farhan Muhammad Fadillah Firmansyah Maulana Fitria Nurapriani Haerul Yuda Aditiya Hananto, Agustia Hanny Hikmayanti Handayani Hilda Yulia Novita Hilda Yulia Novita Iflan Naufal Ilham Dwi Ischan Indra, Jamaludin Indri Rahmawati Intan Murni Pratiwi Irfan Irma Putri Rahayu Khoirudin Khoirudin Khoirudin Lestari, Santi Arum Puspita Lutfi Trisandi Rizki Maharina Maharina Mohamad Rizkiyanto Mudzakir, Tohirin Al Muhammad Ansari Adista Muhammad Khoiruddin Harahap Murtalim Nana Rahdiana Natasya Eka Nanda Sonia Puri Naufal Zubdi Ahnaf Novalia, Elfina Nunung Nurjanah Prasetyo Ajie Priyatna, Bayu Rahmat Rahmat Randy Kurniadi Rendy Alfa Rizky Ricko Valderama Ridwan Maulana Rini Beatrix Laurentzia Saruni Dwiasnati Savina Savina Shofa Shofiah Hilabi Sihabudin Sihabidin Sihabudin Sihabudin Siregar, Amril Mutoi Sony Hartono Wijaya Sriyanto Sriyanto Sukarman Sukarman Sukmawati, Cici Emilia Sumanto Sutan Faisal Sutan Faisal Sutan Faisal Tjong Wan Sen Toif Muhayat Tukino Tukino Tukino Wildan Gusty Sakhril Amin Yana Cahyana Yana Cahyana Yudo Devianto Yusuf Eka Wicaksana Yusuf Khoiruddin