Abstract
The rate at which customers discontinue utilizing a company's services during a predetermined time period is known as the customer churn rate, also known as the attrition rate. Hence, developing a prediction model to predict the potential churn customers will generate an early alert for the company to provide them with better service. This study is divided into two main parts: dealing with a dataset about customer behaviors in a bank and building churn prediction models using machine learning algorithms. The data preprocessing part includes dataset description and some adjustments on original dataset to make it accessible for analysis, including deleting unimportant feature and adjusting feature names. Then the study apportions the modified dataset into train set and test set with an 80-20 split. Next, the study imports two kinds of machine learning algorithms, random forest classifier and decision tree classifier, to build churn prediction models. In each model, the study first performs feature selections and visualizes feature importance in bar graphs. Then the study tests each model on testing set and visualizes model performances using confusion matrices and accuracy scores. The results show that both models get most predictions correct while random forest model has a better performance due to its higher accuracy score of 91%.
Reference10 articles.
1. Qualtrics. What is Customer Churn? Learn how to measure and prevent it, 2023. https://www.qualtrics.com/experience-management/customer/customer-churn/
2. Hubspot. What is customer Churn? 2021. https://blog.hubspot.com/service/what-is-customer-churn
3. Li, Yixin, et al. Giant fight: Customer churn prediction in traditional broadcast industry. Journal of Business Research 131, 2021, 630-639.
4. Cheng, Li Chen, Chia-Chi Wu, and Chih-Yi Chen. Behavior analysis of customer churn for a customer relationship system: an empirical case study. Journal of Global Information Management (JGIM) 27.1, 2019, 111-127.
5. Kaggle. Credit Card Customers. 2021. https://www.kaggle.com/datasets/sakshigoyal7/credit-card-customers