Enhancing E-Commerce Churn Prediction Accuracy Through the Combination of Gradient Boosting and Feature Selection
DOI:
https://doi.org/10.29207/resti.v10i4.7076Keywords:
churn, e-commerce, gradient boosting, logistic regression, random forestAbstract
As the number of e-commerce users continues to expand, analyzing user activity has become essential for improving service quality, since customers are a key factor in strengthening competitiveness and business performance in this industry. Churn, in which customers discontinue service due to dissatisfaction, requires accurate detection to support effective retention strategies. To improve churn prediction accuracy, this study explores the optimal combination of feature selection methods and machine learning classifiers. ANOVA F-Test, Information Gain, Chi-Square, Recursive Feature Elimination (RFE), Variance Threshold, and Least Absolute Shrinkage and Selection Operator (LASSO) are the six feature selection techniques that are assessed in this study. These are combined with three classification algorithms: Gradient Boosting (GB), Random Forest (RF), and Logistic Regression (LR). Gradient Boosting with either Information Gain or LASSO yields the best results, achieving approximately 98% accuracy, 97% precision, 92% recall, 96% F1-score, and 99% ROC-AUC, based on testing on a publicly available Kaggle dataset. This approach outperforms prior studies, providing a robust framework for e-commerce developers to anticipate customer loss. By identifying key predictors of churn, the proposed model offers actionable insights to enhance service and enable proactive customer management.
Downloads
References
M. Orzoł and K. S. Depczyńska, “Development trends in e-commerce sector”, Procedia Computer Science, vol. 225, pp. 4157–4166, Dec. 2023. doi: https://doi.org/10.1016/j.procs.2023.10.412
S. Baghla and G. Garg, “Performance Evaluation of Various Classification Techniques for Customer Churn Prediction in E-commerce,” Microprocessors and Microsystems, vol. 94, Oct. 2022. doi: https://doi.org/10.1016/j.micpro.2022.104680
B. Prabadevi, R. Shalini, B.R. Kavitha, “Customer churning analysis using machine learning algorithms,” International Journal of Intelligent Networks, vol. 4, pp. 145–154, 2023. doi: https://doi.org/10.1016/j.ijin.2023.05.005
eMarketer, “Global ecommerce forecast 2022,” Apr. 11, 2022. [Online]. Available: https://www.emarketer.com/content/global-ecommerce-forecast-2022
D. G. Kleinbaum and M. Klein, Logistic Regression: A Self-Learning Text, 4th ed. Cham, Switzerland: Springer, 2021. doi: https://doi.org/10.1007/978-3-030-89886-4
Obata, S., Cieszewski, C. J., Lowe, R. C., III, & Bettinger, P. “Random Forest Regression Model for Estimation of the Growing Stock Volumes in Georgia, USA, Using Dense Landsat Time Series and FIA Dataset,” Remote Sensing, vol. 13, no. 2, p. 218, 2021. doi: https://doi.org/10.3390/rs13020218
L. Patelli, M. Cameletti, N. Golini, and R. Ignaccolo, “A path in regression Random Forest looking for spatial dependence: a taxonomy and a systematic review,” arXiv preprint arXiv:2303.04693, 2023. doi: https://doi.org/10.48550/arXiv.2303.04693
H. A. Salman, A. Kalakech, and A. Steiti, “Random Forest Algorithm Overview,” Babylonian Journal of Machine Learning, 2024. doi: https://doi.org/10.58496/BJML/2024/007
S. H. Samadi, B. Ghobadian, and M. Nosrati, “Prediction of higher heating value of biomass materials based on proximate analysis using gradient boosted regression trees method,” Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, vol. 43, no. 6, pp. 672–681, 2019. doi: https://doi.org/10.1080/15567036.2019.1630521
F.-K. Wang and T. Mamo, “Gradient boosted regression model for the degradation analysis of prismatic cells,” Computers & Industrial Engineering, vol. 144, p. 106494, 2020. doi: https://doi.org/10.1016/j.cie.2020.106494
K. Rizkiyah, L. Nurmayanti, R. D. N. Macdhy, and A. Yusuf, “Pengaruh Digital Payment terhadap Perilaku Konsumen: Pengguna Platform Digital Payment OVO,” Jurnal Ilmiah Manajemen, vol. 16, pp. 107–126, Apr. 2021. doi: https://doi.org/10.33369/insight.16.1.107-126
Kim A. Johnston and Anne B. Lane, “The role of time and social churn in impact assessment: An engagement-based model,” Environmental Impact Assessment Review, vol. 71, pp. 102–109, 2018. doi: https://doi.org/10.1016/j.eiar.2018.04.009
W. H. Khoh, Y. H. Pang, S. Y. Ooi, L.-Y.-K. Wang, and Q. W. Poh, “Predictive churn modeling for sustainable business in the telecommunication industry: Optimized weighted ensemble machine learning,” Sustainability, vol. 15, 2023. DOI: https://doi.org/10.3390/su15118631
W. Park and H. Ahn, “Not all churn customers are the same: Investigating the effect of customer churn heterogeneity on customer value in the financial sector,” Sustainability, vol. 14, 2022. doi: https://doi.org/10.3390/su141912328
R. Hugo, B. Belé, C. M. António, and G. R. Ricardo, “Determinants of churn in telecommunication services: A systematic literature review,” Journal of Business Economics, 2023. doi: https://doi.org/10.1007/s11301-023-00335-7
J. Li, “Customer churn prediction using machine learning: A case study of e-commerce data,” International Journal of Computer Applications, vol. 186, no. 48, 2024. doi: https://doi.org/10.5120/ijca2024924140
B. P. Wibowo and L. A. Wulandhari, “E-commerce customer churn prediction using machine learning approaches,” Jurnal Penerapan Sistem Informasi, vol. 5, no. 4, pp. 1597–1606, 2024. doi: https://doi.org/10.30645/kesatria.v5i4.482
H. Ren, “Advances in Economics, Management and Political Sciences”, vol. 153, no. 1, pp. 47–52, 2024. doi: https://doi.org/10.54254/2754-1169/2024.19473
Y. H. Xiancheng Xiahou, "B2C E-Commerce Customer Churn Prediction Based on K-Means and SVM," Journal of Theoretical and Applied Electronic Commerce Research, vol. 17, no. 2, pp. 458-475, 6 April 2022. doi: https://doi.org/10.3390/jtaer17020024
M. Kamil and K. Katarzyna, "Customer Churn in Retail E-Commerce Business: Spatial and Machine Learning Approach," Journal of theoretical and applied electronic commerce research, vol. 17, no. 1, pp. 165-198, 2022. doi: https://doi.org/10.3390/jtaer17010009
A. L. Renato, C. S. Thiago, and M. T. Benjamin, "Propension to customer churn in a financial institution: a machine learning approach," Neural Computing and Applications, vol. 34, no. 1, p. 11751–11768, 2022. doi: https://doi.org/10.1007/s00521-022-07067-x
M. Maduna, A. Telukdarie, I. Munien, U. Okonkwo, and A. Vermeulen, “Smart Customer Churn Management System Using Machine Learning,” Procedia Computer Science, vol. 237, pp. 552–558, 2024. doi: https://doi.org/10.1016/j.procs.2024.05.139
E. Fatima et al., “Empirical Analysis of Tree-Based Classification Models for Customer Churn Prediction,” Scientific African, 2023. doi: https://doi.org/10.1016/j.sciaf.2023.e02054
Pahul et al., “Investigating Customer Churn in Banking: A Machine Learning Approach and Visualization App for Data Science and Management,” Data Science and Management, vol. 7, no. 1, pp. 7–16. 2024. doi: https://doi.org/10.1016/j.dsm.2023.09.002
S. Khalid, T. Khalil, and S. Nasreen, "A Survey of Feature Selection Techniques in Machine Learning," in Proc. 2014 Science and Information Conf. (SAI), London, UK, 2014, pp. 372–378, 2014. doi: https://doi.org/10.1109/SAI.2014.6918213
A. Elisseeff, & I. Guyon, "An Introduction to Variable and Feature Selection", Journal of Machine Learning Research, vol. 3, pp. 1157-1182, 2003.
I. Guyon, J. Weston, S. Barnhill, & V. Vapnik,, "Machines, Gene Selection for Cancer Classification using Support Vector," Machine Learning, vol. 46, p. 389–422, 2002. doi: https://doi.org/10.1023/A:1012487302797
C. E. Shannon, "A Mathematical Theory of Communication," The Bell System Technical Journal, vol. 27, no. 3, pp. 379-423, 1948. doi: https://doi.org/10.1002/j.1538-7305.1948.tb01338.x
S. Alwateer, E. Atlam, M. A. El-Raouf, O. A. Ghoneim, and I. Gad, “Missing data imputation: A comprehensive review,” Journal of Computer and Communications, vol. 12, no. 11, pp. 53–75, 2024. doi: https://doi.org/10.4236/jcc.2024.1211004
W. Zhu, R. Qiu, and Y. Fu, “Comparative study on the performance of categorical variable encoders in classification and regression tasks,” arXiv preprint, 2024. doi: https://doi.org/10.48550/arXiv.2401.09682
J. M. H. Pinheiro, S. V. B. de Oliveira, T. H. S. Silva, P. A. R. Saraiva, E. F. de Souza, L. A. Ambrosio, and M. Becker, “The impact of feature scaling in machine learning: Effects on regression and classification tasks,” arXiv preprint, 2025. doi: https://doi.org/10.48550/arXiv.2506.08274
F. Chandrashekar and S. Sahin, “A survey on feature selection methods,” Computers & Electrical Engineering, vol. 40, no. 1, pp. 16–28, 2014. doi: https://doi.org/10.1016/j.compeleceng.2013.11.024
S. Abdumalikov and Y. Yusupov, “Performance analysis and improvement of machine learning with various feature selection methods for EEG-based emotion classification,” Applied Sciences, vol. 14, no. 22, 2024. doi: https://doi.org/10.3390/app142210511
P. Nicholas, et.al, “A review of feature selection methods for machine learning,” Frontiers in Bioinformatics, vol. 2, 2022. doi: https://doi.org/10.3389/fbinf.2022.927312
A. Sikri, N. P. Singh, and S. Dalal, “Chi-square method of feature selection: Impact of pre-processing of data,” International Journal of Intelligent Systems and Applications in Engineering, vol. 11, pp. 241–248, 2023.
A. M. Priyatno and T. Widyaningtyas, “A systematic literature review: Recursive feature elimination algorithms,” Jurnal Ilmu Pengetahuan dan Teknologi Komputer, vol. 9, no. 2, pp. 196–207, 2024. doi: https://doi.org/10.33480/jitk.v9i2.5015
A. Gupta, “Feature selection techniques in machine learning,” Analytics Vidhya, 2023. [Online]. Available: https://www.analyticsvidhya.com/blog/2020/10/feature-selection-techniques-in-machine-learning/
M. Parzinger, L. Huber, F. Sauter, and U. Schmid, “Comparison of different training data sets from simulation and experimental measurement with artificial users foroccupancy detection – Using machine learning methods Random Forest and LASSO,” Building and Environment, vol. 223, 2022. doi: https://doi.org/10.1016/j.buildenv.2022.109313
D. W. Hosmer, S. Lemeshow, and R. X. Sturdivant, Applied Logistic Regression, 3rd ed. Hoboken, NJ: Wiley, 2013. doi: https://doi.org/10.1002/9781118548387
F. Piotr and Z. Adam, “Benchmarking state-of-the-art gradient boosting algorithms for classification,” arXiv preprint arXiv:2305.17094, 2023. doi: https://doi.org/10.48550/arXiv.2305.17094
W. R. Lydia, “Enhancing the performance of gradient boosting trees on regression problems,” Journal of Big Data, 2025. doi: https://doi.org/10.1186/s40537-025-01071-3
Downloads
Published
Issue
Section
License
Copyright in each article belongs to the author
- The author acknowledges that the RESTI Journal (System Engineering and Information Technology) is the first publisher to publish with a license Creative Commons Attribution 4.0 International License.
- Authors can enter writing separately, arrange the non-exclusive distribution of manuscripts that have been published in this journal into other versions (eg sent to the author's institutional repository, publication in a book, etc.), by acknowledging that the manuscript has been published for the first time in the RESTI (Rekayasa Sistem dan Teknologi Informasi) journal ;





