2606004363
  • Open Access
  • Article

A Cloud-Based Random Forest Framework Optimized with Bat Algorithm for E-Commerce Transaction Prediction

  • T. Kalaikumaran

Received: 07 Apr 2026 | Revised: 05 Jun 2026 | Accepted: 22 Jun 2026 | Published: 30 Jun 2026

Abstract

With the continued growth of ecommerce platforms, a vast amount of transaction data is produced that relies on predictive analytics systems to be scalable, accurate and speedy. But the traditional Machine Learning models suffer a problem with Tuning hyperparameters, it requires high computation cost and is not very scalable in the cloud environment making it quite difficult when using it for real time production. It is observed that the current methods have unnecessarily been employed. As such, in this research, a new approach to boost the transaction and the customer satisfaction prediction using an artificial intelligence-based Cloud based Random Forest—Bat Algorithm (RF-BA) is proposed. In the end, the Bat Algorithm could effectively reduce the inaccuracy and computation and makes the task a very efficient hyperparameter optimization and feature selection procedure. A real-life e-commerce Customer Behavior dataset from Kaggle is used in the experiments for test scalability and computation time for the e-commerce dataset in the cloud computing environment. RF-BA obtains the 0.91 for accuracy, 0.89 for precision, 0.90 for recall, 0.895 for F1-score and 0.92 for ROC-AUC which all beats normal RF (0.80 for accuracy and 0.74 for F1-score) and Grid search optimization on RF (0.839 for accuracy and 0.75 for F1-score) in the same experiment setup on the same dataset and same train/test set splitting. The analysis of scalability shows that there is a near-linear increment in processing time from 5 to 33 s for 10,000 to 100,000 transactions, whereas computation time is brought down to 35 s. Results like these demonstrate the framework’s ability to manage enormous scale real-time ecommerce analytics.

References 

  • 1.

    Lei, C.; Zhang, H.; Wang, Z.; et al. Multi-model fusion demand forecasting framework based on attention mechanism. Processes 2024, 12, 2612. https://doi.org/10.3390/pr12112612.

  • 2.

    He, Q.; Tu, J.; Ye, Z.; et al. Association rule mining through combining hybrid water wave optimization algorithm with Levy flight. Mathematics 2023, 11, 1195. https://doi.org/10.3390/math11051195.

  • 3.

    AbuAlghanam, O.; Alazzam, H.; Alhenawi, E.; et al. Fusion-based anomaly detection system using modified isolation forest for internet of things. J. Ambient Intell. Human Comput. 2023, 14, 131–145. https://doi.org/10.1007/s12652-022-04393-9.

  • 4.

    Fakhouri, H.N.; Alawadi, S.; Awaysheh, F.M.; et al. Novel hybrid success history intelligent optimizer with Gaussian transformation: Application in CNN hyperparameter tuning. Cluster Comput. 2024, 27, 3717–3739. https://doi.org/10.1007/s10586-023-04161-0.

  • 5.

    Karimi, Y.; Haghi Kashani, M.; Akbari, M.; et al. Leveraging big data in smart cities: A systematic review. Concurr. Comput. Pract. Exper. 2021, 33, e6379. https://doi.org/10.1002/cpe.6379.

  • 6.

    Alotaibi, B. A survey on industrial internet of things security: Requirements, attacks, AI-based solutions, and edge computing opportunities. Sensors 2023, 23, 7470. https://doi.org/10.3390/s23177470.

  • 7.

    Zhang, X.; Guo, F.; Chen, T.; et al. A brief survey of machine learning and deep learning techniques for e-commerce research. J. Theor. Appl. Electron. Commer. Res. 2023, 18, 2188–2216. https://doi.org/10.3390/jtaer18040110.

  • 8.

    Evans, P. Scaling and assessment of data quality. Acta Cryst. D 2006, 62, 72–82. https://doi.org/10.1107/S0907444905036693.

  • 9.

    Allur, N.S.; Deevi, D.P.; Dondapati, K.; et al. Operation research—The influence of venture capital on the growth of e-commerce listed enterprises. Int. J. Innovation Technol. Management 2024, 21, 2450057. https://doi.org/10.1142/S0219877024500573.

  • 10.

    Guan, H.; Zhu, L. Dynamic risk assessment and intelligent decision support system for cross-border payments based on deep reinforcement learning. J. Adv. Comput. Syst. 2023, 3, 80–92. https://doi.org/10.69987/JACS.2023.30907.

  • 11.

    Alghazzawi, D.M.; Alquraishee, A.G.A.; Badri, S.K.; et al. ERF-XGB: Ensemble random forest-based XG boost for accurate prediction and classification of e-commerce product review. Sustainability 2023, 15, 7076. https://doi.org/10.3390/su15097076.

  • 12.

    Alavilli, S.K.; Kadiyala, B.; Vasamsetty, C.; et al. A bidirectional LSTM and stochastic fuzzy systems for improved chronic kidney disease prediction in IoMT-based robotic automation: Improved chronic kidney disease. Int. J. Adv. Res. Inf. Technol. Manag. Sci. 2024, 1, 68–74.

  • 13.

    Bagwari, A.; Sinha, A.; Singh, N.K.; et al. CBIR-DSS: Business decision oriented content-based recommendation model for e-commerce. Information 2022, 13, 479. https://doi.org/10.3390/info13100479.

  • 14.

    Wolniak, R.; Stecuła, K.; Aydın, B. Digital transformation of grocery in-store shopping-scanners, artificial intelligence, augmented reality and beyond: A review. Foods 2024, 13, 2948. https://doi.org/10.3390/foods13182948.

  • 15.

    Petroșanu, D.-M.; Pîrjan, A.; Căruţaşu, G.; et al. E-commerce sales revenues forecasting by means of dynamically designing, developing and validating a directed acyclic graph (DAG) network for deep learning. Electronics 2022, 11, 2940. https://doi.org/10.3390/electronics11182940.

  • 16.

    Garikipati, V.; Kumar, V. Optimizing traffic management and cloud security in software networks using advanced deep learning models for application and attack classification. Int. J. HRM Organ. Behav. 2020, 8, 127–134.

  • 17.

    Mosa, D.T.; Sorour, S.E.; Abohany, A.A.; et al. CCFD: Efficient credit card fraud detection using meta-heuristic techniques and machine learning algorithms. Mathematics 2024, 12, 2250. https://doi.org/10.3390/math12142250.

  • 18.

    Huang, F.; Lin, M.; Khattak, S.I. Form uncertainty to sustainable decision-making: A novel MIDAS-AM-DeepAR-based prediction model for e-commerce industry development. Sustainability 2024, 16, 6029. https://doi.org/10.3390/su16146029.

  • 19.

    Mogarala Guruvaya, A.; Kollu, A.; Divakarachari, P.B.; et al. Bi-GRU-APSO: Bi-directional gated recurrent unit with adaptive particle swarm optimization algorithm for sales forecasting in multi-channel retail. Telecom 2024, 5, 537–555. https://doi.org/10.3390/telecom5030028.

  • 20.

    Dong, L.; Zeng, W.; Wu, L.; et al. Estimating the pan evaporation in northwest China by coupling CatBoost with bat algorithm. Water 2021, 13, 256. https://doi.org/10.3390/w13030256.

  • 21.

    Ayala-Berdon, J.; Medina-Bello, K.I.; Lopez-Cuamatzi, I.L.; et al. Random forest is the best species predictor for a community of insectivorous bats inhabiting a mountain ecosystem of central Mexico. Bioacoustics 2021, 30, 608–628. https://doi.org/10.1080/09524622.2020.1835539.

  • 22.

    Gudivaka, R.L.; Gudivaka, B.R.; Gudivaka, R.K.; et al. Optimizing robotics and automation workflows in cloud manufacturing frameworks with np-complexity solutions. Int. J. Mod. Electron. Commun. Eng. 2023, 11, 44–61.

  • 23.

    Yılmaz Benk, G.; Badur, B.; Mardikyan, S. A new 360° framework to predict customer lifetime value for multi-category e-commerce companies using a multi-output deep neural network and explainable artificial intelligence. Information 2022, 13, 373. https://doi.org/10.3390/info13080373.

  • 24.

    Jayaprakasam, B.S.; Thanjaivadivel, M. Cloud-enabled time-series forecasting for hospital readmissions using transformer models and attention mechanisms. Indo-Am. J. Life Sci. Biotechnol. 2021, 18, 57–77.

  • 25.

    Tripathi, D.; Edla, D.R.; Kuppili, V.; et al. Binary Bat algorithm and RBFN based hybrid credit scoring model. Multimed. Tools Appl. 2020, 79, 31889–31912. https://doi.org/10.1007/s11042-020-09538-6.

  • 26.

    Nagaraj, P.B.; Aiswarya, R.S. Optimizing manufacturing processes through machine learning: A random forest and PCA approach with continuous monitoring and resilient model deployment. Indo-Am. J. Pharm. Bio Sci. 2024, 22, 9–17.

  • 27.

    Lima, A.A.; Mridha, M.F.; Das, S.C.; et al. A comprehensive survey on the detection, classification, and challenges of neurological disorders. Biology 2022, 11, 469. https://doi.org/10.3390/biology11030469.

  • 28.

    Gollavilli, V.S.B.H. PMDP: A secure multiparty computation framework for maintaining multiparty data privacy in cloud computing. J. Sci. Technol. 2022, 7, 163–174.

  • 29.

    Li, T.; Xia, T.; Wang, H.; et al. Smartphone app usage analysis: Datasets, methods, and applications. IEEE Commun. Surv. Tutor. 2022, 24, 937–966. https://doi.org/10.1109/COMST.2022.3163176.

  • 30.

    Ganesan, T.; Devarajan, M.V. Integrating IoT, fog, and cloud computing for real-time ECG monitoring and scalable healthcare systems using machine learning-driven signal processing techniques. Int. J. Inf. Technol. Comput. Eng. 2021, 9, 202–217.

  • 31.

    Radhakrishnan, P.; Ganesan, S.; Musam, V.S.; et al. Testing hypotheses in IoT business intelligence: Leveraging big data analytics and advanced techniques. Int. J. Inf. Technol. Comput. Eng. 2024, 12, 226–242.

  • 32.

    Carta, S.; Corriga, A.; Ferreira, A.; et al. A holistic auto-configurable ensemble machine learning strategy for financial trading. Computation 2019, 7, 67. https://doi.org/10.3390/computation7040067.

  • 33.

    Mandala, R.R. Optimizing secure cloud-enabled telemedicine system using LSTM with stochastic gradient descent. J. Sci. Technol. 2018, 3, 57–64.

  • 34.

    Bhadana, D.; Arulkumaran, G. Stams-enabled genomic smart farming: A spectrotemporal intelligence framework for adaptive zone treatment and crop optimization. Int. J. Eng. Technol. Res. Manag. 2019, 3, 2456–9348.

Share this article:
How to Cite
Kalaikumaran, T. A Cloud-Based Random Forest Framework Optimized with Bat Algorithm for E-Commerce Transaction Prediction. Artificial Intelligence and Emerging Technologies 2026, 3 (2), 7. https://doi.org/10.53941/aiet.2026.100007.
RIS
BibTex
Copyright & License
article copyright Image
Copyright (c) 2026 by the authors.