The movement to boycott products believed to support Israel reflects global solidarity with the Palestinian fight. In Indonesia, support for this movement continues to grow, especially through social media platform X (formerly Twitter). After the release of MUI Fatwa Number 83 of 2023, which advises Muslims to refrain from using products linked to Israel. The objective of this study is to analyze the sentiment of users on social media X regarding the boycott of products that support Israel, using the Decision Tree C5.0 algorithm. The data were collected through a scraping technique targeting tweets containing relevant boycott-related keywords, then processed using text preprocessing and analyzed using Term Frequency-Inverse Document Frequency (TF-IDF) for the extraction of features. The dataset was divided into 80% for training and 20% for testing in order to train and assess the classification model. The classification results revealed that out of 1,840 tweets, 1,257 were positive, 318 negative, and 265 neutral, indicating that 68.32% of users expressed support for the boycott movement. The evaluation of the model resulted in an accuracy of 83.26%, a precision of 86.51%, a recall of 83.26%, and an f1-score of 84.29%, demonstrating that the C5.0 algorithm effectively and accurately classifies sentiment. This research is anticipated to act as a guide for creating systems that analyze public opinion and provide insights for policymakers and industry players in responding to social issues emerging on digital platforms.
Copyrights © 2025