Implementing XGBoost Model for Predicting Customer Churn in E-Commerce Platforms

Abstract
Customer churn is a major challenge in e-commerce, directly affecting revenue and profit. This study aims to develop a machine learning model using XGBoost to predict churn probability. To handle class imbalance, SMOTE was applied as a resampling method, and hyperparameter tuning was performed to enhance performance. The model was evaluated using the F2-score, prioritizing recall while maintaining precision. The results show that the XGBoost model with SMOTE achieves strong performance, with an F2-score of 0.849 on the tuned test data. This model can help businesses identify at-risk customers early, enabling proactive retention strategies.
Keywords
How to Cite

Andy Hermawan, et al. (2025). Implementing XGBoost Model for Predicting Customer Churn in E-Commerce Platforms. Repeater : Publikasi Teknik Informatika dan Jaringan, 3(2). https://doi.org/10.62951/repeater.v3i2.401

Andy Hermawan; Aji Saputra; Muhammad Dhika Rafi; Syafiq Basmallah; Yilmaz Trigumari Syah Putra; Wafa Nabila, "Implementing XGBoost Model for Predicting Customer Churn in E-Commerce Platforms," Repeater : Publikasi Teknik Informatika dan Jaringan, vol. 3, no. 2, 2025.

Andy Hermawan; Aji Saputra; Muhammad Dhika Rafi; Syafiq Basmallah; Yilmaz Trigumari Syah Putra; Wafa Nabila. "Implementing XGBoost Model for Predicting Customer Churn in E-Commerce Platforms." Repeater : Publikasi Teknik Informatika dan Jaringan, vol. 3, no. 2, 2025.

Andy Hermawan; Aji Saputra; Muhammad Dhika Rafi; Syafiq Basmallah; Yilmaz Trigumari Syah Putra; Wafa Nabila. "Implementing XGBoost Model for Predicting Customer Churn in E-Commerce Platforms." Repeater : Publikasi Teknik Informatika dan Jaringan 3, no. 2 (2025).

Andy Hermawan, et al. (2025) 'Implementing XGBoost Model for Predicting Customer Churn in E-Commerce Platforms', Repeater : Publikasi Teknik Informatika dan Jaringan, 3(2). doi: 10.62951/repeater.v3i2.401.

Andy Hermawan; Aji Saputra; Muhammad Dhika Rafi; Syafiq Basmallah; Yilmaz Trigumari Syah Putra; Wafa Nabila. Implementing XGBoost Model for Predicting Customer Churn in E-Commerce Platforms. Repeater : Publikasi Teknik Informatika dan Jaringan. 2025;3(2).

Artikel Terkait
Tren Sitasi Jurnal