Sentiment Analysis on Import Tariff Policy and Gold Price Increase with TF-IDF
Open Access
- 11 June 2025
- journal article
- Published by Kresnamedia Publisher in Jurnal Riset Informatika
- Vol. 7 (3) , 87-92
Abstract
Changes in global economic policy, such as Donald Trump's import tariff policy in 2025, have generated various public responses recorded through social media such as Twitter. Analysis of this public opinion is important to understand public perception of the dynamics of gold prices as a strategic commodity. This study aims to analyze public sentiment towards the issue of tariff policies and gold using TF-IDF feature extraction. To overcome class imbalance in tweet data, the Synthetic Minority Over-sampling Technique (SMOTE) technique was used. The dataset was obtained from Twitter with the keywords "trump", "tariffs", and "gold", then preprocessing and sentiment labeling (positive, negative, neutral) were carried out. The results of the analysis showed that 88.8% of tweets contained positive sentiment, 6.9% negative, and 4.1% neutral. The model evaluation produced an accuracy of 81.23%, with the highest precision in the positive class (0.81) and a recall of 1.00. These findings indicate that the issue of tariff policies is associated optimistically by the public because it is considered beneficial to gold prices.Keywords
This publication has 12 references indexed in Scilit:
- Advanced deep learning techniques for sentiment analysis: combining Bi-LSTM, CNN, and attention layersInternational Journal of Advances in Intelligent Informatics, 2025
- Komunikasi Budaya dan Transformasi Opini Publik : Studi Kasus Hastag #FreePalestineAL MUNIR : Jurnal Komunikasi dan Penyiaran Islam, 2024
- The Optimization of n-Gram Feature Extraction Based on Term Occurrence for Cyberbullying ClassificationData Science Journal, 2024
- IMPLEMENTASI ALGORITMA NAIVE BAYES UNTUK ANALISIS SENTIMEN ISU RESESI EKONOMI 2023 DI INDONESIA PADA PLATFORM TWITTERJIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), 2024
- Twitter sentiment analysis about economic recession in indonesiaBulletin of Social Informatics Theory and Application, 2023
- Social Media Sentiment Analysis Using Convolutional Neural Network (CNN) and Gated Recurrent Unit (GRU)Jurnal Ilmiah Teknik Elektro Komputer dan Informatika, 2023
- DETERMINAN HARGA EMASKinerja, 2022
- Text Mining and Sentiment Analysis of Newspaper HeadlinesInformation, 2021
- Penerapan SMOTE untuk Mengatasi Imbalance Class dalam Klasifikasi Television Advertisement Performance Rating Menggunakan Artificial Neural NetworkJurnal Edukasi dan Penelitian Informatika (JEPIN), 2020
- Buku Ajar Text Mining2020