Enhancing Forex Trading Predictions with Machine Learning: Cloud and Local Performance Evaluation
This study investigates the performance of five machine learning algorithms-Linear Regression, Decision Tree, Random Forest, Gradient Boosting, and XGBoost-in the context of Forex market prediction. We compare these algorithms in two computational environments: a local machine using scikit-learn (sklearn) and a Spark cluster. The evaluation metrics include training and prediction times, Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and the coefficient of determination (R2). Our results reveal that while the Spark cluster generally offers superior computational efficiency, particularly for complex algorithms, the local machine performs better in terms of predictive accuracy for certain models. Linear Regression consistently shows strong performance across both environments, highlighting its suitability for simpler tasks. This research provides valuable insights into the tradeoffs between computational efficiency and predictive accuracy, guiding the selection of appropriate models and environments for large-scale financial forecasting.
Authors
- Hakima Asaidi (ORCID: https://orcid.org/0000-0002-2866-2757)
- Mourad Fariss (ORCID: https://orcid.org/0000-0001-7305-9554)
- Mohamed Bellouki (ORCID: https://orcid.org/0009-0000-8137-7720)
- Maryam Maatallah
- Badr BAY Bay
Institutions
- Abdelmalek Essaâdi University (MA)
Publication Details
- Published
- 2024-10-23
- DOI
- https://doi.org/10.1109/icds62089.2024.10756412
- Primary Topic
- Stock Market Forecasting Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00