Abstract
The increasing use of credit cards provides significant economic benefits to banks but also presents challenges in managing risks, one of which is customer churn. Churn occurs when customers stop using credit card services, potentially leading to financial losses and reduced revenue. This study aims to predict customer churn in credit card users using the Random Forest and XGBoost methods. The dataset comprises 5,000 customer records, with class imbalance consisting of 800 churn and 4,200 non-churn cases, addressed using the Synthetic Minority Over-sampling Technique (SMOTE). Analysis indicates that customers aged 40–55 dominate the churn group, with factors such as marital status, education level, transaction count, and total transaction value contributing to churn. Model evaluation shows that XGBoost achieves 96% accuracy with a precision of 86%, recall of 89%, and an F1-score of 87% for the minority class after tuning, although accuracy did not improve compared to pre-tuning. In contrast, Random Forest showed an increase in accuracy from 95% to 96% after tuning, with the F1-score for the minority class improving from 85% to 88%. Both models demonstrated excellent performance, but XGBoost excelled in identifying the minority class. Thus, XGBoost is recommended as the best model for churn prediction in this study.

This publication has 21 references indexed in Scilit: