Enhancing currency prediction in international e-commerce: Bayesian-optimized random forest approach using the Klarna dataset

Sara Rhouas, Anas El Attaoui, Norelislam El Hami


In the ever-evolving landscape of global commerce, marked by the convergence of digital transformation and borderless markets, this research addresses the intricate challenges of currency exchange and risk management. Leveraging Bayesian optimization, the study fine-tunes the random forest algorithm using the extensive Klarna E-commerce dataset. Through systematic analysis, the research uncovers insights into managing currency prediction amid dynamic global markets. Emphasizing the role of Bayesian optimization parameters, the study reveals nuanced trade-offs in model performance. Notably, the optimal simulation, conducted with 14 iterations, 1 job, and a random state set to 684, exhibits a standout performance, showcasing a negative mean squared error (MSE) of approximately -0.9891 and an accuracy rate of 74.63%. The primary objective is to assess the impact of Bayesian optimization in enhancing the random forest algorithm's predictive capabilities, particularly in currency prediction within international e-commerce. These findings offer refined strategies for businesses navigating the intricate landscape of global finance, empowering decision-making through a comprehensive understanding of data, algorithms, and challenges in international commerce.


Machine learning; Random forest; Bayesian optimization; Big data; Klarna; E-commerce

Full Text:


DOI: http://doi.org/10.11591/ijece.v14i3.pp3177-3186

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).