Prosiding Simposium Nasional Multidisiplin (SinaMu)
Vol 4 (2022): Simposium Nasional Multidisiplin (SinaMu)

ANALISIS SENTIMEN KINERJA PEMERINTAHAN MENGGUNAKAN ALGORITMA NBC, KNN, DAN SVM

Hizkia Yotant Pradana (Universitas Sebelas Maret, Jl. Ir. Sutami No.36, Kentingan, Kec. Jebres, Kota Surakarta, Jawa Tengah 57126, (0271) 646994)
Isnandar Slamet (Universitas Sebelas Maret, Jl. Ir. Sutami No.36, Kentingan, Kec. Jebres, Kota Surakarta, Jawa Tengah 57126, (0271) 646994)
Etik Zukhronah (Universitas Sebelas Maret, Jl. Ir. Sutami No.36, Kentingan, Kec. Jebres, Kota Surakarta, Jawa Tengah 57126, (0271) 646994)



Article Info

Publish Date
06 Feb 2023

Abstract

Pemerintahan Republik Indonesia saat ini tidak lepas dari opini publik. Beberapa lembaga survei nasional melalukan survei terhadap masyarakat Indonesia dan mendapati bahwa ada pro-kontra terhadap kinerja pemerintahan saat ini. Pro-kontra tersebut dituangkan melalui media sosial, salah satunya melalui Twitter. Tujuan penelitian ini adalah untuk mengklasifikasi sentimen masyarakat Indonesia mengenai kinerja pemerintahan saat ini menggunakan data Twitter. Data berjumlah 5.874 tweet yang diambil pada 13 Februari 2022 - 14 Maret 2022. Opini masyarakat diberikan label sentimen positif dan negatif dengan metode analisis VADER kemudian dianalisis menggunakan algoritma NBC, KNN, dan SVM. Hasil analisis menunjukkan bahwa SVM dengan kernel linier merupakan algoritma terbaik untuk penelitian ini dengan nilai akurasi sebesar 85,47%, nilai presisi sebesar 89,34%, nilai recall sebesar 90,34%, dan nilai F1-score sebesar 89,83%.Kata Kunci: Analisis Sentimen, Twitter, NBC, KNN, SVMThe current government of the Republic of Indonesia was inseparable from public opinion. Several national survey institutions conducted surveys of Indonesian society and found that there were pros and cons to the current government's performance. The pros and cons were outlined through social media, one of which was via Twitter. The purpose of this research was to classify the sentiments of the Indonesian people regarding the current government's performance using Twitter data. The data totaled 5,874 tweets taken on February 13, 2022 - March 14, 2022. Public opinion was labeled positive and negative sentiment using the VADER analysis method and then analyzed using the NBC, KNN, and SVM algorithms. The results of the analysis showed that SVM with linear kernel was the best algorithm for this study with an accuracy value of 85.47%, a precision value of 89.34%, a recall value of 90.34%, and an F1-score value of 89.83%. Keywords: Sentiment Analysis, Twitter, NBC, KNN, SVM

Copyrights © 2022