Customer Churn Prediction Based on the Decision Tree and Random Forest Model

Author:

Zhao Shiyunyang

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%.

Publisher

Boya Century Publishing

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3