Hybrid Model of Artificial Neural Networks and Flower Pollination Algorithm for Stock Price Prediction
Abstract
Predicting the future behavior of the stock market is a difficult task due to its complex and ever-changing nature. This study focuses on predicting BBRI stock prices using an Artificial Neural Network (ANN) improved with the Flower Pollination Algorithm (FPA). We found that the model works well with a 9-100-1 setup, achieving accurate predictions with a Root Mean Square Error (RMSE) of 0.127579154. While FPA effectively reduces errors in the initial 10 iterations, it faces challenges in further improvement, especially in responding to sudden changes in stock prices. Despite performing well overall, the model tends to have a wider margin during unexpected market shifts, indicating a need for additional fine-tuning. This research provides valuable insights into stock price prediction, highlighting the importance of refining models to handle unexpected market changes.
Downloads
References
E. F. Fama, “Efficient Capital Markets: A Review of Theory and Empirical Work,” J Finance, vol. 25, no. 2, pp. 383–417, 1970, [Online]. Available: http://www.jstor.org/stable/2325486
M. Vijh, D. Chandola, V. A. Tikkiwal, and A. Kumar, “Stock closing price prediction using machine learning techniques,” Procedia Comput Sci, vol. 167, pp. 599–606, 2020.
S. Mehtab and J. Sen, “A time series analysis-based stock price prediction using machine learning and deep learning models,” International Journal of Business Forecasting and Marketing Intelligence, vol. 6, no. 4, pp. 272–335, 2020.
W. Chen, H. Zhang, M. K. Mehlawat, and L. Jia, “Mean–variance portfolio optimization using machine learning-based stock price prediction,” Appl Soft Comput, vol. 100, p. 106943, 2021.
Y. Wu and J. Feng, “Development and application of artificial neural network,” Wirel Pers Commun, vol. 102, pp. 1645–1656, 2018.
B. W. Wanjawa and L. Muchemi, “ANN model to predict stock prices at stock exchange markets,” arXiv preprint arXiv:1502.06434, 2014.
A. Kurani, P. Doshi, A. Vakharia, and M. Shah, “A comprehensive comparative study of artificial neural network (ANN) and support vector machines (SVM) on stock forecasting,” Annals of Data Science, vol. 10, no. 1, pp. 183–208, 2023.
P. Yu and X. Yan, “Stock price prediction based on deep neural networks,” Neural Comput Appl, vol. 32, pp. 1609–1628, 2020.
X. Pang, Y. Zhou, P. Wang, W. Lin, and V. Chang, “An innovative neural network approach for stock market prediction,” J Supercomput, vol. 76, pp. 2098–2118, 2020.
X.-S. Yang, “Flower pollination algorithm for global optimization,” in International conference on unconventional computing and natural computation, 2012, pp. 240–249.
Afiahayati et al., “Forecasting the Cumulative COVID-19 Cases in Indonesia Using Flower Pollination Algorithm,” Computation, vol. 10, no. 12, 2022, doi: 10.3390/computation10120214.
M. A. Salam, L. Ibrahim, and D. S. Abdelminaam, “Earthquake prediction using hybrid machine learning techniques,” International Journal of Advanced Computer Science and Applications, vol. 12, no. 5, pp. 654–6652021, 2021.
S. Mohanty and R. Dash, “A flower pollination algorithm based Chebyshev polynomial neural network for net asset value prediction,” Evol Intell, pp. 1–17, 2021.
I. N. P. Trisna, A. Afiahayati, and M. Auzan, “Flower Pollination Inspired Algorithm on Exchange Rates Prediction Case,” IJCCS (Indonesian Journal of Computing and Cybernetics Systems), vol. 17, no. 3.
P. Singh, G. Bathla, D. Panwar, A. Aggarwal, and S. Gaba, “Performance Evaluation of Genetic Algorithm and Flower Pollination Algorithm for Scheduling Tasks in Cloud Computing,” in International Conference on Signal Processing and Integrated Networks, 2022, pp. 139–154.
N. Mondal, S. Mandal, M. C. Mandal, S. Das, and B. Haldar, “ANN-FPA Based Modelling and Optimization of Drilling Burrs Using RSM and GA,” in Global Congress on Manufacturing and Management, 2021, pp. 180–195.
A. B. Khoshaim, A. H. Elsheikh, E. B. Moustafa, M. Basha, and A. O. Mosleh, “Prediction of residual stresses in turning of pure iron using artificial intelligence-based methods,” Journal of Materials Research and Technology, vol. 11, pp. 2181–2194, 2021.
R. N. Choudhury, “Economic Implications of BRI,” in China’s BRI in Different Regions of the World, Routledge, 2023, pp. 34–45.
J. Zupan, “Introduction to artificial neural network (ANN) methods: what they are and how to use them,” Acta Chim Slov, vol. 41, p. 327, 1994.