CogD-ML: Cognitive determinants of social commerce purchase intention in Bangladesh using machine learning and explainable AI.
Saikat Barua, Raiyan Rahman, Abul Kalam Al Azad, Sifat Momen
Department of Mathematics and Physics, North South University, Dhaka, Bangladesh. · Department of Electrical and Computer Engineering, North South University, Dhaka, Bangladesh.
Key points
From the paper's conclusion- We report an applied integration of the Theory of Planned Behavior (TPB) with machine learning and explainable AI (XAI) to predict social media-driven e-commerce purchase intentions in Bangladesh.
Abstract
Cognitive factors are associated with online purchase intentions in developing economies, and the linear models conventionally used to study them can miss non-linear patterns. We report an applied integration of the Theory of Planned Behavior (TPB) with machine learning and explainable AI (XAI) to predict social media-driven e-commerce purchase intentions in Bangladesh. Survey data from 352 young, student-dominated consumers captured attitudes, subjective norms, perceived behavioral control, and purchase behavior on validated Likert scale items. After reliability-based labeling and feature selection, we ran an ablation across seven classical classifiers and one multilayer perceptron, with stratified five-fold cross-validation, threshold sensitivity analysis, and a cross-domain check. With all TPB constructs included, support vector machines and AdaBoost reached 92% accuracy on the held-out test set, and cross-validated mean accuracy ranged from 0.84 to 0.88 for every model except the decision tree. These figures should be read against a positive-class prevalence of 82.1%, which inflates accuracy and F1 relative to imbalance-robust measures. Transfer to an independent North Indian sample was weak, with SVM MCC falling from 0.522 to 0.315 and AUROC from 0.923 to 0.775. In SHAP analyses, the four items the model relied on most were PBC1 (motivation from frequent advertising), SN3 (approval when many others buy through social media), ATTD4 (past purchase), and SN1 (family influence). Bivariate correlations and pathway-level regression with Benjamini-Hochberg correction are interpreted as associations, not causal effects, and Brier score and log loss are reported alongside SHAP and LIME to show whether predicted probabilities are calibrated. These findings are exploratory and specific to the sampled population; given the convenience sample, the class imbalance, and the weak transfer, they are not evidence of robust generalization or of readiness for deployment.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Interpretable machine learning for predicting early mental health care-seeking among reproductive-age women in Bangladesh using BDHS 2022 dataDiscover Public Health · 2026
- Modeling and Predicting Sustainable Clothing Purchase Behavior of Bulgarian Gen Z ConsumersAdministrative Sciences · 2026
- Optimising Consumer Acceptance of Plant-Based Protein Foods: a Machine Learning and Response Surface Methodology Approach.Plant foods for human nutrition (Dordrecht, Netherlands) · 2026
- Explainable AI for Market Research Analytics: Attention-Based Deep Learning Framework for Consumer Purchase Behavior Prediction with Shapley Additive ExplanationsComputers · 2026
- Confidence over enjoyment? A cross-national explainable machine learning analysis of affective predictors of early science achievementLarge-scale Assessments in Education · 2026
- Profile-Based Auditing of Domestic Violence Survey Selection Across South AsiaarXiv · 2026