Perbandingan SVM dan Logistic Regression Berbasis SMOTE pada Analisis Sentimen Menteri Keuangan di YouTube
DOI:
https://doi.org/10.30865/json.v7i4.9632Keywords:
Analisis Sentimen, Menteri Keuangan, Support Vector Machine, Logistic Regression, SMOTEAbstract
YouTube telah berkembang menjadi salah satu ruang utama bagi masyarakat untuk menyampaikan opini terhadap isu publik, termasuk respons terhadap figur pejabat pemerintah. Penelitian ini bertujuan untuk mengevaluasi dan memetakan persepsi publik terhadap Menteri Keuangan Republik Indonesia melalui analisis sentimen berbasis machine learning, dengan mengkomparasikan kinerja algoritma Support Vector Machine dan Logistic Regression. Data berjumlah 4.003 data komentar dikumpulkan dari komentar berbagai kanal YouTube berdasarkan pencarian topik terkait, kemudian melalui tahapan pre-processing dan pelabelan otomatis menggunakan Indonesian Sentiment Lexicon (InSet). Meskipun pelabelan otomatis berbasis leksikon ini efisien, pendekatan ini memiliki keterbatasan untuk mendeteksi sarkasme dan menangkap konteks kalimat yang kompleks. Setelah fitur diekstraksi menggunakan pembobotan TF-IDF, teknik Synthetic Minority Over-sampling Technique (SMOTE) diterapkan untuk mengatasi masalah ketidakseimbangan label pada data latih. Pengujian model membuktikan bahwa pendekatan yang diusulkan berhasil melakukan klasifikasi dengan sangat baik. Hasil evaluasi menunjukkan bahwa Support Vector Machine memberikan tingkat akurasi tertinggi sebesar 90%, sedikit mengungguli Logistic Regression yang mencatatkan akurasi sebesar 89%. Kontribusi ilmiah dalam studi ini menegaskan bahwa algoritma klasifikasi berbasis SMOTE efektif dalam menangani masalah ketimpangan data, dengan menunjukkan peningkatan performa model dibandingkan penelitian terdahulu yang serupa.
References
[1] Kementerian Keuangan Republik Indonesia, “Serah Terima Jabatan Menteri Keuangan Republik Indonesia.” Accessed: Oct. 11, 2025. [Online]. Available: https://www.kemenkeu.go.id/informasi-publik/publikasi/berita-utama/Sertijab-Menkeu-RI
[2] L. Rahayu, “Profil Purbaya Yudhi Sadewa, Menkeu Baru Pengganti Sri Mulyani,” Detik.com. Accessed: Oct. 11, 2025. [Online]. Available: https://news.detik.com/berita/d-8101667/profil-purbaya-yudhi-sadewa-menkeu-baru-pengganti-sri-mulyani
[3] Tempo.co, “Kenapa Pasar Langsung Bereaksi Iringi Pergantian Sri Mulyani ke Purbaya | tempo.co.” Accessed: Oct. 12, 2025. [Online]. Available: https://www.tempo.co/ekonomi/kenapa-pasar-langsung-bereaksi-iringi-pergantian-sri-mulyani-ke-purbaya-2068013
[4] R. F. Alhujaili and W. M. S. Yafooz, “Sentiment Analysis for YouTube Educational Videos Using Machine and Deep Learning Approaches,” in 2022 IEEE 2nd International Conference on Electronic Technology, Communication and Information (ICETCI), 2022, pp. 238–244. doi: 10.1109/ICETCI55101.2022.9832284.
[5] S. Kemp, “Pengguna TikTok, Statistik, Data, Tren, dan Lainnya — DataReportal – Wawasan Digital Global,” Data Reportal. Accessed: Oct. 16, 2025. [Online]. Available: https://datareportal.com/essential-youtube-stats
[6] P. Chauhan, N. Sharma, and G. Sikka, “The emergence of social media data and sentiment analysis in election prediction,” J. Ambient Intell. Humaniz. Comput., vol. 12, no. 2, pp. 2601–2627, 2021, doi: 10.1007/s12652-020-02423-y.
[7] V. Joseph, C. P. Lora, and N. T, “Exploring the Application of Natural Language Processing for Social Media Sentiment Analysis,” 2024 3rd Int. Conf. Innov. Technol., pp. 1–6, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:269622880
[8] M. Bordoloi and S. K. Biswas, “Sentiment analysis: A survey on design framework, applications and future scopes,” Artif. Intell. Rev., vol. 56, no. 11, pp. 12505–12560, 2023, doi: 10.1007/s10462-023-10442-2.
[9] M. Wankhade, A. C. S. Rao, and C. Kulkarni, “A survey on sentiment analysis methods, applications, and challenges,” Artif. Intell. Rev., vol. 55, no. 7, pp. 5731–5780, Oct. 2022, doi: 10.1007/s10462-022-10144-1.
[10] R. Rodríguez-Pérez and J. Bajorath, “Evolution of Support Vector Machine and Regression Modeling in Chemoinformatics and Drug Discovery,” J. Comput. Aided. Mol. Des., vol. 36, no. 5, pp. 355–362, 2022, doi: 10.1007/s10822-022-00442-9.
[11] P. Rajendra and S. Latifi, “Prediction of diabetes using logistic regression and ensemble techniques,” Comput. Methods Programs Biomed. Updat., vol. 1, p. 100032, 2021, doi: https://doi.org/10.1016/j.cmpbup.2021.100032.
[12] N. Hadi and D. Sugiarto, “Analisis Sentimen Pembangunan IKN pada Media Sosial X Menggunakan Algoritma SVM, Logistic Regression dan Naïve Bayes,” J. Inform. J. Pengemb. IT, vol. 10, no. 1, pp. 37–49, 2025, doi: 10.30591/jpit.v10i1.7106.
[13] A. Maulana, Inayah Khasnaputri Afifah, Asghafi Mubarrak, Kiagus Rachmat Fauzan, Ardhan Dwintara, and B. P. Zen, “Comparison of Logistic Regression, Multinomialnb, Svm, and K-Nn Methods on Sentiment Analysis of Gojek App Reviews on the Google Play Store,” J. Tek. Inform., vol. 4, no. 6, pp. 1487–1494, Dec. 2023, doi: 10.52436/1.jutif.2023.4.6.863.
[14] I. R. Ainunnisa, “Analisis Sentimen Aplikasi Tiktok dengan Metode Support Vector Machine ( SVM ), Logistic Regression dan Naïve Bayes,” vol. 6, no. 3, pp. 423–430, 2023, doi: 10.32493/jtsi.v6i3.31076.
[15] Z. C. Dwinnie and R. Novita, “Penerapan Machine Learning Pada Analisis Sentimen Twitter Sebelum dan Sesudah Debat Calon Presiden dan Wakil Presiden Tahun 2024,” vol. 8, no. April, pp. 758–767, 2024, doi: 10.30865/mib.v8i2.7504.
[16] R. A. Prasetyo, “Perbandingan Algoritma Logistic Regression, SVM, dan Random Forest pada Analisis Sentimen Aplikasi Gopay,” J. Inform. J. Pengemb. IT, vol. 10, no. 4, pp. 1176–1188, 2025, doi: 10.30591/jpit.v10i4.8796.
[17] D. Elreedy, A. F. Atiya, and F. Kamalov, “A theoretical distribution analysis of synthetic minority oversampling technique (SMOTE) for imbalanced learning,” Mach. Learn., pp. 1–21, 2023, [Online]. Available: https://api.semanticscholar.org/CorpusID:255728052
[18] N. Chawla, K. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic Minority Over-sampling Technique,” ArXiv, vol. abs/1106.1, 2002, [Online]. Available: https://api.semanticscholar.org/CorpusID:1554582
[19] M. A. Jassim and S. N. Abdulwahid, “Data Mining preparation: Process, Techniques and Major Issues in Data Analysis,” IOP Conf. Ser. Mater. Sci. Eng., vol. 1090, no. 1, p. 12053, Mar. 2021, doi: 10.1088/1757-899X/1090/1/012053.
[20] H. T. Duong and T. A. Nguyen-Thi, “A review: preprocessing techniques and data augmentation for sentiment analysis,” Comput. Soc. Networks, vol. 8, no. 1, pp. 1–16, 2021, doi: 10.1186/s40649-020-00080-x.
[21] K. S. Prathyusha and B. E. Reddy, “Normalization methods for multiple sources of data,” Proc. - 5th Int. Conf. Intell. Comput. Control Syst. ICICCS 2021, no. Iciccs, pp. 1013–1019, 2021, doi: 10.1109/ICICCS51141.2021.9432142.
[22] P. Vadlapati, “Tokenization Beyond NLP: Potential Applications in Data Analytics, Cybersecurity, and Beyond,” Interantional J. Sci. Res. Eng. Manag., vol. 08, no. 12, pp. 1–7, 2024, doi: 10.55041/ijsrem9532.
[23] D. A. N. Arifin, S. Pada, D. Teks, B. Indonesia, J. Pardede, and D. Darmawan, “Perbandingan Algoritma Stemming Porter , Sastrawi , Idris , Comparison of Stemming Algorithms Porter , Sastrawi , Idris , and Arifin Setiono on Indonesian Text Documents,” vol. 12, no. 1, 2025, doi: 10.25126/jtiik.2025128860.
[24] Fajri Koto and Gemala Y. Rahmaningtyas, “InSet Lexicon: Evaluation of a Word List for Indonesian Sentiment Analysis in Microblogs,” 2017 Int. Conf. Asian Lang. Process., pp. 391–394, 20AD.
[25] A. Ma, A. E. Pajri, and P. Liana, “Sentiment Analysis of President Prabowo ’ s Performance on Twitter ( X ) with a Comparative Study of SVM , XGBoost , and AdaBoost,” vol. 10, no. 1, pp. 684–697, 2026.
[26] I. S. Wibowo, A. Witanti, and I. Susilawati, “Keyword Extraction Judul Berita Online Di Indonesia Menggunakan Metode TF-IDF,” J. Tek. Inform. dan Sist. Inf., vol. 11, no. 1, pp. 99–111, 2024, [Online]. Available: http://jurnal.mdp.ac.id
[27] W. A. N. G. Zhuohao, W. A. N. G. Dong, and L. I. Qing, “Keyword Extraction from Scientific Research Projects Based on SRP-TF-IDF,” Chinese J. Electron., vol. 30, no. 4, pp. 652–657, 2021, doi: 10.1049/cje.2021.05.007.
[28] S. Styawati, N. Hendrastuty, and A. R. Isnain, “Analisis Sentimen Masyarakat Terhadap Program Kartu Prakerja Pada Twitter Dengan Metode Support Vector Machine,” J. Inform. J. Pengemb. IT, vol. 6, no. 3, pp. 150–155, 2021, doi: 10.30591/jpit.v6i3.2870.
[29] I. Akbar and M. Faisal, “Perbandingan Analisis Sentimen PLN Mobile: Machine Learningvs. Deep Learning,” vol. 7, no. 1, 2022, doi: https://doi.org/10.31328/jointecs.v8i1.5078.
[30] J. H. Cabot and E. G. Ross, “Evaluating prediction model performance,” Surgery, vol. 174, no. 3, pp. 723–726, Sep. 2023, doi: 10.1016/j.surg.2023.05.023.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jurnal Sistem Komputer dan Informatika (JSON)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This work is licensed under a Creative Commons Attribution 4.0 International License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).

