Comparative Analysis of Random Forest and LSTM Models for Customer Churn Prediction Based on Customer Satisfaction and Retention

Authors

  • Babajide Gegeleso Babcock University
  • Oluwaseun Ebiesuwa Babcock University

DOI:

https://doi.org/10.56705/ijodas.v6i2.244

Keywords:

Churn, Customer, LSTM, Recommendation Systems, Retention

Abstract

Forecasting of Customer churn and prediction is important for sustaining long-term customer relationships and enhancing profitability in competitive markets. This study outlines the comparison of the performance of Random Forest (RF) and Long Short-Term Memory (LSTM) models in predicting customer churn using a dataset of 2,850 customers. The dataset comprises of behavioral, transactional, and satisfaction metrics. Key evaluation metrics include accuracy, precision, recall, F1-score, and AUC-ROC. The result clearly shows that while Random Forest offers strong baseline performance with interpretable results, LSTM captures temporal patterns very effectively and performs better in identifying subtle churn indicators, especially in sequential customer satisfaction data. The result of metrics evaluated shows LSTM has an Accuracy of 88.6%,Precision of 85.3%,Recall of 82.5%,F1-score of 83.9% and AUC-ROC of 0.92 while Random Forest has Accuracy of 85.2%,Precision of 81.5%,Recall of 77.0%,F1- Score of 79.2% and AUC-ROC of 0.89. This shows the preference of LSTM for rapidly changing and large volume dataset over RF excellence in less complicated and sparse dataset

Downloads

Download data is not yet available.

References

A. Mittal and P. Gupta, “An Empirical Study on Enhancing Product Quality and Customer Satisfaction Using Quality Assurance Approach in an Indian Manufacturing Industry,” Int. J. Math. Eng. Manag. Sci., vol. 6, no. 3, pp. 878–893, 2021, doi: 10.33889/ijmems.2021.6.3.052.

G. Gunawardane, “Enhancing customer satisfaction and experience in financial services: a survey of recent research in financial services journals,” J. Financ. Serv. Mark., vol. 28, no. 2, pp. 255–269, 2023, doi: 10.1057/s41264-022-00148-x.

K. Lepistö, M. Saunila, and J. Ukko, “Enhancing customer satisfaction, personnel satisfaction and company reputation with total quality management: combining traditional and new views,” Benchmarking, vol. 31, no. 1, pp. 75–97, 2024, doi: 10.1108/BIJ-12-2021-0749.

X. Yin and X. Tao, “Prediction of Merchandise Sales on E-Commerce Platforms Based on Data Mining and Deep Learning,” Sci. Program., vol. 2021, 2021, doi: 10.1155/2021/2179692.

M. S. Hossen, A. H. Jony, T. Tabassum, M. T. Islam, M. M. Rahman, and T. Khatun, “Hotel review analysis for the prediction of business using deep learning approach,” Proc. - Int. Conf. Artif. Intell. Smart Syst. ICAIS 2021, pp. 1489–1494, 2021, doi: 10.1109/ICAIS50930.2021.9395757.

J. C. Gope, T. Tabassum, M. M. Mabrur, K. Yu, and M. Arifuzzaman, “Sentiment Analysis of Amazon Product Reviews Using Machine Learning and Deep Learning Models,” 2022 Int. Conf. Adv. Electr. Electron. Eng. ICAEEE 2022, 2022, doi: 10.1109/ICAEEE54957.2022.9836420.

S. Beltozar-Clemente, O. Iparraguirre-Villanueva, F. Pucuhuayla-Revatta, J. Zapata-Paulini, and M. Cabanillas-Carbonell, “Predicting customer abandonment in recurrent neural networks using short-term memory,” J. Open Innov. Technol. Mark. Complex., vol. 10, no. 1, 2024, doi: 10.1016/j.joitmc.2024.100237.

L. Zhang and Q. Wei, “Personalized and Contextualized Data Analysis for E-Commerce Customer Retention Improvement With Bi-LSTM Churn Prediction,” IEEE Trans. Consum. Electron., 2024, doi: 10.1109/TCE.2024.3376672.

W. eds. Marcus, A. and Wang, “Design, User Experience, and Usability. User Experience in Advanced Technological Environments. Lecture Notes in Computer Science. Cham: Springer,” no. International Publishing. doi:https://doi.org/10.1007/978-3-030-23541-3, 2019.

L. Marozzo, F., and Belcastro, “Cloud Computing for Big Data Analysis. In: Zomaya, A., Taheri, J., Sakr, S. (eds) Encyclopedia of Big Data Technologies. Springer, Cham.,” no. https://doi.org/10.1007/978-3-319-63962-8_136-2, 2022.

P. S. Navarro, V.G., Gomez, H.G., Badenes, R.O. and Acosta, “Customer relationship management and its impact on entrepreneurial marketing: a literature review. International Entrepreneurship and Management Journal, [online],” no. 1(1). doi:https://doi.org/10.1007/s11365-022-00800-x, 2022.

R. Munné, “Big Data in the Public Sector. In: Cavanillas, J., Curry, E., Wahlster, W. (eds) New Horizons for a Data-Driven Economy.,” no. Springer, Cham. https://doi.org/10.1007/978-3-319-21569-3_11, 2016.

V. S. Nirala, K.K., Singh, N.K. and Purani, “A survey on providing customer and public administration based services using AI:,” no. chatbot. Multimedia Tools and Applications. doi:https://doi.org/10.1007/s11042-021-11458-y, 2022.

A. H. Okolie, U.C. and Ojomo, “E-Commerce in Nigeria: Benefits and Challenges. Humanities and Social Sciences:,” vol. Latvia, 28, p. pp.69–90.

J. Ologunebi, “An analysis of customer retention strategies in e-commerce fashion business in the UK: A case study of Primark. [online] Social Science Research Network. d,” no. oi:https://doi.org/10.2139/ssrn.4628521, 2023.

T. Alves Gomes, M., and Meisen, “A review on customer segmentation methods for personalized customer targeting in e-commerce use cases.,” vol. Inf Syst E, 2023.

J. J. Ashiru, F., Nakpodia, F. and You, “Adapting emerging digital communication technologies for resilience: evidence from Nigerian SMEs. Annals of Operations Research,” vol. doi:https:.

M. . Ayawei, “Assessing the Factors Underlying the Adoption of E-Commerce Among B2B SMEs.,” J. Electron. Commer. Organ. 21(1), pp.1–26. doihttps//doi.org/10.4018/jeco.333612., 2023.

S. W. Chang, H.H. and Chen, “The impact of customer interface quality, satisfaction and switching costs on e-loyalty: Internet experience as a moderator.,” Comput. Hum. Behav. 24(6), pp.2927–2944. doihttps//doi.org/10.1016/j.chb.2008.04.014., 2008.

K. Chenthara, S., Wang, H., and Ahmed, “Security and Privacy in Big Data Environment. In: Sakr, S., Zomaya, A.Y. (eds) Encyclopedia of Big Data Technologies.,” vol. Springer, 2019.

F. Perifanis, N.-A. and Kitsios, “Investigating the influence of artificial intelligence on business value in the digital era of strategy: A literature review. Information, [online] 14(2). Available,” no. at: https://www.mdpi.com/2078-2489/14/2/85, 2023.

I. H. Sarker, “Machine Learning: Algorithms, Real-World Applications and Research Directions. SN Computer Science, 2(3),” no. doi:https://doi.org/10.1007/s42979-021-00592-x, p. pp.1–21., 2021.

C. van Nes, A., and Yamu, “Empirical Data Collection and Analysis, and Connecting Data with Space Syntax. In: Introduction to Space Syntax in Urban Studies. Springer, Cham.,” no. https://doi.org/10.1007/978-3-030-59140-3_5, 2021.

L. . Huawei Technologies Co., “A General Introduction to Artificial Intelligence. In: Artificial Intelligence Technology.,” no. Springer, Singapore. https://doi.org/10.1007/978-981-19-2879-6_1, 2023.

S. Wassouf, W.N., Alkhatib, R., Salloum, K. and Balloul, “Predictive analytics using big data for increased customer loyalty: Syriatel Telecom Company case study. Journal of Big Data, [online] 7(1).,” no. doi:https://doi.org/10.1186/s40537-020-00290-0, 2020.

I. Alsolbi, F. H. Shavaki, R. Agarwal, G. K. Bharathy, S. Prakash, and M. Prasad, “Big data optimisation and management in supply chain management: a systematic literature review,” Artif. Intell. Rev., vol. 56, no. a systematic literature review. doi:https://doi.org/10.1007/s10462-023-10505-4, pp. 253–284, 2023, doi: 10.1007/s10462-023-10505-4.

Downloads

Published

2025-07-31

How to Cite

Comparative Analysis of Random Forest and LSTM Models for Customer Churn Prediction Based on Customer Satisfaction and Retention. (2025). Indonesian Journal of Data and Science, 6(2), 313-323. https://doi.org/10.56705/ijodas.v6i2.244