A Temporal Feature Engineering Framework for Dual-Target Prediction of Customer Lifetime Value and Churn in E-commerce

Authors

  • Jing Fu Lanzhou Bowen College of Science and Technology
  • Xinzhe Wu Lanzhou Bowen College of Science and Technology

DOI:

https://doi.org/10.62177/apemr.v3i4.1546

Keywords:

Customer Lifetime Value, Churn Prediction, Temporal Feature Engineering, Ensemble Learning, E-commerce

Abstract

E-commerce platforms in emerging markets face increasing challenges in predicting customer lifetime value and identifying churn risks for effective resource allocation. Traditional customer analytics rely heavily on static transactional features, which fail to capture the dynamic evolution of customer behavior over time. This study develops a temporal feature engineering framework that extracts 12 time-dependent indicators from customer behavioral data, combined with ensemble learning models for dual-target prediction. Using a dataset of 50,000 customers from the Tokopedia platform in Indonesia, we constructed temporal features across three dimensions: RFM dynamics, activity patterns, and engagement indicators. The research conducted correlation analysis and distribution analysis, followed by ablation experiments to validate feature effectiveness. Random Forest achieved R² of 0.9505 for lifetime value prediction, while Gradient Boosting achieved AUC-ROC of 0.9187 for churn classification. Ablation experiments confirmed that temporal features provide meaningful incremental value, with 0.26 percentage point improvement in R² for lifetime value prediction and 1.66 percentage point improvement in AUC-ROC for churn prediction compared to baseline models. Feature importance analysis revealed that while transactional volume metrics dominate lifetime value prediction, behavioral change indicators such as Activity Deviation and Engagement Deviation are more predictive of churn risk. This framework provides practical support for e-commerce platforms to optimize retention strategies and marketing budget allocation.

Downloads

Download data is not yet available.

References

Ardhani, D. A., & Tania, K. D. (2025). Knowledge discovery on e-commerce customer churn using interpretable machine learning: A comparative study of SHAP based classifiers. Journal of Applied Informatics and Computing, 9(5), 10–25. DOI: https://doi.org/10.30871/jaic.v9i5.10811

Kumar, S., Deep, S., & Kalra, P. (2024). A comprehensive analysis of machine learning techniques for churn prediction in e commerce: A comparative study. International Journal of Computer Trends and Technology, 72(5), 163–170. DOI: https://doi.org/10.14445/22312803/IJCTT-V72I5P119

Li, J. (2024). Customer churn prediction using machine learning: A case study of e commerce data. International Journal of Computer Applications, 186(48), 22–25. DOI: https://doi.org/10.5120/ijca2024924140

Gordini, N., & Veglio, V. (2018). Customers churn prediction and marketing retention strategies. European Journal of Operational Research, 269(2), 760–772.

Win, T., & Bo, K. S. (2020). Predicting customer class using customer lifetime value with random forest algorithm. IEEE Conference Publication, 1, 1–6. DOI: https://doi.org/10.1109/ICAIT51105.2020.9261792

Alshamsi, A. (2022). Customer churn prediction in e-Commerce sector [Institutional repository document]. RIT Digital Institutional Repository.

Jain, D., & Singh, S. (2021). Profitable retail customer identification based on a combined prediction strategy of customer lifetime value. Midwest Social Sciences Journal, 24(1), 106–120. DOI: https://doi.org/10.22543/0796.241.1053

Borle, S., et al. (2024). A stacked ensemble learning method for customer lifetime value prediction. Kybernetes, 53(7), 2342–2360. DOI: https://doi.org/10.1108/K-12-2022-1676

Masood, S. (2024). Predicting sales and analysing customer lifetime value in the e commerce industry using machine learning methods. NORMA.

Zhang, X., et al. (2023). A brief survey of machine learning and deep learning techniques for e commerce research. Journal of Theoretical and Applied Electronic Commerce Research, 18(4), 2188–2216. DOI: https://doi.org/10.3390/jtaer18040110

Kumar, V., & Reinartz, W. (2024). Customer lifetime value modeling via two stage selected trees ensembles. IEEE Xplore, 1, 1–10.

Dahana, W. D., et al. (2022). A new 360 framework to predict customer lifetime value for multi category e commerce companies. MDPI, 13(8), 373–385. DOI: https://doi.org/10.3390/info13080373

Downloads

How to Cite

Fu, J., & Wu, X. (2026). A Temporal Feature Engineering Framework for Dual-Target Prediction of Customer Lifetime Value and Churn in E-commerce. Asia Pacific Economic and Management Review, 3(4). https://doi.org/10.62177/apemr.v3i4.1546

Issue

Section

Articles

DATE

Received: 2026-07-06
Accepted: 2026-07-15
Published: 2026-07-31