PERBANDINGAN METODE KLASIFIKASI SUPPORT VECTOR MACHINE DAN NAÏVE BAYES PADA ANALISIS SENTIMEN KENDARAAN LISTRIK

Main Article Content

Ni Wayan Ernawati I Nyoman Satya Kumara Widyadi Setiawan

Abstract

Electric vehicles are one of the solutions that can be used to deal with the problem of greenhouse gas emissions. Switching to electric vehicles can be an effective solution because electric vehicles have many advantages. However, the acceptance of electric vehicles in Indonesia depends on the opinions or sentiments given by the community. Sentiment analysis can provide a specific picture of how the sentiment or opinion given by the Indonesian people towards electric vehicles. The sentiment analysis process is carried out using the Python programming language. This research compares SVM and Naïve Bayes methods in sentiment analysis in terms of accuracy and time efficiency. A total of 717 data were used as test data and SVM correctly classified 150 negative data, 152 neutral data, and 277 positive data. Meanwhile, Naïve Bayes correctly classified 166 negative data, 143 neutral data, and 282 positive data. training time required for the SVM method is 37.42 seconds while Naïve Bayes is 0.10 seconds. Naïve Bayes is the best method in this study because of its high accuracy and fast training time.

Downloads

Download data is not yet available.

Article Details

How to Cite
ERNAWATI, Ni Wayan; SATYA KUMARA, I Nyoman; SETIAWAN, Widyadi. PERBANDINGAN METODE KLASIFIKASI SUPPORT VECTOR MACHINE DAN NAÏVE BAYES PADA ANALISIS SENTIMEN KENDARAAN LISTRIK. Jurnal SPEKTRUM, [S.l.], v. 10, n. 3, p. 106-114, sep. 2023. ISSN 2684-9186. Available at: <https://ojs.unud.ac.id/index.php/spektrum/article/view/108186>. Date accessed: 17 may 2024. doi: https://doi.org/10.24843/SPEKTRUM.2023.v10.i03.p12.
Section
Articles

Most read articles by the same author(s)

1 2 3 4 5 6 > >>