Publiora

Menghubungkan ke Publiora...

Publiora

Comparison of Naïve Bayes and SVM in Sentiment Analysis of ChatGPT for Learning on X and YouTube

Ni Putu Eka SwariInstitut Bisnis Dan Teknologi IndonesiaNi Wayan Jeri Kusuma DewiInstitut Bisnis Dan Teknologi IndonesiaNi Ketut Utami NilawatiInstitut Bisnis Dan Teknologi IndonesiaAniek Suryanti KusumaInstitut Bisnis Dan Teknologi IndonesiaNi Luh Wiwik Sri Rahayu Ginantra Institut Bisnis Dan Teknologi Indonesia
Indonesian Journal of Data and Science (Sinta 3)Vol. 7 No. 1 (2026)31 Maret 2026hal. 66-78
DOI10.56705/ijodas.v7i1.382

Abstrak

The rapid development of artificial intelligence technology has encouraged users to actively express opinions on social media platforms such as X and YouTube, including discussions on the use of ChatGPT as a learning support tool. This study aims to analyze public sentiment toward the use of ChatGPT in learning contexts by comparing the performance of the Naïve Bayes and Support Vector Machine (SVM) classification methods. A total of 5,500 comments from platform X and 5,543 comments from YouTube were collected through a crawling process using relevant keywords during the period from January 2023 to December 2025. The data were preprocessed and labeled into three sentiment classes (positive, negative, and neutral) using a lexicon-based approach with the INSET Lexicon. Feature extraction was conducted using the Term Frequency–Inverse Document Frequency (TF-IDF) method, and the dataset was divided into training and testing sets with an 80:20 ratio. Model performance was evaluated using accuracy, precision, recall, and F1-score. The results show that the SVM classifier consistently outperformed the Naïve Bayes method on both platforms. On platform X, SVM achieved an accuracy of 76.67%, while Naïve Bayes obtained 74.60%. On YouTube, SVM achieved an accuracy of 73.10%, significantly higher than Naïve Bayes at 62.04%. These findings indicate that SVM is more effective for sentiment analysis of social media data related to the use of ChatGPT in learning environments

Kata Kunci

Naive BayesSupport Vector Machine(SVM)Social MediaSentiment AnalysisChat GPTNaive BayesSupport Vector Machine(SVM)Social MediaSentiment AnalysisChat GPT

Cari jurnal yang tepat untuk naskah Anda

MatchMind AI mencocokkan abstrak naskah Anda dengan ribuan jurnal terakreditasi dan menampilkan rekomendasi terbaik beserta alasannya.

Coba MatchMind

Lihat profil lengkap jurnal ini

Waktu review, biaya APC, statistik sitasi, indeksasi Scopus, dan banyak lagi.

Buka Indonesian Journal of Data and Science

Artikel ini juga tersedia di situs resmi jurnal.

Comparison of Naïve Bayes and SVM in Sentiment Analysis of ChatGPT for Learning on X and YouTube | Indonesian Journal of Data and Science | Publiora