Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : indonesian journal of machine learning and intelligent systems

Comparative study of NBC, SVM, and CNN performance in sentiment analysis of the millennial farmers program on platform X Adamu Abu Bakar Ibrahim; Junaedi Rahmat; Deshinta Arrova Dewi
Indonesian Journal of Machine Learning and Intelligent Systems Vol. 1 No. 1 (2026)
Publisher : Indonesian Artificial Neural Network Society

Show Abstract | Download Original | Original Source | Check in Google Scholar

Abstract

Public perception of government programs is often expressed on social media, making sentiment analysis a vital tool for understanding public opinion. This research presents a comparative study of three machine learning algorithms, Naive Bayes Classifier (NBC), Support Vector Machine (SVM) and Convolutional Neural Network (CNN), applied to sentiment analysis on the Millennial Farmers Program 2024 from Platform X. The study aims to measure the performance of each algorithm in terms of accuracy, execution time, and memory efficiency by adopted a quantitative approach with a comparative experimental design. Sentiment data were collected from platform X (Twitter) between October 2024 and January 2025, with a total of 5,177 raw tweets acquired using the keyword "petani_milenial". After data preprocessing steps, including cleaning, case folding, tokenization, stopword removal, and stemming, the data's sentiment (positive, negative, neutral) was automatically labeled using the IndoBERT model. The sentiment analysis results revealed a dominance of neutral sentiment (832 tweets), followed by negative (331 tweets) and positive (197 tweets). Model performance evaluation showed that SVM achieved the highest overall accuracy at 79%, demonstrating superior capability in classifying neutral sentiment. CNN, with an accuracy of 74.26%, stood out in recall for positive sentiment (73%), making it an effective choice for comprehensive identification of positive sentiment. Meanwhile, NBC, with 78% accuracy, proved to be the most efficient in terms of computation time and memory usage. The study concludes that the optimal model selection greatly depends on the specific use-case priority, whether overall accuracy, positive sentiment identification, or computational efficiency. The results show that CNN outperforms NBC and SVM in accuracy, while NBC is the fastest and consumes the least memory. These findings can help inform future research and implementation in large-scale sentiment analysis applications.
Co-Authors Abd Muin Abhijit Banubakode ACENG RUYANI Adamu Abu Bakar Ibrahim Afrizal Mayub Agus Sulaiman Ahmad Bahrudin Alfarid Hendro Yuwono Aliyu Sabo Anggy Pradifta Junfithranaa Asro Asro Ayusta Lukita Wardani Aziz, As’ad Shidqy Cecep Soleh Kurniawan Che Mohd Alif Nazmi Daeng Rahmatullah Dani Durahman Darul Wiyono Deni Supardi Hambali Dhendra Marutho Eko Risdianto Ema Ambiapuri Eva Yulia Puspaningrum Fahmizal Fahmizal Fithrotul Irda Amaliah Giraldo Stevanus Hadi Almohab Hajjar Ayu Cahyani Kuswardhani Harprith Kaur Rajinder Singh Harsha J. Sarode Henderi . I Gede Susrama Mas Diyasa I Gede Susrama Mas Diyasa Jeyarani Periasamy Joselin Santos JosephNg Poh Soon Junaedi Rahmat Lazfihma Lazfihma Liton Chandra Paul M. Esad Kuloğlu M. Lutfi Firdaus M. Said Hasibuan M. Tohir Mahesh Shankarrao Patil Malathy Batumalay Malathy Batumalay Margareta Valencia Suci Handayani Mashal AlQudah Md. Abdul Kader Jilani Md. Ashraful Haque Md. Sharif Ahammed Misinem Misinem Mohammad Idhom Mohd Zaki Zakaria Muhammad Islam Muhammad Nasir Muhammad ‘Izzuddin Al-Qassam Muljono, - Nafi Isbadrianingtyas Narinderjit Singh Sawaran Singh Noel Lomerio Nur Aini Parwitasari Nurul Shaira Binti Bujang Nutan Patil Onny Setyawati Pangestu Sandya Etniko Siagian Panji Adam Agus Putra Prakash Tukaram Patil Pramudita, Yoga Dwitya Prismahardi Aji Riyantoko Raden Arief Nugroho Rajani Balakrishnan Rajermani Thinakaran Rajermani Thinakaran Redwan A. Ananta Ressti Nurfitriani Reza Rahmadian Ruri Suko Basuki Sayyidah Humairah Shabana Habib Suhardini, Eni Dasuki Sultan Hammad Alshammari Tri Basuki Kurniawan Tri Basuki Kurniawan Tri Basuki Kurniawan Tri Basuki Kurniawan Ugochi Okengwu Vijayakumar Varadarajan Vugar Hacimahmud Abdullayev Wahyudi Agustiono Wahyudi Setiawan Wan Suryani Wan Awang Widi Aribowo Yo Ceng Giap Zakka Ugih Rizqi