
Research Article
Forecasting Online Shoppers’ Purchase Intentions Using Machine Learning and Ensemble Modeling
@INPROCEEDINGS{10.1007/978-3-032-24399-7_15, author={Kien Cao-Van}, title={Forecasting Online Shoppers’ Purchase Intentions Using Machine Learning and Ensemble Modeling}, proceedings={Context-Aware Systems and Applications. 14th EAI International Conference, ICCASA 2025, Ho Chi Minh City, Vietnam, October 15--16, 2025, Proceedings}, proceedings_a={ICCASA}, year={2026}, month={11}, keywords={Machine Learning Ensemble Modeling Purchase Intention E-commerce Predictive Analytics}, doi={10.1007/978-3-032-24399-7_15} }- Kien Cao-Van
Year: 2026
Forecasting Online Shoppers’ Purchase Intentions Using Machine Learning and Ensemble Modeling
ICCASA
Springer
DOI: 10.1007/978-3-032-24399-7_15
Abstract
The rapid expansion of e-commerce has emphasized the importance of accurately predicting online shoppers’ purchase intentions to refine marketing strategies, enhance user experiences, and improve conversion rates. This study explores the effectiveness of machine learning and ensemble techniques in forecasting purchase behavior using the Online Shoppers Purchasing Intention dataset. We introduce a robust framework involving preprocessing steps such as label encoding, robust scaling of numerical features, and Borderline-SMOTE to address class imbalance. Five models—Random Forest, XGBoost, LightGBM, Gradient Boosting, and Support Vector Machine—are assessed, along with their combinations through a soft voting ensemble method. Feature importance analysis using Random Forest highlights contextual predictors including “PageValues” (0.328), “Month” (0.083), and “ProductRelated_Duration” (0.083) as key factors shaping customer decisions. Results show that ensemble models, particularly combining Random Forest, LightGBM, and Gradient Boosting, outperform individual models, achieving a macro F1-score of 0.813. These findings underscore the significance of contextual user engagement metrics in predicting purchases and provide actionable insights for e-commerce platforms to boost conversion rates. The study advances the field by offering a comprehensive approach to handling imbalanced datasets and integrating context-aware feature importance with ensemble learning, with applications in personalized marketing, adaptive recommendation systems, and customer retention.

