Research Article

Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance

Volume: 9 Number: Special Issue October 28, 2026

Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance

Abstract

The combined challenge of class imbalance and model interpretability remains largely unaddressed in the online purchase intention literature, representing a significant methodological gap that this study aims to fill by developing an explainable machine learning framework for predicting online shopping behavior under severe class imbalance conditions. The Online Shoppers Purchasing Intention Dataset, comprising 12,330 user sessions with 17 behavioral features, was used with purchase completion as the binary target variable, and four models, namely Logistic Regression (LR), AdaBoost (AB), Random Forest (RF), and CatBoost (CB), were developed and optimized using grid search with stratified cross-validation; given the severe class imbalance in the dataset, a comprehensive set of metrics, including ROC-AUC, balanced accuracy, precision, recall, and F1-score, were computed to ensure robust evaluation. CatBoost outperformed all other models, achieving a ROC-AUC of 0.9256 and an F1-score of 0.6450, and SHAP-based interpretability analysis identified page values, seasonality, and exit rates as the dominant behavioral predictors of purchase intention. The proposed framework integrates predictive modeling with post-hoc interpretability, offering actionable insights for e-commerce conversion optimization and data-driven marketing strategy development, and addresses the identified methodological gap by jointly handling class imbalance and interpretability within a single evaluation pipeline.

Keywords

References

  1. Abdullah-All-Tanvir, Khandokar, I. A., Islam, A. K. M. M., Islam, S., & Shatabda, S. (2023). A gradient boosting classifier for purchase intention prediction of online shoppers. Heliyon, 9(4), e15163. https://doi.org/10.1016/j.heliyon.2023.e15163
  2. Alamuri, O. R. S. G., & Bondalapu, C. K. (2026). Predicting e-commerce purchase intention using machine learning. ASEAN Journal of Science and Technology Reports, 29(1), e260159. https://doi.org/10.55164/ajstr.v29i1.260159
  3. Ali, C. S. M., & Zeebaree, S. R. M. (2025). Personalization in digital marketing: Leveraging machine learning for e-commerce. Asian Journal of Research in Computer Science, 18(3), 105-129. https://doi.org/10.9734/ajrcos/2025/v18i3582
  4. Al-Otaibi, Y. D. (2024). Enhancing e-commerce strategies: A deep learning framework for customer behavior prediction. Engineering, Technology & Applied Science Research, 14(4), 15656-15664. https://doi.org/10.48084/etasr.7945
  5. Balyemah, A. J., Weamie, S. J. Y., Bin, J., Jarnda, K. V., & Joshua, F. J. (2024). Predicting purchasing behavior on e-commerce platforms: A regression model approach for understanding user features that lead to purchasing. International Journal of Communications, Network and System Sciences, 17, 81-103. https://doi.org/10.4236/ijcns.2024.176006
  6. Bauer, J., & Jannach, D. (2021). Improved customer lifetime value prediction with sequence-to-sequence learning and feature-based models. ACM Transactions on Knowledge Discovery from Data, 15(5), Article 80. https://doi.org/10.1145/3441444
  7. Buddula, D. V. K. R., Patchipulusu, H. H. S., Vattikonda, N., Polu, A. R., Narra, B., & Gupta, A. K. (2023). Predictive analytics in e-commerce: Effective business analysis through machine learning. JOETSR - Journal of Emerging Trends in Scientific Research, 1(1), 41-49. https://doi.org/10.5281/zenodo.15209435
  8. Chamberlain, B. P., Cardoso, Â., Liu, C. H. B., Pagliari, R., & Deisenroth, M. P. (2017). Customer lifetime value prediction using embeddings. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD '17) (pp. 1753–1762). ACM. https://doi.org/10.1145/3097983.3098123

Details

Primary Language

English

Subjects

E-Trade

Journal Section

Research Article

Publication Date

October 28, 2026

Submission Date

June 5, 2026

Acceptance Date

October 13, 2026

Published in Issue

Year 2026 Volume: 9 Number: Special Issue

APA
Özçekiç, E. (2026). Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance. InTraders International Trade Academic Journal, 9(Special Issue), 223-243. https://doi.org/10.55065/intraders.1964752
AMA
1.Özçekiç E. Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance. InTraders Journal. 2026;9(Special Issue):223-243. doi:10.55065/intraders.1964752
Chicago
Özçekiç, Erol. 2026. “Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance”. InTraders International Trade Academic Journal 9 (Special Issue): 223-43. https://doi.org/10.55065/intraders.1964752.
EndNote
Özçekiç E (October 1, 2026) Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance. InTraders International Trade Academic Journal 9 Special Issue 223–243.
IEEE
[1]E. Özçekiç, “Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance”, InTraders Journal, vol. 9, no. Special Issue, pp. 223–243, Oct. 2026, doi: 10.55065/intraders.1964752.
ISNAD
Özçekiç, Erol. “Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance”. InTraders International Trade Academic Journal 9/Special Issue (October 1, 2026): 223-243. https://doi.org/10.55065/intraders.1964752.
JAMA
1.Özçekiç E. Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance. InTraders Journal. 2026;9:223–243.
MLA
Özçekiç, Erol. “Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance”. InTraders International Trade Academic Journal, vol. 9, no. Special Issue, Oct. 2026, pp. 223-4, doi:10.55065/intraders.1964752.
Vancouver
1.Erol Özçekiç. Explainable Machine Learning-Based Online Purchase Intention Prediction under Class Imbalance. InTraders Journal. 2026 Oct. 1;9(Special Issue):223-4. doi:10.55065/intraders.1964752