JOURNAL ARTICLE

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

Shiyunyang Zhao

Year: 2023 Journal:   BCP Business & Management Vol: 44 Pages: 339-344

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

Keywords:
Random forest Computer science Decision tree Machine learning Artificial intelligence Preprocessor Data mining Feature (linguistics) Classifier (UML) Predictive modelling Data pre-processing Feature engineering Decision stump Decision tree learning Incremental decision tree Deep learning

Metrics

7
Cited By
2.16
FWCI (Field Weighted Citation Impact)
7
Refs
0.86
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Customer churn and segmentation
Social Sciences →  Business, Management and Accounting →  Marketing
Consumer Retail Behavior Studies
Social Sciences →  Business, Management and Accounting →  Marketing
Data Mining Algorithms and Applications
Physical Sciences →  Computer Science →  Information Systems

Related Documents

BOOK-CHAPTER

Research on Ctrip Customer Churn Prediction Model Based on Random Forest

Zhijie ZhaoWanting ZhouZeguo QiuAng LiJiaying Wang

Lecture notes on data engineering and communications technologies Year: 2021 Pages: 511-523
JOURNAL ARTICLE

Customer churn prediction based on LASSO and Random Forest models

Qiannan ZhuXinyi YuYuankang ZhaoDeyi Li

Journal:   IOP Conference Series Materials Science and Engineering Year: 2019 Vol: 631 (5)Pages: 052008-052008
© 2026 ScienceGate Book Chapters — All rights reserved.