This Author published in this journals
All Journal TEKNOSIA
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Perbandingan Performa Algoritma Naive Bayes Dan Support Vector Machine Pada Analisis Sentimen Implementasi Program Kip-Kuliah Ni Putu, Ana Rainita; Maysanjaya, I Made Dendi; Mahendra, Gede Surya
Teknosia Vol. 19 No. 02 (2025): Vol. 19 No. 02 (2025): December 2025
Publisher : UNIB Press

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.33369/teknosia.v19i02.43479

Abstract

The selection of a suitable classification model is important in text-based sentiment analysis, especially in conditions of unbalanced data distribution. Naive Bayes and Support Vector Machine (SVM) are two algorithms that are often used in classification, but the comparison of their performance on unbalanced data still needs to be further reviewed. This study aims to compare the performance of the two algorithms in classifying public sentiment towards the Indonesia Smart Card (KIP) Lecture Program. The implementation of the KIP Lecture Program still faces challenges in the accuracy of aid distribution. This situation raises discussions and various controversies among the public, especially on the X platform. The data used were 1,644 tweets, with a distribution of negative sentiment of 1,392 tweets and positive tweets of 252. To overcome the imbalance of data class distribution, the Synthetic Minority Oversampling Technique (SMOTE) method is used. Based on the evaluation results, before SMOTE was applied, SVM obtained 92% accuracy and 91% precision, 77% recall, while Naive Bayes obtained 79% accuracy, 68% precision, and 78% recall. After the application of SMOTE, SVM performance significantly improved with accuracy, precision, and recall reaching 99%, while Naive Bayes improved to 95% on all metrics. These results show that although SVM excels in higher accuracy, Naive Bayes shows a more stable performance on the data neither after nor after the balancing process is performed.