A Hyperparameter-Adaptive Multilayer Perceptron Framework for Revenue Prediction Based on E-Commerce User Behavior Data

Authors

  • ID Safrizal Universitas Muhammadiyah Asahan, Kisaran, Indonesia
  • ID lili Tanti Universitas Potensi Utama, Medan, Indonesia https://orcid.org/0009-0008-0616-4440
  • ID Yan Yang Thanri Universitas Potensi Utama, Medan, Indonesia

DOI:

https://doi.org/10.30812/matrik.v25i3.5866

Keywords:

E-commerce Revenue Prediction, Hyperparameter-Adaptive, Optimization Multilayer, User Behavior Data

Abstract

Accurate revenue prediction remains a critical challenge for e-commerce platforms due to the highly nonlinear and dynamic nature of user behavior. At the same time, many existing machine learning approaches rely on static model configurations that limit predictive robustness. Although various techniques have been proposed for e-commerce revenue prediction, a systematic, performance-driven approach to adapting Multilayer Perceptron hyperparameters remains underexplored. This study proposes a hyperparameter-adaptive Multilayer Perceptron framework for predicting e-commerce revenue based on user behavior data. Revenue prediction is formulated as a binary classification problem, where outcomes are categorized into conversion and non-conversion events. The dataset comprises 12,330 e-commerce user sessions with behavioral and contextual features, including page interactions, session duration, bounce rate, and visitor characteristics. The proposed framework employs iterative hyperparameter adaptation by evaluating multiple MLP configurations with variations in network depth, activation functions, optimization algorithms, and regularization levels. Model performance is assessed using accuracy, precision, recall, F1-score, and Area Under the Curve. Experimental results indicate that the configuration with the Adam optimizer, ReLU activation, and moderate regularization
achieves the best performance, yielding 88.93% accuracy and an AUC of 0.91. These findings confirm that hyperparameter-adaptive selection significantly enhances prediction performance compared to static model settings. The proposed framework provides a systematic approach to improving revenue prediction accuracy and offers valuable insights for data-driven decision-making and strategic planning in e-commerce environments.

Downloads

Download data is not yet available.

Author Biographies

  • lili Tanti, Universitas Potensi Utama, Medan, Indonesia

    .

  • Yan Yang Thanri, Universitas Potensi Utama, Medan, Indonesia

    .

References

[1] C. Zhan, J. Li, W. Jiang, W. Sha, and Y. Guo, “E-commerce Sales Forecast Based on Ensemble Learning,” in 2020 IEEE

International Symposium on Product Compliance Engineering-Asia (ISPCE-CN), 2020, pp. 1–5, https://doi.org/10.1109/

ISPCE-CN51288.2020.9321858.

[2] S. C. Necula and V. D. P˘av˘aloaia, “AI-Driven Recommendations: A Systematic Review of the State of the Art in E-Commerce,”

vol. 13, no. 9, pp. 1–22, 2023, https://doi.org/10.3390/app13095531.

[3] B. S. Abunasser and S. S. Abu-Naser, “Predicting Customer Revenue in E-commerce Using Machine Learning a Case Study of the Google Merchandise Store BT - Advances in Intelligent Computing Techniques and Applications,” F. Saeed, F. Mohammed,

and Y. Fazea, Eds. Cham: Springer Nature Switzerland, June, 2024, pp. 27–38, https://doi.org/10.1007/978-3-031-59711-4 3.

[4] M. Sarkar, E. H. Ayon, M. T. Mia, R. K. Ray, M. S. Chowdhury, B. P. Ghosh, M. Al-Imran, M. T. Islam, and M. Tayaba,

“Optimizing E-Commerce Profits: A Comprehensive Machine Learning Framework for Dynamic Pricing and Predicting Online

Purchases,” Journal of Computer Science and Technology Studies, vol. 5, no. 4, pp. 186–193, 2023, https://doi.org/10.32996/

jcsts.2023.5.4.19.

[5] X. Zhang, F. Guo, T. Chen, L. Pan, G. Beliakov, and J.Wu, “A Brief Survey of Machine Learning and Deep Learning Techniques

for E-Commerce Research,” vol. 18, no. 4, pp. 2188–2216, 2023, https://doi.org/10.3390/jtaer18040110.

[6] Z. Li, X. Shen, Y. Jiao, X. Pan, P. Zou, X. Meng, C. Yao, and J. Bu, “Hierarchical bipartite graph neural networks: Towards

large-scale E-commerce applications,” in Proceedings - International Conference on Data Engineering, vol. 2020-April, 2020,

pp. 1677–1688, https://doi.org/10.1109/ICDE48307.2020.00149.

[7] P. Ganguly and I. Mukherjee, “Enhancing Retail Sales Forecasting with Optimized Machine Learning Models,” in 2024

4th International Conference on Sustainable Expert Systems (ICSES), October, 2024, pp. 884–889, https://doi.org/10.1109/

ICSES63445.2024.10762950.

[8] D. M. Petros, anu, G. Pˆırjan, Alexandru, A. T˘abus, c˘a, D. L. Zirra, and A. Perju-Mitran, “E-Commerce Sales Revenues Forecasting

by Means of Dynamically Designing, Developing and Validating a Directed Acyclic Graph (DAG) Network for Deep Learning,”

Electronics (Switzerland), vol. 11, no. 18, pp. 1–35, 2022, https://doi.org/10.3390/electronics11182940.

[9] S. Jayanthi, T. Suvarna Kumari, S. Inturi, B. Nathan, M. A. J. Sathya, and K. Karmakonda, “Predicting E-Commerce Revenue

with SHAP Insights: A Comparative Study of SMOTE-Enhanced Machine Learning Models,” vol. 35, no. 4, pp. 115 – 135,

2025, https://doi.org/10.52783/pmj.v35.i4s.4631.

[10] Mohammed Aljbour & ˙Isa Avcı, “Sales Prediction in E-Commerce Platforms Using Machine Learning,” in In International

Conference on Forthcoming Networks and Sustainability in the AIoT Er. Switzerland: Springer, Cham, jun 2024, pp. 207–

216, https://doi.org/10.1007/978-3-031-62881-8 17.

[11] A. Valencia-Arias, H. Uribe-Bedoya, J. D. Gonz´alez-Ruiz, G. S. Santos, E. C. Ram´ırez, and E. M. Rojas, “Artificial intelligence

and recommender systems in e-commerce. Trends and research agenda,” Intelligent Systems with Applications, vol. 24, p.

200435, December, 2024, https://doi.org/10.1016/j.iswa.2024.200435.

[12] C. O. Sakar, S. O. Polat, M. Katircioglu, and Y. Kastro, “Real-time prediction of online shoppers’ purchasing intention using

multilayer perceptron and LSTM recurrent neural networks,” Neural Computing and Applications, vol. 31, no. 10, pp. 6893–

6908, 2019, https://doi.org/10.1007/s00521-018-3523-0.

[13] S. Chatterjee, R. S. Mishra, S. Raichandani, and P. Joshi, “Response Prediction and Ranking Models for Large-Scale Ecommerce

Search,” in Springer Proceedings in Business and Economics, June, 2021, pp. 199–218, https://doi.org/10.1007/

978-981-33-6656-5 17.

[14] S. A. Rather, P. S. Bala, and P. L. Ashokan, “Training Multi-layer Perceptron Using Hybridization of Chaotic Gravitational

Search Algorithm and Particle Swarm Optimization,” in International Series in Operations Research and Management Science,

May, 2021, vol. 306, pp. 233–262, https://doi.org/10.1007/978-3-030-70281-6 13.

[15] L. Gajic, D. Cvetnic, M. Zivkovic, T. Bezdan, N. Bacanin, and S. Milosevic, “Multi-layer Perceptron Training Using Hybridized

Bat Algorithm,” pp. 689–705, June, 2021, https://doi.org/10.1007/978-981-33-6862-0 54.

[16] A. A. Heidari, H. Faris, I. Aljarah, and S. Mirjalili, “An efficient hybrid multilayer perceptron neural network with grasshopper

optimization,” Soft Computing, vol. 23, no. 17, 2019, https://doi.org/10.1007/s00500-018-3424-2.

[17] M. Garouani and M. Bouneffa, “Automated machine learning hyperparameters tuning through meta-guided Bayesian optimization,” Progress in Artificial Intelligence, pp. 1–10, 2024, https://doi.org/10.1007/s13748-023-00311-y

[18] O. R. Vincent, A. S. Makinde, and A. T. Akinwale, “A cognitive buying decision-making process in B2B e-commerce using

Analytic-MLP,” Electronic Commerce Research and Applications, vol. 25, pp. 59–69, 2017, https://doi.org/10.1016/j.elerap.

2017.08.002.

[19] K. Kelly Isyanta, “Application of Multilayer Perceptron for Digital Society Sentiment Analysis towards Indonesia Biggest Ecommerce

Platforms,” International Journal of Advanced Trends in Computer Science and Engineering, vol. 9, no. 4, 2020,

https://doi.org/10.30534/ijatcse/2020/171942020.

[20] F. M. M. Mokbal, W. Dan, A. Imran, L. Jiuchuan, F. Akhtar, and W. Xiaoxi, “MLPXSS: An Integrated XSS-Based Attack

Detection Scheme in Web Applications Using Multilayer Perceptron Technique,” IEEE Access, vol. 7, 2019, https://doi.org/10.

1109/ACCESS.2019.2927417.

[21] A. Ahmed, K. Saleem, O. Khalid, and U. Rashid, “On deep neural network for trust aware cross domain recommendations in

E-commerce,” Expert Systems with Applications, vol. 174, July, 2021, https://doi.org/10.1016/j.eswa.2021.114757.

[22] K. Madhusudhanan, S. Jawed, and L. Schmidt-Thieme, “Hyperparameter Tuning MLP’s for Probabilistic Time Series Forecasting

BT - Advances in Knowledge Discovery and Data Mining,” D.-N. Yang, X. Xie, V. S. Tseng, J. Pei, J.-W. Huang, and J. C.-

W. Lin, Eds. Singapore: Springer Nature Singapore, April, 2024, pp. 264–275, https://doi.org/10.1007/978-981-97-2266-2 21.

[23] B. Bischl, M. Binder, M. Lang, T. Pielok, J. Richter, S. Coors, J. Thomas, T. Ullmann, M. Becker, A. L. Boulesteix, D. Deng,

and M. Lindauer, “Hyperparameter optimization: Foundations, algorithms, best practices, and open challenges,” vol. 13, no. 2,

2023, https://doi.org/10.1002/widm.1484.

[24] E. Phaisangittisagul, “An Analysis of the Regularization Between L2 and Dropout in Single Hidden Layer Neural Network,”

in Proceedings - International Conference on Intelligent Systems, Modelling and Simulation, ISMS, 2016, pp. 174–179, https:

//doi.org/10.1109/ISMS.2016.14.

[25] X. Xie, M. Xie, A. J. Moshayedi, and M. H. Noori Skandari, “A Hybrid Improved Neural Networks Algorithm Based on L2

and Dropout Regularization,” Mathematical Problems in Engineering, vol. 2022, no. 1, pp. 1–19, 2022, https://doi.org/10.1155/

2022/8220453.

[26] Z. Farhadi, H. Bevrani, and M. R. Feizi-Derakhshi, “Combining Regularization and Dropout Techniques for Deep Convolutional

Neural Network,” in IEEE Global Energy Conference, GEC 2022, December, 2022, pp. 335–339, https://doi.org/10.1109/

GEC55014.2022.9986657.

[27] D. C. Gkikas and P. K. Theodoridis, “Predicting Online Shopping Behavior: Using Machine Learning and Google Analytics

to Classify User Engagement,” Applied Sciences (Switzerland), vol. 14, no. 23, pp. 1–31, dec 2024, https://doi.org/10.3390/

app142311403.

Downloads

Published

2026-07-31

Issue

Section

Articles

How to Cite

[1]
Safrizal, lili Tanti, and Y. Y. Thanri, “A Hyperparameter-Adaptive Multilayer Perceptron Framework for Revenue Prediction Based on E-Commerce User Behavior Data”, MATRIK, vol. 25, no. 3, pp. 461–472, Jul. 2026, doi: 10.30812/matrik.v25i3.5866.