Elkom: Jurnal Elektronika dan Komputer
Vol. 19 No. 1 (2026): Juli : Jurnal Elektronika dan Komputer

Optimasi Algoritma XGBoost Berbasis SMOTE untuk Mengidentifikasi Faktor Logistik Pemicu Pembatalan Pesanan E-commerce

Arif Fitra Setyawan (Politeknik Negeri Semarang)
Thomas Tri Wibowo (Politeknik Negeri Semarang)
Intan Laily Muflikhah (Politeknik Negeri Semarang)
Muhammad Bhayu Bramantyo (Politeknik Negeri Semarang)



Article Info

Publish Date
13 Jul 2026

Abstract

Unilateral order cancellation by consumers is a major operational challenge in the Indonesian e-commerce industry, directly impacting supply chain inefficiency and inflating logistics costs. Computational modeling to predict this risk often faces hurdles such as class imbalance and vulnerability to data leakage. This study proposes an optimization of the Extreme Gradient Boosting (XGBoost) algorithm integrated with the Synthetic Minority Over-sampling Technique (SMOTE) using a multi-scenario feature analysis approach. The dataset used comprises real transaction records from a major e-commerce platform. Experiments were designed in two scenarios: Scenario 1 included all transactional features, while Scenario 2 excluded the dominant financial feature (Total Pembayaran) to test the model's pure dependency on pre-finalization variables. The test results showed that Scenario 1 yielded a pseudo-accuracy of 99.50% due to data leakage. After reconstruction in Scenario 2, the SMOTE-based XGBoost model produced a stable real performance with an Accuracy Score of 83.96% and an Area Under ROC (AUC) of 86,98%. Through Feature Importance analysis, this study successfully revealed that pure logistics factors, specifically "Ongkos Kirim Dibayar oleh Pembeli" (Shipping Fee Paid by Buyer) with an absolute importance weight of 77.10%, serve as the primary predictor and driver behind consumer order cancellations. These findings provide tactical contributions for e-commerce decision-makers in formulating shipping cost strategies and mitigating early operational risks.

Copyrights © 2026






Journal Info

Abbrev

elkom

Publisher

Subject

Education

Description

Elkom : Jurnal Elektronika dan Komputer merupakan Jurnal yang diterbitkan oleh SEKOLAH TINGGI ELEKTRONIKA DAN KOMPUTER (STEKOM). Jurnal ini terbit 2 kali dalam setahun yaitu pada bulan Juli dan Desember. Misi dari Jurnal ELKOM adalah untuk menyebarluaskan, mengembangkan dan menfasilitasi hasil ...