Penerapan XGBoost dan SMOTE untuk Klasifikasi Metode Pembayaran Pelanggan pada Data Transaksi Tidak Seimbang
DOI:
https://doi.org/10.47065/bulletincsr.v6i4.1127Keywords:
XGBoost; SMOTE; Classification; Payment Methods; Imbalanced DataAbstract
The increasing use of digital payment methods in retail transactions highlights the importance of analyzing customer payment behavior. This study aims to classify customer payment methods using the XGBoost algorithm and to evaluate the effect of Synthetic Minority Over-sampling Technique (SMOTE) in handling class imbalance. The dataset consists of 287,422 transaction records processed using the Cross Industry Standard Process for Data Mining (CRISP-DM) framework, which includes data understanding, data preparation, modeling, and evaluation stages. Experimental results show that the XGBoost model without SMOTE achieved an accuracy of 92.83% and a ROC-AUC of 0.7759, but performed poorly in identifying the minority class (Card), with a recall of 0.14, indicating a strong bias toward the majority class. After applying SMOTE, the model’s ability to detect the minority class improved, with recall increasing to 0.53 and F1-score reaching 0.28, although accuracy decreased to 78.50% and ROC-AUC to 0.7529. This study contributes by implementing XGBoost combined with the SMOTE method for customer payment method classification on imbalanced data and evaluating model performance using multiple classification metrics. This trade-off indicates that SMOTE improves sensitivity toward minority classes while affecting overall predictive accuracy. The findings highlight that evaluation of imbalanced classification models should not rely solely on accuracy but must also consider precision, recall, F1-score, and ROC-AUC to obtain a more comprehensive assessment. Overall, while SMOTE enhances minority class detection, further improvements are still required to achieve more stable and reliable classification performance.
Downloads
References
Erna Kristia dan Mirzam Arqy Ahmadi, “Implementasi QRIS sebagai Alternatif Pembayaran Non Tunai pada Kalangan Usaha Mikro, Kecil, dan Menengah (UMKM): Peluang dan Tantangan,” PENG J. Ekon. Dan Manaj., vol. 2, no. 1, hal. 1014–1024, 2024, doi: 10.62710/21sqt943.
Diva Amanda Lintang Sutomo dan Yusuf S Barusman, “Pengaruh Pengguna Fitur Paylater Terhadap Perilaku Implusive Buying Pada Mahasiswa Pengguna E-Commerce Di Kota Bandar Lampung,” Hirarki J. Ilm. Manaj. dan Bisnis, vol. 7, no. 2, hal. 13–32, 2025, doi: 10.30606/4wsm2g10.
Mailiana Anita, Imelda Grecea Dwi Yulianti, dan Swarno Varestama Pasaribu, “Klasifikasi Faktor Risiko Penyakit Jantung Menggunakan Machine Learning,” HOAQ (High Educ. Organ. Arch. Qual. J. Teknol. Inf., vol. 16, no. 1, hal. 68–78, 2025, doi: 10.52972/hoaq.vol16no1.p68-78.
Jan Melvin Ayu Soraya Dachi dan Pardomuan Sitompul, “Analisis Perbandingan Algoritma XGBoost dan Algoritma Random Forest Ensemble Learning pada Klasifikasi Keputusan Kredit,” J. Ris. Rumpun Mat. Dan Ilmu Pengetah. Alam, vol. 2, no. 2, hal. 65–71, 2023, doi: 10.55606/jurrimipa.v2i2.1336.
K. A. and M. Abdelaziz, Machine Learning for Imbalanced Data. Birmingham: Packt Publishing, 2023.
Yahya Khaliman Indrayana, Radhistya Krisna Ramadhan, Indra Budi Kurniawan, dan Siti Rihastuti, “Implementasi Decision Tree untuk Mengklasifikasikan Metode Pembayaran di Supermarket,” Semin. Nas. Amikom Surakarta 2023, no. November, hal. 43, 2023, [Daring]. Tersedia pada: https://ojs.amikomsolo.ac.id/index.php/semnasa/article/view/86
Omar Pahlevi, Amrin, dan Yopi Handrianto, “Implementasi Algoritma Klasifikasi Random Forest Untuk Penilaian Kelayakan Kredit,” J. Infortech, vol. 5, no. 1, hal. 71–76, 2023, doi: 10.31294/infortech.v5i1.15829.
Sana Fatima, Ayan Hussain, Sohaib Bin Amir, Syed Haseeb Ahmed, dan Syed Muhammad Huzaifa Aslam, “XGBoost and Random Forest Algorithms: An in Depth Analysis,” Pakistan J. Sci. Res., vol. 3, no. 1, hal. 26–31, 2023, doi: 10.57041/pjosr.v3i1.946.
Jin Lin, “Application of machine learning in predicting consumer behavior and precision marketing,” PLoS One, vol. 20, no. 5 May, hal. 1–12, 2025, doi: 10.1371/journal.pone.0321854.
St Fatika Nabila Halim dan Ulil Azmi, “Analisis Perbandingan Klasifikasi dan Penerapan Teknik SMOTE Dalam Imbalanced Data Pada Credit Card Default,” J. Sains dan Seni ITS, vol. 12, no. 2, 2023, doi: 10.12962/j23373520.v12i2.111833.
Cici Emilia Sukmawati, Adi Rizky Pratama, Hanny Hikmayanti, dan Ayu Ratna Juwita, “Optimasi AdaBoost dan XGBoost untuk Klasifikasi Obesitas Menggunakan SMOTE,” J. Inform. J. Pengemb. IT, vol. 10, no. 3, hal. 771–780, 2025, doi: 10.30591/jpit.v10i3.8536.
Omar Pahlevi, Dewi Ayu Nur Wulandari, Luci Kanti Rahayu, Henny Leidiyana, dan Yopi Handrianto, “Model Klasifikasi Risiko Stunting Pada Balita Menggunakan Algoritma CatBoost Classifier,” Bull. Comput. Sci. Res., vol. 6, no. 4, hal. 414–421, 2024, doi: 10.47065/bulletincsr.v4i6.373.
Yunna Mentari Indah, Rafika Aristawidya, Anwar Fitrianto, Erfiani, dan L.M. Risman Dwi Jumansyah, “Comparison of Random Forest, XGBoost and LightGBM Methods on the Human Development Index Classification,” JAMBURA J. Math., vol. 7, no. 1, hal. 14–18, 2025, doi: 10.37905/jjom.v7i1.28290.
Afika Rianti, Nuur Wachid Abdul Majid, dan Ahmad Fauzi, “CRISP-DM: Metodologi Proyek Data Science,” Pros. Semin. Nas. Teknol. Inf. dan Bisnis, no. July 2023, hal. 107–114, 2023, [Daring]. Tersedia pada: https://ojs.udb.ac.id/index.php/Senatib/article/view/3015
Dwi Bagus Saputra, Vihi Atina, dan Faulinda Ely Nastiti, “Penerapan Model CRISP-DM pada Prediksi Nasabah Kredit Menggunakan Algoritma Random Forest,” Idealis Indones. J. Inf. Syst., vol. 7, no. 2021, hal. 240–247, 2024, doi: 10.36080/idealis.v7i2.3244.
Ridwan, Eni Heni Hermaliani, dan Muji Ernawati, “Penerapan Metode SMOTE Untuk Mengatasi Imbalanced Data Pada Klasifikasi Ujaran Kebencian,” Comput. Sci., vol. 4, no. 1, 2024, doi: 10.31294/coscience.v4i1.2990.
Randi Estian Pambudi, Hendri Purnomo, dan Adimas Aglasia, “Analisis Klasifikasi Sentimen Pengguna MyPertamina Menggunakan Metode Evaluasi Precision, Recall, dan F1-Score,” Aisyah J. Informatics Electr. Eng., vol. 07, no. 02, hal. 17–22, 2025, [Daring]. Tersedia pada: https://jti.aisyahuniversity.ac.id/index.php/AJIEE
Muhamad Amhar Rayadin, Mustarum Musaruddin, Rizal Adi Saputra, dan Isnawaty, “Implementasi Ensemble Learning Metode XGBoost dan Random Forest untuk Prediksi Waktu Penggantian Baterai Aki,” BIOS J. Teknol. Inf. dan Rekayasa Komput., vol. 5, no. 2, hal. 111–119, 2024, doi: 10.37148/bios.v5i2.128.
Fazal Malik, Muhammad Suliman, Muhammad Qasim Khan, Noor Rahman, Khairullah Khan, dan Muhammad Khan, “Optimizing Malicious Website Detection with the XGBoost Machine Learning Approach,” J. Comput. Biomed. Informatics, vol. 7, no. 02 SE-Articles, 2024, doi: 10.56979/702/2024.
Raihan Zahran Firdaus, Satrio Hadi Wijoyo, dan Welly Purnomo, “Analisis Sentimen Berbasis Aspek Ulasan Pengguna Aplikasi Alfagift Menggunakan Metode Random Forest dan Pemodelan Topik Latent Dirichlet Allocation,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 9, no. 2, 2025, [Daring]. Tersedia pada: http://j-ptiik.ub.ac.id
Agum Cahyana, Erliyan Redy Susanto, dan Parjito, “Penerapan Algoritma XGBoost untuk Prediksi Diabetes: Analisis Confusion Matrix dan ROC Curve,” Fountain Informatics J., vol. 10, no. 1, hal. 40–50, 2025, doi: 10.21111/fij.v10i1.14311.
Yuda Irawan, Refni Wahyuni, Rian Ordila, dan Herianto, “Comparative Analysis of Machine Learning Algorithms with SMOTE and Boosting Techniques in Accuracy Improvement,” Indones. J. Comput. Sci., vol. 13, no. 5, hal. 7262–7278, 2024, doi: 10.33022/ijcs.v13i5.4368.
Ega Muhammad Atsir, Nurmalitasari, dan Aprilisa Arum Sari, “Traffic Accident Severity Classification System Using Random Forest Algorithm,” J-INTECH (Journal Inf. Technol., vol. 13, no. 2, 2025, doi: 10.32664/j-intech.v13i02.2089.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Penerapan XGBoost dan SMOTE untuk Klasifikasi Metode Pembayaran Pelanggan pada Data Transaksi Tidak Seimbang
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2026 Fadilah Nuria Handayani, Vihi Atina, Aprilisa Arumsari

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).













