p-Index From 2021 - 2026
7.282
P-Index
Claim Missing Document
Check
Articles

Sentiment Analysis of Public Opinion on The Plastic Waste Issue on Social Media X Using TF-IDF, Naïve Bayes, and SVM Ary Kania Sya'diah; Muhammad Arifin; Pratomo Setiaji
Journal of Information System and Informatics Vol 8 No 4 (2026): August
Publisher : Asosiasi Doktor Sistem Informasi Indonesia

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.63158/journalisi.v8i4.1782

Abstract

Plastic waste has become a critical environmental challenge due to increasing consumption patterns and inadequate waste management practices. Understanding public perceptions of plastic waste issues is essential for supporting environmental awareness and policy development. Social Media X provides a large-scale and real-time source of public opinions that can be analyzed through sentiment analysis techniques. This study aims to identify public sentiment trends regarding plastic waste issues on Social Media X and compare the performance of Naïve Bayes and Support Vector Machine (SVM) algorithms using TF-IDF feature extraction. The research applies the CRISP-DM framework, including data understanding, data preparation, preprocessing, modeling, evaluation, and visualization stages. A total of 7,277 Indonesian-language posts were collected through web scraping, with 7,275 posts retained after data preparation. The preprocessing process consisted of cleansing, case folding, tokenization, stopword removal, normalization, and lexicon-based sentiment labeling. The dataset was classified into three sentiment categories: positive, negative, and neutral. Model performance was evaluated using Accuracy, Precision, Recall, F1-score, Macro F1-score, Balanced Accuracy, and Stratified 5-Fold Cross-Validation. The results show that SVM achieved better performance than Naïve Bayes, with an accuracy of 83.64%, Macro F1-score of 79.00%, and Balanced Accuracy of 75.94%. These findings indicate that SVM is more effective for sentiment classification of Indonesian plastic waste discussions using TF-IDF-based text representation.
Co-Authors - Supriyono Adi Nugroho Adisaputra, Rizky Aditiya, Natasya Aditya, Ahsanu 'Amala Aila Virda Amaliyah, Fitriyah Amelia, Dwi Andy Prasetyo Utomo Angga Wahyu Wibowo Anis Fakhriyyah Anteng Widodo Aprilia Damayanti Arif Setiawan Artiarno, Andrean Maulana Ary Kania Sya'diah Aufa Hanif Rizqullah Aynullutfihana, Nanda Azzahro, Erina Bagus Aris Setiawan Bayu Samudro Fadhilah Dewi Masitoh Diana Laily Fithri Eko Darmanto Faby Melia Shanni Fajar Nugraha Fakhriyyah, Anis faridah ayu shefia Fatimah Az Zahra Ferianti, Lydya Ayu Feriyan Agusta Ilham Dwi Pranoto Indri Putri Irfan Santiko Kurniasari, Nita Laily Fithri, Diana Lisa Rachmawati Maula, Ahmad Inzul Mila Rosyada Mochammad Imron Awalludin Moh Sendi Febriyanto Muhammad Arifin Muhammad Ulinnuha Ainun Noor Rachman Nada Kusumawardani Najwa Hanindya Putri Nanda Aulia Salsa Bila Nia Zuliyana, Nia Noor Latifah Nugroho, Mochamad Bagus Iqbal Adi Nurhaliza, Maulin Pambudi, Satrio Prayogo, Adhie Putri Kurnia Handayani Putri, Rizka Ferbriliana R Rhoedy Setiawan Rahmawati, Yulinda Ramadlan As'ari, Wahyu Rani Setiawaty Revanda Putri Rahmadani Ridho Agiel Syahputra Siallagan Rohmah, Putri Anjilis Romadhon, Zainur Rosalva Denisia Yulia Yahya Semit, Danial Setiawan, Faris Apri Setyanto, Rangga Setyawan, Moh Dodi Soni Adiyono Suciningtyas - Suciningtyas - Suciningtyas Suciningtyas Suciningtyas Suciningtyas, Suciningtyas Suku Rahayu, Sri Intan Supriyono Supriyono Supriyono Supriyono Syafiul Muzid Tamaulina Br Sembiring Tengku Riza Zarzani N Wahyu Wibowo, Angga Widodo, Wahyu Kurniawan Ade Nur Wiwit Agus Triyanto Yoanas, Sahenda Yudie Irawan Yutia Nia Nesicha Zahra, Fatimah Az Zuyyina Syarifa Yahya