Adaptive Hyperparameter Optimization for Financial Time Series Forecasting: A Chameleon Swarm-driven XGBoost Approach
Abstract
Time series forecasting is a central theme in the financial market, and the ability to estimate stock prices and trends accurately has a direct impact on investment strategies and risk management decisions. Statistical methods and neural network-based models often struggle to cope with the nonlinear and erratic nature of financial data. This work is aware of these shortcomings and proposes a new model, Weighted Chameleon Swarm-driven eXtreme Gradient Boosting (WCS-XGBoost), to improve prediction performance in challenging time series cases. Historical stock price data from credible public sources is collected, emphasizing daily closing prices and corresponding technical indicators. The data is normalized, then undergoes feature extraction via Principal Component Analysis (PCA) to reduce dimensionality while maintaining signal integrity. The predictive engine's central component, WCS-XGBoost, utilizes Chameleon Swarm Optimization to fine-tune XGBoost hyperparameters adaptively, maximizing accuracy and generalization. The model was implemented in python that exhibited superior performance with a Root Mean Square Error (RMSE) of 0.2312, accuracy of 98.69%, and Mean Absolute Percentage Error (MAPE) of 0.321, all of which were significantly better than baseline models. This framework highlights the potential of hybrid evolutionary learning in the advancement of stock market forecasting methodologies.DOI:
https://doi.org/10.31449/inf.v49i19.9935Downloads
Published
How to Cite
Issue
Section
License
Authors retain copyright in their work. By submitting to and publishing with Informatica, authors grant the publisher (Slovene Society Informatika) the non-exclusive right to publish, reproduce, and distribute the article and to identify itself as the original publisher.
All articles are published under the Creative Commons Attribution license CC BY 3.0. Under this license, others may share and adapt the work for any purpose, provided appropriate credit is given and changes (if any) are indicated.
Authors may deposit and share the submitted version, accepted manuscript, and published version, provided the original publication in Informatica is properly cited.







