/credit_card_churners

Customer relations are essential for businesses to keep up proactive service brand and maintain a high standard of communication. In banks, credit card customers churn, and banks lose business. The dataset of bank credit card customers' churn provides many customer profile characteristics. They list cardholders' profiles and capture their tiers of credit limits, account age, and other activity and demographic features. We analyzed the factors that affected the customers' attrition and developed models to predict and identify customers at high risk for attrition so that the bank management can understand the potential reasons for churning customers and proactively act upon them. The study intends to provide support to the customer success division in banks to increase customer engagement and allow customer relations to interact with those high-risk customers to maintain them proactively. The dataset is from the Kaggle website. It has 10K records and 20 features. 15 numerical and 6 categorical. The dataset was complete and did not have any missing values, and it did not require cleaning. The target feature of interest is a binary flag indicating whether a customer is an attrited customer or not. The target feature is imbalanced at 16% ratio. To counter the imbalance, we applied resampling and class weight factors attributes. The dataset is split into training and testing subsets. The training, tuning, and validation steps used the training dataset, and the testing dataset was held out to be only used in the last step to test the models. Multiple machine learning models were evaluated, including Stochastic Gradient Descent, Decision trees, and Random Forests. The best results were achieved by the Random Forest ensemble achieving 0.95 accuracy while maintaining high scores for F1, Recall, and Precision (0.86, 0.90, 0.83). The study concluded that account activity-related features such as the amount and count of transactions were the top influencing features that affected the attrited customers and that demographic features were not helpful.

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Watchers