Intelligent Sentiment Mapping on Instagram for Finance Minister Purbaya Yudhi Sadewa Based on Logistic Regression

Authors

  • Al Khaidar Program Studi Magister Teknologi Informasi, Universitas Malikussaleh
  • Hermansyah Program Studi Magister Teknologi Informasi, Universitas Malikussaleh
  • Sri Kurnia Program Studi Magister Teknologi Informasi, Universitas Malikussaleh
  • Rahmad Program Studi Magister Teknologi Informasi, Universitas Malikussaleh

DOI:

https://doi.org/10.59934/jaiea.v5i1.1766

Keywords:

Sentiment Analysis, Logistic Regression, Instagram, Public Opinion

Abstract

Instagram is one of the social media platforms used by the public to express opinions on government policies and public figures. This study focuses on the sentiment analysis of netizens' comments on the Minister of Finance of the Republic of Indonesia, Purbaya Yudhi Sadewa, who replaced Sri Mulyani Indrawati in September 2025. The research data consisted of 1,277 comments crawled from Instagram. The data processing stage included text preprocessing, labeling using a lexicon-based approach, and feature extraction with Term Frequency – Inverse Document Frequency (TF-IDF). Sentiment classification was performed using the Logistic Regression algorithm, while model performance evaluation used a confusion matrix, classification reports, and the ROC-AUC Curve. The test results showed an accuracy of 91.4% with a macro f1-score of 0.92. In the positive class, a precision of 0.89, a recall of 0.85, and an f1-score of 0.87 were obtained. The negative class obtained a precision of 0.88, a recall of 0.91, and an f1-score of 0.90. The neutral class performed perfectly, with precision, recall, and an f1-score of 1.00 each. The macro-average ROC-AUC value reached 0.985, indicating excellent model performance. The sentiment distribution was predominantly neutral (42.2%), followed by negative (33.2%) and positive (24.6%). This study provides an objective overview of public perception, with neutral opinions predominating, while criticism outweighed appreciation

Downloads

Download data is not yet available.

References

A. Danil, "Analysis of Public Sentiment Towards the 2024 Cirebon Regent Election Based on Comments on Debate Videos on YouTube with the Naïve Bayes Method," J. Inform. Tech. Electro Therapy., vol. 13, no. 1, 2025.

S. Syafrizal, M. Afdal, and R. Novita, "Sentiment Analysis of PLN Mobile Application Review Using Naïve Bayes Classifier and K-Nearest Neighbor Algorithm," MALCOM: Indonesia. J. Mach. Learn. Comput. Sci., vol. 4, no. 1, pp. 10–19, 2024.

A. Zakira, M. Arhami, M. I. Abdi, and S. Safriadi, “Text-Based Emotion Sentiment Analysis on Social Media Using NLP and Lexicon Approach (Case Study: Gaza Conflict),” J. Inform. Eng. Softw. Appl., vol. 1, no. 1, pp. 139–149, 2025.

L. D. Putra, "Analysis of Instagram Social Media Content @folkative in Shaping Public Opinion," Doctoral dissertation, Buddhi Dharma University, 2024.

"Purbaya Yudhi Sadewa," Indonesian Wikipedia, Sep. 2025. [Online]. Available: https://id.wikipedia.org/wiki/Purbaya_Yudhi_Sadewa. [Accessed: Sep. 30, 2025].

Ministry of Finance of the Republic of Indonesia, "Profile of Officials — Minister of Finance: Purbaya Yudhi Sadewa," Kemenkeu.go.id, 2025. [Online]. Available: https://www.kemenkeu.go.id/profile/profile-pejabat/Menteri-Keuangan. [Accessed: Sep. 30, 2025].

MUC Consulting, "Purbaya Yudhi Sadewa Replaces Sri Mulyani as Minister of Finance," MUC.co.id, Sept. 8, 2025. [Online]. Available: https://muc.co.id/id/article/purbaya-yudhi-sadewa-gantikan-sri-mulyani-sebagai-menteri-keuangan. [Accessed: Sep. 30, 2025].

"Profile of Sri Mulyani, 2 Decades of State Financial Management Now Replaced by Purbaya," Bisnis.com, Jakarta, Sep. 8, 2025. [Online]. Available: https://ekonomi.bisnis.com/read/20250908/9/1909320/profil-sri-mulyani-2-dekade-urus-keuangan-negara-kini-diganti-purbaya. [Accessed: Sep. 30, 2025].

P. Y. Desy Abigail, "Profile of Purbaya Yudhi Sadewa, Minister of Finance in Lieu of Sri Mulyani," Bisnis.com, Jakarta, Sept. 8, 2025. [Online]. Available: https://ekonomi.bisnis.com/read/20250908/9/1909315/profil-purbaya-yudhi-sadewa-menteri-keuangan-pengganti-sri-mulyani. [Accessed: Sep. 30, 2025].

A. S. D. P. Sinaga and A. S. Aji, "Public Sentiment Analysis Towards Major Teddy Indra Wijaya with Logistic Regression Approach," MALCOM: Indonesia. J. Mach. Learn. Comput. Sci., vol. 5, no. 1, pp. 222–231, 2025.

D. N. Ardelia, H. D. Arifin, S. Daniswara, and A. P. Sari, "Mobile Phone Price Classification Using Logistic Regression Algorithm," vol., vol. 4, pp. 37–43, 2024.

E. I. Scandea, M. A. R. Sugiarto, F. Lestari, and D. Hartanti, "The Application of Data Mining to Analyze Risk Factor Data for Heart Disease Using the Logistic Regression Method," in Pros. Sem. Nas. Technology. Business Inf., Jul. 2023, pp. 683–688.

A. A. Putri, "Application of Logistic Regression Method for Sentiment Classification on Limited Twitter Dataset," ZONAsi-J. Sist. Inf., vol. 7, no. 1, pp. 95–107, 2025.

T. Shaik, X. Tao, C. Dann, H. Xie, Y. Li, and L. Galligan, “Sentiment analysis and opinion mining on educational data: A survey,” arXiv, 2023.

S. Saifullah, Y. Fauziah, and A. S. Aribowo, “Comparison of Machine Learning for Sentiment Analysis in Detecting Anxiety Based on Social Media Data,” J. Inform., vol. 15, no. 1, pp. 45–55, Jan. 2021.

A. Khaidar, M. Arhami, and M. Abdi, "Application of the Random Forest Method for UKT Classification at Politeknik Negeri Lhokseumawe," J. Artif. Intell. Softw. Eng. (J-AISE), vol. 4, no. 2, pp. 94–103, [month & year of publication]. doi: 10.30811/jaise.v4i2.6131.

Reuters, “Indonesia names Purbaya Yudhi Sadewa as new finance minister after Sri Mulyani removed,” Sep. 8, 2025. [Online]. Available: https://www.reuters.com/world/asia-pacific/indonesia-names-purbaya-yudhi-sadewa-new-finance-minister-after-sri-mulyani-2025-09-08/. [Accessed: Sep. 30, 2025].

Seconds, "Profile of Purbaya Yudhi Sadewa, Minister of Finance in Lieu of Sri Mulyani," Sep. 8, 2025. [Online]. Available: https://www.detik.com/jatim/berita/d-8101843/profil-purbaya-yudhi-sadewa-menteri-keuangan-pengganti-sri-mulyani. [Accessed: Sep. 30, 2025].

R. R. Putra, N. A. Putri, and A. D. Putra, Cosine Similarity and TF-IDF Techniques in Data Analysis. Compatible with Media Technology, 2024.

S. Kurnia and A. Khaidar, "Comparison of Machine Learning Methods Using Support Vector Machine and Artificial Neural Network Methods in Predicting Heart Attack," J. Inform. Kaputama (JIK), vol. 9, no. 2, pp. 87–94, 2025.

Downloads

Published

2025-10-15

How to Cite

Al Khaidar, Hermansyah, Sri Kurnia, & Rahmad. (2025). Intelligent Sentiment Mapping on Instagram for Finance Minister Purbaya Yudhi Sadewa Based on Logistic Regression. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(1), 1971–1978. https://doi.org/10.59934/jaiea.v5i1.1766