Machine Learning–Based Random Forest Prediction of Online Shopping Behavior in the Digital Economy

Against the backdrop of the continuous development of the digital economy, consumers' online shopping behaviors have become increasingly complex. Predicting consumers' purchasing behavior has become a major challenge. Based on the e-commerce behavior data in February 2021, this study constructed a consumer online purchase prediction model using Random Forest. The performance of prediction model for out-of-sample data has been enhanced through rigorous data cleaning, feature engineering, and class balancing. The accuracy and recall exceed the 0.90, and the F1-score exceeds 0.80. Exploratory data analysis has demonstrated to reveal behavioral patterns related to time and price. Furthermore, this study has proposed significant strategies for the enhancement of conversion of shopping carts into purchases. Feature importance analysis in this study has found that the four important factors influencing purchase intention are as follows: cart_event_ratio, total_events, cart_per_product and view_count. This study proposes a practical, data-driven framework for e-commerce practitioners to predict consumers' online purchasing behavior more accurately. Furthermore, the conversion strategies for online shopping will be effectively improved in the highly competitive digital economy.

Authors

Institutions

Publication Details

Published
2025-04-25
DOI
https://doi.org/10.1145/3745133.3745186
Citations
2
Primary Topic
Customer churn and segmentation
Type
article
Field-Weighted Citation Impact
4.15
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning–Based Random Forest Prediction of Online Shopping Behavior in the Digital Economy

Jiajing Zhang, Jianbang Lin, Yingpeng Zhang, Tian Wang
2 citations
Customer churn and segmentation
4.15
article

Machine Learning–Based Random Forest Prediction of Online Shopping Behavior in the Digital Economy

Jiajing Zhang, Jianbang Lin, Yingpeng Zhang, Tian Wang
article en
2 citations

Abstract

Against the backdrop of the continuous development of the digital economy, consumers' online shopping behaviors have become increasingly complex. Predicting consumers' purchasing behavior has become a major challenge. Based on the e-commerce behavior data in February 2021, this study constructed a consumer online purchase prediction model using Random Forest. The performance of prediction model for out-of-sample data has been enhanced through rigorous data cleaning, feature engineering, and class balancing. The accuracy and recall exceed the 0.90, and the F1-score exceeds 0.80. Exploratory data analysis has demonstrated to reveal behavioral patterns related to time and price. Furthermore, this study has proposed significant strategies for the enhancement of conversion of shopping carts into purchases. Feature importance analysis in this study has found that the four important factors influencing purchase intention are as follows: cart_event_ratio, total_events, cart_per_product and view_count. This study proposes a practical, data-driven framework for e-commerce practitioners to predict consumers' online purchasing behavior more accurately. Furthermore, the conversion strategies for online shopping will be effectively improved in the highly competitive digital economy.

Guangdong University of Foreign Studies (CN), Guilin University of Technology (CN), Nanfang Hospital (CN), Guilin Tourism University, Nanfang College Guangzhou
Openalex Percentile: Top 6%
Customer churn and segmentation
4.15
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.

Machine Learning–Based Random Forest Prediction of Online Shopping Behavior in the Digital Economy — Jiajing Zhang, Jianbang Lin, et al. · (2025) | TGRS Research Map | TGRS