Stacking Ensemble Revenue Predictions in Digital Marketing: A SHAP-Based Analysis of Price and Quantity as Key Predictors

Authors

  • Hana Maulid Universitas Informatika dan Bisnis Indonesia image/svg+xml Author
    • Tiara Permata Hati Universitas Informatika dan Bisnis Indonesia image/svg+xml Author
      • Fikri Muhamad Fahmi Universitas Informatika dan Bisnis Indonesia image/svg+xml Author

        DOI:

        https://doi.org/10.65780/bima.v1i1.1

        Keywords:

        digital marketing, conversion prediction, stacking ensemble model, explainable AI (XAI), SHAP (Shapley Additive Explanations)

        Abstract

        This study focuses on developing a digital marketing conversion prediction model using an ensemble stacking approach combined with explainable artificial intelligence (XAI) methods to improve model transparency. The primary objective of this study is to investigate the impact of price and product quantity on revenue predictions, as well as to gain a clearer understanding of the factors that influence customer purchasing behaviour in the context of digital sales. The methodology used includes data collection from a Kaggle dataset containing 3,000 records and 15 features related to customer demographics, product information, and marketing channels. The preprocessing stage ensures data quality, followed by feature engineering and model development using an ensemble stacking model consisting of Logistic Regression, Gaussian Naïve Bayes, and Support Vector Classification. Model evaluation was conducted using precision, recall, F1-score, and ROC-AUC metrics, with performance improvements achieved through cross-validation and probabilistic calibration. The study results showed that model accuracy reached 0.97, with significant contributions from price and product quantity features, as seen in the SHAP analysis. The ensemble stacking model provided stable and reliable predictions. These findings underscore the importance of effective pricing strategies and product volume optimisation in driving revenue growth. The use of SHAP enhances interpretability, enabling businesses to make more informed decisions. This research contributes to the development of transparent and practical machine learning applications in digital marketing, providing valuable implications for business strategy optimization.

        Downloads

        Download data is not yet available.

        Downloads

        Published

        2025-11-11

        How to Cite

        Stacking Ensemble Revenue Predictions in Digital Marketing: A SHAP-Based Analysis of Price and Quantity as Key Predictors. (2025). Bulletin of Intelligent Machines and Algorithms, 1(1), 14-21. https://doi.org/10.65780/bima.v1i1.1

        Similar Articles

        You may also start an advanced similarity search for this article.