Claim Missing Document
Check
Articles

Found 2 Documents
Search
Journal : JOURNAL OF APPLIED INFORMATICS AND COMPUTING

Sentiment Analysis of Social Media X in the 2024 Indonesian Presidential Election Using the Naive Bayes Algorithm: Candidates' Backgrounds and Political Promises Prayudani, Santi; Situmorang, Dita Rouli Basa; Hidayah, Rizki; Ginting, Heri Sanjaya
Journal of Applied Informatics and Computing Vol. 8 No. 2 (2024): December 2024
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v8i2.7580

Abstract

In 2024, Indonesia holds a presidential election, and the candidates are making promises to each other to attract voters. Many people gave their opinions on X. This study uses the Naïve Bayes algorithm to analyze the sentiment of these tweets, with the aim of understanding the background of the candidates and their campaign promises. Data is collected from X by crawling technique, then data is pre-processed, trained using Naïve Bayes model, and evaluated for accuracy. Sentiments in tweets were classified as positive, negative, or neutral. The results showed that the Prabowo Subianto - Gibran Rakabuming Raka pair was the most talked about with 1005 tweets, followed by Anis Rasyid Baswedan - Muhaimin Iskandar with 707 tweets, and Ganjar Pranowo - Mohammad Mahfud M.D. with 572 tweets. The Prabowo Subianto - Gibran Rakabuming Raka pair received the most positive sentiment, which was 446 more than the other candidates.
Prediction of Cyberbullying in Social Media on Twitter Using Logistic Regression Prayudani, Santi; Adha, Lilis Tiara; Ariyani, Tika; Lubis, Arif Ridho
Journal of Applied Informatics and Computing Vol. 9 No. 4 (2025): August 2025
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v9i4.9842

Abstract

As cases of cyberbullying on social media increase, there is a need for efficient measures to detect the vice. This research aims to establish the application of machine learning algorithms in analyzing text on social media to determine potentially harmful comments using logistic regression. The first and most important research question of this study is to assess the extent to which the model is capable of correctly identifying the comments that contain features of cyberbullying and those that do not. The data set included comments from different social media sites and was preprocessed before further analysis was conducted on it. Exploratory Data Analysis was applied in the study to establish relationships and textual features with bullying behavior. As with any other model, after training and testing the model, the results were analyzed using parameters like precision, precision, gain, and F1 statistics. The outcomes of this study revealed that the use of logistic regression models can give a fairly satisfactory level of accuracy in identifying cyberbullying. In light of this, this study underscores the need to use machine learning algorithms to minimize negative actions in cyberspace.