Malcom: Indonesian Journal of Machine Learning and Computer Science
Vol. 6 No. 3 (2026): MALCOM July 2026

Hybrid Learning for Automated E-commerce Churn Prediction with XGBoost and SHAP

Henry, Amir Acalapati (Unknown)
Arribathi, Abdul Hamid (Unknown)
Henderi, Henderi (Unknown)



Article Info

Publish Date
28 Jul 2026

Abstract

Customer retention is a critical challenge in the e-commerce industry, yet many platforms frequently suffer from a lack of explicit labels to identify potential defectors (churn). This research proposes a hybrid unsupervised-supervised learning framework to perform automated churn classification using the high-dimensional Olist Brazilian E-commerce dataset. The first stage employs K-Means Clustering to objectively generate churn labels based on Recency, Frequency, and Monetary (RFM) features. The second stage applies an Extreme Gradient Boosting (XGBoost) model, augmented by the Synthetic Minority Over-sampling Technique (SMOTE), to address the inherent class imbalance typical of transactional data. Experimental results demonstrate that the proposed model achieved a robust accuracy of 72% with a churn recall rate of 69%. Interpretability analysis using SHapley Additive exPlanations (SHAP) revealed that delivery duration and customer review scores are the most dominant predictors of churn, significantly outweighing financial metrics. These findings contribute a novel integration of automated labeling and model transparency, enabling e-commerce managers to implement proactive, data-driven customer retention strategies.

Copyrights © 2026






Journal Info

Abbrev

malcom

Publisher

Subject

Computer Science & IT

Description

MALCOM: Indonesian Journal of Machine Learning and Computer Science is a scientific journal published by the Institut Riset dan Publikasi Indonesia (IRPI) in collaboration with several Universities throughout Riau and Indonesia. MALCOM will be published 2 (two) times a year, April and October, each ...