Public Sentiment Analysis on the Boycott Israel Movement on Platform X Using Random Forest and Logistic Regression Algorithms

This research aims to analyze public sentiment toward the boycott movement against Israel on the X platform by applying Random Forest and Logistic Regression algorithms. The study uses 616 tweets collected through web crawling with relevant keywords such as "Boikot", "Israel", an...

Full description

Saved in:
Bibliographic Details
Main Authors: Rachmayanti Tri Agustin, Yana Cahyana, Kiki Ahmad Baihaqi, Tatang Rohana
Format: Article
Language:English
Published: Politeknik Negeri Batam 2025-06-01
Series:Journal of Applied Informatics and Computing
Subjects:
Online Access:https://jurnal.polibatam.ac.id/index.php/JAIC/article/view/9551
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849410816250478592
author Rachmayanti Tri Agustin
Yana Cahyana
Kiki Ahmad Baihaqi
Tatang Rohana
author_facet Rachmayanti Tri Agustin
Yana Cahyana
Kiki Ahmad Baihaqi
Tatang Rohana
author_sort Rachmayanti Tri Agustin
collection DOAJ
description This research aims to analyze public sentiment toward the boycott movement against Israel on the X platform by applying Random Forest and Logistic Regression algorithms. The study uses 616 tweets collected through web crawling with relevant keywords such as "Boikot", "Israel", and "Palestine", covering the period from March 1, 2023 to January 30, 2025. The dataset underwent preprocessing including cleaning, normalization, stopword removal, tokenization, and stemming. Sentiment labeling was conducted both manually, categorizing the data into positive, negative, and neutral classes. TF-IDF was used for feature weighting. The data was split into 80% training and 20% testing. The Random Forest model achieved an accuracy of 70%, while Logistic Regression reached 68%. Both models showed higher accuracy in predicting positive sentiment compared to negative and neutral. The results suggest that public opinion on the boycott movement on social media tends to be supportive, with “Boikot,” “Israel,” and “Palestine” being the most dominant terms. Random Forest performed slightly better in classification, though improvements are needed in recognizing non-positive sentiments.
format Article
id doaj-art-a3c9aab39cab4947aa2146817c3d852c
institution Kabale University
issn 2548-6861
language English
publishDate 2025-06-01
publisher Politeknik Negeri Batam
record_format Article
series Journal of Applied Informatics and Computing
spelling doaj-art-a3c9aab39cab4947aa2146817c3d852c2025-08-20T03:34:57ZengPoliteknik Negeri BatamJournal of Applied Informatics and Computing2548-68612025-06-019393894510.30871/jaic.v9i3.95517096Public Sentiment Analysis on the Boycott Israel Movement on Platform X Using Random Forest and Logistic Regression AlgorithmsRachmayanti Tri Agustin0Yana Cahyana1Kiki Ahmad Baihaqi2Tatang Rohana3Universitas Buana Perjuangan KarawangUniversitas Buana Perjuangan KarawangUniversitas Buana Perjuangan KarawangUniversitas Buana Perjuangan KarawangThis research aims to analyze public sentiment toward the boycott movement against Israel on the X platform by applying Random Forest and Logistic Regression algorithms. The study uses 616 tweets collected through web crawling with relevant keywords such as "Boikot", "Israel", and "Palestine", covering the period from March 1, 2023 to January 30, 2025. The dataset underwent preprocessing including cleaning, normalization, stopword removal, tokenization, and stemming. Sentiment labeling was conducted both manually, categorizing the data into positive, negative, and neutral classes. TF-IDF was used for feature weighting. The data was split into 80% training and 20% testing. The Random Forest model achieved an accuracy of 70%, while Logistic Regression reached 68%. Both models showed higher accuracy in predicting positive sentiment compared to negative and neutral. The results suggest that public opinion on the boycott movement on social media tends to be supportive, with “Boikot,” “Israel,” and “Palestine” being the most dominant terms. Random Forest performed slightly better in classification, though improvements are needed in recognizing non-positive sentiments.https://jurnal.polibatam.ac.id/index.php/JAIC/article/view/9551boycottlogistic regressionrandom forestsentiment analysissocial media
spellingShingle Rachmayanti Tri Agustin
Yana Cahyana
Kiki Ahmad Baihaqi
Tatang Rohana
Public Sentiment Analysis on the Boycott Israel Movement on Platform X Using Random Forest and Logistic Regression Algorithms
Journal of Applied Informatics and Computing
boycott
logistic regression
random forest
sentiment analysis
social media
title Public Sentiment Analysis on the Boycott Israel Movement on Platform X Using Random Forest and Logistic Regression Algorithms
title_full Public Sentiment Analysis on the Boycott Israel Movement on Platform X Using Random Forest and Logistic Regression Algorithms
title_fullStr Public Sentiment Analysis on the Boycott Israel Movement on Platform X Using Random Forest and Logistic Regression Algorithms
title_full_unstemmed Public Sentiment Analysis on the Boycott Israel Movement on Platform X Using Random Forest and Logistic Regression Algorithms
title_short Public Sentiment Analysis on the Boycott Israel Movement on Platform X Using Random Forest and Logistic Regression Algorithms
title_sort public sentiment analysis on the boycott israel movement on platform x using random forest and logistic regression algorithms
topic boycott
logistic regression
random forest
sentiment analysis
social media
url https://jurnal.polibatam.ac.id/index.php/JAIC/article/view/9551
work_keys_str_mv AT rachmayantitriagustin publicsentimentanalysisontheboycottisraelmovementonplatformxusingrandomforestandlogisticregressionalgorithms
AT yanacahyana publicsentimentanalysisontheboycottisraelmovementonplatformxusingrandomforestandlogisticregressionalgorithms
AT kikiahmadbaihaqi publicsentimentanalysisontheboycottisraelmovementonplatformxusingrandomforestandlogisticregressionalgorithms
AT tatangrohana publicsentimentanalysisontheboycottisraelmovementonplatformxusingrandomforestandlogisticregressionalgorithms