Answers are grounded in this paper and cite their sources.
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.
No takes yet. Share an insight, caveat, or question.
Barua et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: