Jurnal Sisfokom (Sistem Informasi dan Komputer)
Vol. 13 No. 2 (2024): JULY

Comparative Analysis of SVM and NB Algorithms in Evaluating Public Sentiment on Supreme Court Rulings

Maulidiana, Putri Dwi Rahayu (Unknown)
Vitianingsih, Anik Vega (Unknown)
Kacung, Slamet (Unknown)
Maukar, Anastasia Lidya (Unknown)
Hermansyah, David (Unknown)



Article Info

Publish Date
10 Jun 2024

Abstract

The legal events that happened to Ferdy Sambo and the Supreme Court’s decision in the cassation triggered emotional reactions and various opinions among the public, especially on social media sites such as Xapps. Some comments reflect people’s concerns about fairness in the legal system. They doubted the integrity of legal institutions or believed that decisions were unfair or in line with vested interests. This research aims to analyze public perceptions of Supreme Court decisions. The research process includes data collection, preprocessing, labeling, weighting, classification using Support Vector Machine and Naïve Bayes, and performance evaluation using a confusion matrix. A dataset of 624 was taken from X apps using the Twitter scraping technique. The lexicon method is used for data labeling, dividing the data into positive, negative, and neutral classes. The analysis results show 46 tweets categorized as positive sentiment, 133 tweets categorized as negative sentiment, and 422 tweets categorized as neutral sentiment. Based on testing with a data ratio of 80:20, both SVM and NB methods show good performance. The SVM criteria showed an accuracy of 0.84, precision of 0.61, recall of 0.78, and f1-score of 0.66, while the NB criteria showed an accuracy of 0.73, precision of 0.37, recall of 0.57, and f1-score of 0.35.

Copyrights © 2024






Journal Info

Abbrev

sisfokom

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management

Description

Jurnal Sisfokom merupakan singkatan dari Jurnal Sistem Informasi dan Komputer. Jurnal ini merupakan kolaborasi antara sivitas akademika STMIK Atma Luhur dengan perguruan tinggi maupun universitas di Indonesia. Jurnal ini berisi artikel ilmiah dari peneliti, akademisi, serta para pemerhati TI. Jurnal ...