Elkom: Jurnal Elektronika dan Komputer
Vol 16 No 2 (2023): Desember : Jurnal Elektronika dan Komputer

Analisis Sentimen Masyarakat Terhadap Resesi Ekonomi Global 2023 Menggunakan Algoritma Naïve Bayes Classifier

Sriani (Universitas Islam Negeri Sumatera Utara)
Aidil Halim Lubis (Universitas Islam Negeri Sumatera Utara)
Yunus Fadillah Harahap (Universitas Islam Negeri Sumatera Utara)



Article Info

Publish Date
30 Dec 2023

Abstract

The global economic recession is a global economic downturn that affects the domestic economies of countries in the world. The stronger the economic dependence of one country on the global economy, the faster a recession will occur in that country. In 2020 the country of Indonesia and even the world are exposed to the COVID-19 virus which has an impact on the country's economic growth, even the world economy. This is the trigger for an economic recession. This has led to many different public perspectives on the occurrence of a global economic recession whose opinions or reactions are expressed on social media Youtube. The data was obtained by crawling techniques from social media Youtube with a total of 500 comments used. The data is then labeled (class) with a lexicon-based method with an Indonesian language dictionary. From the labeling results, it was obtained 185 positive labeled data (37%) and 315 negative opinions (63%). The data preprocessing stage is carried out in preparation for the data to be processed for sentiment analysis. Of the many opinions obtained, an analysis of public sentiment regarding the 2023 global economic recession will be carried out using the Naïve Bayes classification algorithm. This study also applied the TF-IDF word weighting method with the n-gram feature used, namely bigram (n=1). The system will be evaluated using a confusion matrix. The implementation results show a prediction model with a total of 500 opinion data with a comparison of training data and test data of 9:1, producing an accuracy value of 84.00%, a precision value of 75.00%, a recall of 30.00%, and an f1-score of 42.86%. The performance of the system model built in this study can be said to be good.

Copyrights © 2023






Journal Info

Abbrev

elkom

Publisher

Subject

Education

Description

Elkom : Jurnal Elektronika dan Komputer merupakan Jurnal yang diterbitkan oleh SEKOLAH TINGGI ELEKTRONIKA DAN KOMPUTER (STEKOM). Jurnal ini terbit 2 kali dalam setahun yaitu pada bulan Juli dan Desember. Misi dari Jurnal ELKOM adalah untuk menyebarluaskan, mengembangkan dan menfasilitasi hasil ...