Journal of Blockchain, Nfts and Metaverse Technology
Vol. 2 No. 1 (2024): February 2024

Sentiment Analysis on Twitter Using Naïve Bayes and Logistic Regression for the 2024 Presidential Election

Alisya Mutia Mantika (Informatics Study Program, Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia)
Agung Triayudi (Informatics Study Program, Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia)
Rima Tamara Aldisa (Informatics Study Program, Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia)



Article Info

Publish Date
21 Feb 2024

Abstract

In accordance with the notion of democracy which is the basis of the state of Indonesia, general elections will be held in 2024. In the implementation of the General Election there is a campaign to lead the public vote to choose the best candidate according to public opinion. Twitter social media is one of the media to voice opinions as well as share information to become one of the indirect campaigning platforms. Social media also does not escape negative issues, community rumors, and even the digital footprint of presidential candidates which can be a very important consideration in campaigning. This research aims to see the public's response to the 2024 presidential candidates. This research is conducted based on public opinion on presidential candidates, then public opinion data taken from Twitter social media will go through a pre-processing process to clean the data before the data is classified into Naive Bayes and Linear Regression modeling. The two classification models are then sought for the highest performance accuracy value and confusion matrix with 80:20 splitting data. The results showed that the Naive Bayes classification model had a higher accuracy value than the Logistic Regression classification model, which was 63% for Anies Baswedan candidate, 77% for Ganjar Pranowo candidate, and 44% for Prabowo Subianto. The highest accuracy value was obtained by the sentiment data of 2024 presidential candidate Ganjar Pranowo, which was 77%.

Copyrights © 2024






Journal Info

Abbrev

sana

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Engineering Library & Information Science

Description

This Journal scope includes, but is not limited to, the following areas: Blockchain architecture, protocols, and security Non-fungible tokens (NFTs) and their applications in the creative industries, gaming, and more Metaverse technology and virtual worlds, including the development and governance ...