Customer Churn Prediction in Waste Banks Using XGBoost and SMOTE

Authors

  • Indri Rahmayuni Politeknik Negeri Padang
  • Rahmi Putri Kurnia Politeknik Negeri Padang
  • Yance Sonatha Politeknik Negeri Padang
  • Yulherniwati Yulherniwati Politeknik Negeri Padang
  • Afcha Arel Pratama Politeknik Negeri Padang

DOI:

https://doi.org/10.29207/resti.v10i4.7811

Keywords:

churn prediction, customer retention, SMOTE, waste, waste bank, XGBoost

Abstract

Customer retention has become an important challenge in waste bank programs because declining member participation may reduce operational sustainability and weaken community-based waste management initiatives. However, churn prediction studies in non-commercial environmental programs such as waste banks remain limited. This study proposes a machine learning approach for customer churn prediction using operational transaction data from a waste bank managed by the Environmental Agency of Padang City, Indonesia. The dataset consisted of 34,188 transaction records representing 1,015 members collected between May 2024 and April 2026. Customer behavioral features were constructed from transaction history indicators, while class imbalance was handled using SMOTE and churn classification was performed using XGBoost under a leakage-aware customer-level train-test separation, ensuring a realistic evaluation on previously unseen members. Experimental results showed that the proposed model achieved an accuracy of 0.84, an F1-score of 0.73, and a ROC AUC value of 0.898. Feature analysis revealed that recency and transaction frequency were among the strongest predictors of churn behavior. The findings demonstrate the potential of machine learning to support participation monitoring and sustainability management in community-based waste bank systems.

 

Downloads

Download data is not yet available.

References

[1] Dinas Lingkungan Hidup Kota Padang, Dokumen Informasi Kinerja Pengelolaan Lingkungan Hidup Daerah (DIKPLHD) Kota Padang 2025 [Environmental Performance Information Document of Padang City 2025]. Padang, Indonesia, 2025.

[2] S. Dhokhikah, Y. Trihadiningrum, and S. Sunaryo, “Community participation in household solid waste reduction in Surabaya, Indonesia,” Resources, Conservation and Recycling, vol. 102, pp. 153–162, 2015. https://doi.org/10.1016/j.resconrec.2015.06.013.

[3] A. Asteria and H. Heruman, “Bank sampah sebagai alternatif strategi pengelolaan sampah berbasis masyarakat di Tasikmalaya [Waste banks as an alternative strategy for community-based waste management in Tasikmalaya],” Jurnal Manusia dan Lingkungan, vol. 23, no. 1, pp. 136–141, 2016. https://doi.org/10.22146/jml.18783.

[4] A. Kaza, L. Yao, P. Bhada-Tata, and F. Van Woerden, What a Waste 2.0: A Global Snapshot of Solid Waste Management to 2050. Washington, DC, USA: World Bank, 2018. https://doi.org/10.1596/978-1-4648-1329-0.

[5] N. Ferronato and V. Torretta, “Waste mismanagement in developing countries: A review of global issues,” International Journal of Environmental Research and Public Health, vol. 16, no. 6, p. 1060, 2019. https://doi.org/10.3390/ijerph16061060.

[6] I. Rachman, “Community participation on waste bank sustainability for household solid waste management,” Journal of Environmental Science and Sustainable Development, vol. 4, no. 2, 2021. https://doi.org/10.7454/jessd.v4i2.1123.

[7] W. Verbeke, D. Martens, C. Mues, and B. Baesens, “Building comprehensible customer churn prediction models with advanced rule induction techniques,” Expert Systems with Applications, vol. 38, no. 3, pp. 2354–2364, 2011. https://doi.org/10.1016/j.eswa.2010.08.023.

[8] A. Idris, A. Khan, and Y. S. Lee, “Intelligent churn prediction in telecom: employing mRMR feature selection and RotBoost based ensemble classification,” Applied Intelligence, vol. 39, no. 3, pp. 659–672, 2013. https://doi.org/10.1007/s10489-013-0440-x.

[9] A. Manzoor, M. A. Qureshi, E. Kidney, and L. Longo, “A Review on Machine Learning Methods for Customer Churn Prediction and Recommendations for Business Practitioners,” IEEE Access, vol. 12, pp. 70434–70463, 2024. https://doi.org/10.1109/ACCESS.2024.3402092.

[10] T. Vafeiadis, K. I. Diamantaras, G. Sarigiannidis, and K. Chatzisavvas, “A comparison of machine learning techniques for customer churn prediction,” Simulation Modelling Practice and Theory, vol. 55, pp. 1–9, 2015. https://doi.org/10.1016/j.simpat.2015.03.003.

[11] T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining (KDD), San Francisco, CA, USA, 2016, pp. 785–794. https://doi.org/10.1145/2939672.2939785.

[12] A. Ahmad, A. Jafar, and K. Aljoumaa, “Customer churn prediction in telecom using machine learning in big data platform,” Journal of Big Data, vol. 6, no. 1, 2019. https://doi.org/10.1186/s40537-019-0191-6.

[13] A. M. Hughes, Strategic Database Marketing: The Masterplan for Starting and Managing a Profitable Customer-Based Marketing Program, 4th ed. New York, NY, USA: McGraw-Hill, 2011.

[14] A. Keramati, R. Jafari-Marandi, M. Aliannejadi, I. Ahmadian, B. Mozaffari, and U. Abbasi, “Improved churn prediction in telecommunication industry using data mining techniques,” Applied Soft Computing, vol. 24, pp. 994–1012, 2014. https://doi.org/10.1016/j.asoc.2014.08.041.

[15] S. Kaufman, S. Rosset, C. Perlich, and O. Stitelman, “Leakage in data mining: Formulation, detection, and avoidance,” ACM Transactions on Knowledge Discovery from Data, vol. 6, no. 4, pp. 1–21, 2012. https://doi.org/10.1145/2382577.2382579.

[16] S. Kapoor and A. Narayanan, “Leakage and the reproducibility crisis in machine-learning-based science,” Patterns, vol. 4, no.1, p. 100804, 2023. https://doi.org/10.1016/j.patter.2023.100804.

[17] N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic minority over-sampling technique,” Journal of Artificial Intelligence Research, vol. 16, pp. 321–357, 2002. https://doi.org/10.1613/jair.953.

[18] H. He and E. A. Garcia, “Learning from imbalanced data,” IEEE Transactions on Knowledge and Data Engineering, vol. 21, no. 9, pp. 1263–1284, 2009. https://doi.org/10.1109/TKDE.2008.239.

[19] S. Arlot and A. Celisse, “A survey of cross-validation procedures for model selection,” Statistics Surveys, vol. 4, pp. 40–79, 2010. https://doi.org/10.1214/09-SS054.

[20] M. Sokolova and G. Lapalme, “A systematic analysis of performance measures for classification tasks,” Information Processing & Management, vol. 45, no. 4, pp. 427–437, 2009. https://doi.org/10.1016/j.ipm.2009.03.002.

[21] T. Fawcett, “An introduction to ROC analysis,” Pattern Recognition Letters, vol. 27, no. 8, pp. 861–874, 2006. https://doi.org/10.1016/j.patrec.2005.10.010.

[22] S. J. Haddadi, A. Farshidvard, F. dos S. Silva, J. C. dos Reis, and M. dos S. Reis, “Customer churn prediction in imbalanced datasets with resampling methods: A comparative study,” Expert Systems with Applications, vol. 246, p. 123086, 2024. https://doi.org/10.1016/j.eswa.2023.123086.

[23] T. Wongvorachan, S. He, and O. Bulut, “A comparison of undersampling, oversampling, and SMOTE methods for dealing with imbalanced classification in educational data mining,” Information, vol. 14, no. 1, p. 54, 2023. https://doi.org/10.3390/info14010054.

[24] B. Krawczyk, “Learning from imbalanced data: open challenges and future directions,” Progress in Artificial Intelligence, vol. 5, no. 4, pp. 221–232, 2016. https://doi.org/10.1007/s13748-016-0094-0.

[25] V. Chang, K. Hall, Q. A. Xu, F. O. Amao, M. A. Ganatra, and V. Benson, “Prediction of customer churn behavior in the telecommunication industry using machine learning models,” Algorithms, vol. 17, no. 6, p. 231, 2024. https://doi.org/10.3390/a17060231.

[26] T. E. Yimer, “Mitigating class imbalance in churn prediction with ensemble methods and SMOTE,” Scientific Reports, vol. 15, art. no. 16256, 2025. https://doi.org/10.1038/s41598-025-01031-0.

[27] L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001. https://doi.org/10.1023/A:1010933404324.

[28] J. H. Friedman, “Greedy function approximation: A gradient boosting machine,” Annals of Statistics, vol. 29, no. 5, pp. 1189–1232, 2001. https://doi.org/10.1214/aos/1013203451.

[29] G. Zhu, B. Wang, X. Liu, B. Song, and Z. Wang, “Customer churn prediction using improved balanced random forests,” Expert Systems with Applications, vol. 36, no. 3, pp. 5445–5449, 2009. https://doi.org/10.1016/j.eswa.2008.06.121.

Downloads

Published

2026-08-19

Issue

Section

Artificial Intelligence

How to Cite

Rahmayuni, I., Kurnia, R. P. ., Sonatha, Y. ., Yulherniwati, Y., & Pratama, A. A. . (2026). Customer Churn Prediction in Waste Banks Using XGBoost and SMOTE. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 10(4), 1079-1088. https://doi.org/10.29207/resti.v10i4.7811