Jurnal Informatika
Vol. 12 No. 1 (2025): April

Sentiment Analysis of #Saverafah Hashtag on TikTok Using Naive Bayes and Decision Tree Methods

Pirsingki, Nisa (Unknown)
Wandri, Rizky (Unknown)



Article Info

Publish Date
03 Apr 2025

Abstract

Social media facilitates user communication, both in positive, negative and neutral aspects. Tiktok is a popular platform that allows users to stay up to date on the latest news, including the major conflict between Palestine and Israel. In this war, many Palestinian civilians, including children and the elderly, became victims, and are currently trying to flee to Rafah to seek protection. The objective of this study is to evaluate public sentiment regarding the news of Palestinian refugees en route to Rafah. To achieve this purpose, we will examine 2982 comments on TikTok relating to the hashtag #SaveRafah, which will be the data to be trained. Prior to classification, the data will undergo a preprocessing process and TF-IDF weighting. The two classification methods will be compared to ascertain the most accurate approach. Because the data at the labeling stage has a larger percentage of positive data 90.7%, this study will employ the technique SMOTE to address class imbalance in the data set. The results showed that the Naive Bayes Multinomial method with the application of SMOTE produced an accuracy of 85.43%, a precision of 86.22%, a recall of 85.43%, and an f1-score of 85.53%. Meanwhile, the Decision Tree C4.5 method with the application of SMOTE produced an accuracy of 94.23%, a precision of 94.58%, a recall of 94.23%, and an f1-score of 94.22%. Based on the evaluation results, the best method for sentiment analysis of the hashtag #SaveRafah is Decision Tree C4.5.

Copyrights © 2025






Journal Info

Abbrev

ji

Publisher

Subject

Computer Science & IT

Description

Jurnal Informatika first publication in 2014 (ISSN: e. 2528-2247 p. 2355-6579) is scientific journal research in Informatics Engineering, Informatics Management, and Information Systems, published by Universitas Bina Sarana Informatika which the articles were never published online or in print. The ...