A deep learning architecture for analyzing and predicting customer churn data in e-commerce

E-commerce companies face fierce competition. For e-commerce companies to succeed, they must keep and attract customers by offering them the best affordable services. Taking appropriate and timely actions to keep customers likely to churn is a top priority for e-commerce companies. This study analyzes an online e-commerce dataset and uses deep learning to build a model to predict customer churn. The proposed model has been trained and tested on a dataset published at Kaggle and evaluated based on various performance metrics. Due to the nature of the data set, the distribution of the classes is unbalanced. The experimental results show that the proposed architecture achieved the highest accuracy (94.25%) using the imbalanced training strategy. Further, the Synthetic Minority Oversampling Technique (SMOTE) was used to balance the class label distribution. Similar experiments were repeated on the balanced dataset to observe changes in performance metrics values. While the SMOTE-based model does not improve overall accuracy, it achieves higher recall values, indicating that potential churn customers are identified more precisely. Finally, we calculated SHapley Additive Explanations (SHAP) values to assess the model’s interpretability and the impact of each feature on the prediction outcome.

Authors

Institutions

Publication Details

Journal
PeerJ Computer Science
Published
2026-05-01
DOI
https://doi.org/10.7717/peerj-cs.3800
Primary Topic
Customer churn and segmentation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A deep learning architecture for analyzing and predicting customer churn data in e-commerce

Bülent Tuğrul, Yilmaz Ar, Mohammed Majid Msallam, Salih Demir
PeerJ Computer Science
Customer churn and segmentation
article

A deep learning architecture for analyzing and predicting customer churn data in e-commerce

Bülent Tuğrul, Yilmaz Ar, Mohammed Majid Msallam, Salih Demir
article en

Abstract

E-commerce companies face fierce competition. For e-commerce companies to succeed, they must keep and attract customers by offering them the best affordable services. Taking appropriate and timely actions to keep customers likely to churn is a top priority for e-commerce companies. This study analyzes an online e-commerce dataset and uses deep learning to build a model to predict customer churn. The proposed model has been trained and tested on a dataset published at Kaggle and evaluated based on various performance metrics. Due to the nature of the data set, the distribution of the classes is unbalanced. The experimental results show that the proposed architecture achieved the highest accuracy (94.25%) using the imbalanced training strategy. Further, the Synthetic Minority Oversampling Technique (SMOTE) was used to balance the class label distribution. Similar experiments were repeated on the balanced dataset to observe changes in performance metrics values. While the SMOTE-based model does not improve overall accuracy, it achieves higher recall values, indicating that potential churn customers are identified more precisely. Finally, we calculated SHapley Additive Explanations (SHAP) values to assess the model’s interpretability and the impact of each feature on the prediction outcome.

PeerJ Computer ScienceVol. 12
Ankara University (TR), University of Technology - Iraq (IQ)
Industry, innovation and infrastructure
Openalex Percentile: Top 6%
Customer churn and segmentation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A deep learning architecture for analyzing and predicting customer churn data in e-commerce — Bülent Tuğrul, Yilmaz Ar, et al. · PeerJ Computer Science (2026) | TGRS Research Map | TGRS