Forecasting of Philippine Stock Exchange Index Using Optimized Artificial Neural Networks with Enhanced PSO Algorithm

Forecasting of Philippine Stock Exchange Index Using Optimized Artificial Neural Networks with Enhanced PSO Algorithm

  IJETT-book-cover           
  
© 2024 by IJETT Journal
Volume-72 Issue-6
Year of Publication : 2024
Author : Dennis M. Barrios II, Bobby D. Gerardo
DOI : 10.14445/22315381/IJETT-V72I6P113

How to Cite?

Dennis M. Barrios II, Bobby D. Gerardo, "Forecasting of Philippine Stock Exchange Index Using Optimized Artificial Neural Networks with Enhanced PSO Algorithm," International Journal of Engineering Trends and Technology, vol. 72, no. 6, pp. 128-135, 2024. Crossref, https://doi.org/10.14445/22315381/IJETT-V72I6P113

Abstract
This research paper explores the application of the Enhanced Particle Swarm Optimization (PSO) algorithm, called the Random Adaptive Backtracking Particle Swarm Optimization (RAB-PSO) algorithm, to optimize Artificial Neural Networks (ANNs) for forecasting the Philippine Stock Exchange Index (PSEi). The study utilizes a dataset spanning from May 11, 2018, to May 10, 2023, sourced from Yahoo Finance and standardized for analysis. The hyperparameter of an ANN model is finetuned using the RAB-PSO algorithm to enhance forecasting accuracy. Evaluation metrics such as Root Mean Square Error (RMSE) and R² are employed to assess the performance of the optimized ANN model. The results indicate that the ANN model optimized with RAB-PSO has minimal error rates, significantly outperforming the standard PSO algorithm. Generally, this research contributes to the field of PSEi forecasting and emphasizes the significance of optimizing hyperparameters through enhanced PSO for ANNs in financial prediction tasks.

Keywords
Artificial Neural Network, Forecasting, Machine learning, Metaheuristic optimization algorithms, Particle swarm optimization, Hyperparameter optimization.

References
[1] Cristopher C. Abalorio et al., “Extended Max-Occurrence with Normalized Non-Occurrence as MONO Term Weighting Modification to Improve Text Classification,” International Journal of Advanced Computer Science and Applications, vol. 13, no. 4, pp. 91-97, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[2] Mohammad Adil et al., “Effect of Number of Neurons and Layers in an Artificial Neural Network for Generalized Concrete Mix Design,” Neural Computing and Applications, vol. 34, no. 11, pp. 8355-8363, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[3] Saahil Afaq, and Smitha Rao, “Significance of Epochs on Training a Neural Network,” International Journal of Scientific & Technology Research, vol. 9, no. 6, pp. 485-488, 2020.
[Google Scholar] [Publisher Link]
[4] M.K. Ashin Nishan, and V. Muhammed Ashiq, “Role of Energy Use in the Prediction of CO2 Emissions and Economic Growth in India: Evidence from Artificial Neural Networks (ANN),” Environmental Science and Pollution Research, vol. 27, pp. 23631-23642, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[5] Xinming Zhang, and Qiuying Lin, “Three-Learning Strategy Particle Swarm Algorithm for Global Optimization Problems,” Information Sciences, vol. 593, pp. 289-313, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[6] Ivic Jan A. Biol et al., “Automated Categorization of Research Papers with MONO Supervised Term Weighting in RECApp,” International Journal of Advanced Computer Science and Applications, vol. 14, no. 2, pp. 332-339, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[7] Bernd Bischl et al., “Hyperparameter Optimization: Foundations, Algorithms, Best Practices, and Open Challenges,” Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 13, no. 2, pp. 1-43, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[8] Anthony R. Calingo, Ariel M. Sison, and Bartolome T. Tanguilig, “Prediction Model of the Stock Market Index Using Twitter Sentiment Analysis,” International Journal of Information Technology and Computer Science, vol. 8, no. 10, pp. 11-21, 2016.
[CrossRef] [Google Scholar] [Publisher Link]
[9] Alvin Ken Steven C. Chua et al., “AI to Predict Price Movements in the Stock Market,” IEEE 13th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management, Manila, Philippines, pp. 1-6, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[10] Aleksa Cuk et al., Feedforward Multi-Layer Perceptron Training by Hybridized Method between Genetic Algorithm and Artificial Bee Colony, Data Science and Data Analytics, 1st ed., Chapman and Hall/CRC, pp.1-14, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[11] Francisco G. Dakila Jr, “The Development of Financial Markets in the Philippines and Its Interaction with Monetary Policy and Financial Stability,” BIS Papers Chapters, vol. 113, pp. 219-242, 2020.
[Google Scholar] [Publisher Link]
[12] Ian Goodfellow, Yoshua Bengio, and Aaron Courville, Deep Learning, MIT Press, pp. 1-800, 2016.
[Google Scholar] [Publisher Link]
[13] Pradnya Dixit, and Shreenivas Londhe, “Prediction of Extreme Wave Heights Using Neuro Wavelet Technique,” Applied Ocean Research, vol. 58, pp. 241–252, 2016.
[CrossRef] [Google Scholar] [Publisher Link]
[14] Doris Dumlao-Abadilla, Young, Lower-Income Filipinos Flock to Stocks Searching for Better Profits, Inquirer.Net, 2021. [Online]. Available: https://business.inquirer.net/324022/young-lower-income-filipinos-flock-to-stocks-searching-for-better-profits [15] W.S. Gayo et al., “Modeling Philippine Stock Exchange Composite Index Using Time Series Analysis,” Journal of Physics: Conference Series, vol. 622, no. 1, pp. 1-11, 2015.
[CrossRef] [Google Scholar] [Publisher Link]
[16] Peter Anuoluwapo Gbadega, and Yanxia Sun, “A Hybrid Constrained Particle Swarm Optimization-Model Predictive Control (CPSOMPC) Algorithm for Storage Energy Management Optimization Problem in Micro-Grid,” Energy Reports, vol. 8, pp. 692-708, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[17] Mustafa Göçken et al., “Integrating Metaheuristics and Artificial Neural Networks for Improved Stock Price Prediction,” Expert Systems with Applications, vol. 44, pp. 320-331, 2016.
[CrossRef] [Google Scholar] [Publisher Link]
[18] Samuel L. Smith et al., “Don’t Decay the Learning Rate, Increase the Batch Size,” arXiv, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[19] Cherry R. Gumiran et al., “Aedes Aegypti Egg Morphological Property and Attribute Determination Based on Computer Vision,” 7th International Conference on Signal and Image Processing, Suzhou, China, pp. 581-585, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[20] Yiming He et al., “Semi-Airborne Electromagnetic 2.5D Inversion Based on A PSO–LCI Strategy,” Journal of Applied Geophysics, vol. 197, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[21] Guang-Bin Huang et al., “Extreme Learning Machine for Regression and Multiclass Classification,” IEEE Transactions on Systems, Man, and Cybernetics, Part B: Cybernetics, vol. 42, no. 2, pp. 513-529, 2012.
[CrossRef] [Google Scholar] [Publisher Link]
[22] Meiyao Tao et al., “Knowledge Graph and Deep Learning Combined with a Stock Price Prediction Network Focusing on Related Stocks and Mutation Points,” Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 7, pp. 4322-4334, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[23] J. Kennedy, and R. Eberhart, “Particle Swarm Optimization,” Proceedings of ICNN’95 - International Conference on Neural Networks, Perth, WA, Australia, vol. 4, pp. 1942-1948, 1995.
[CrossRef] [Google Scholar] [Publisher Link]
[24] Herminiño C. Lagunzad et al., “Predicting the Early Sign of Diabetes Using ID3 as a Data Model,” 14th International Conference on Computer and Automation Engineering, Brisbane, Australia, pp. 135-139, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[25] Gustavo A. Lujan-Moreno et al., “Design of Experiments and Response Surface Methodology to Tune Machine Learning Hyperparameters, with a Random Forest Case-Study,” Expert Systems with Applications, vol. 109, pp. 195-205, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[26] Warren S. McCulloch, and Walter Pitts, “A Logical Calculus of the Ideas Immanent in Nervous Activity,” The Bulletin of Mathematical Biophysics, vol. 5, pp. 115-133, 1943.
[CrossRef] [Google Scholar] [Publisher Link]
[27] Josep R. Medina et al., “Armor Damage Analysis Using Neural Networks,” Coastal Structures 2003 - Proceedings of the Conference, pp. 236-248, 2003.
[CrossRef] [Publisher Link]
[28] Hoang Nguyen, and Xuan-Nam Bui, “Predicting Blast-Induced Air Overpressure: A Robust Artificial Intelligence System Based on Artificial Neural Networks and Random Forest,” Natural Resources Research, vol. 28, no. 3, pp. 893-907, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[29] Isaac Oyeyemi Olayode et al., “Comparative Traffic Flow Prediction of a Heuristic ANN Model and a Hybrid ANN-PSO Model in the Traffic Flow Modelling of Vehicles at a Four-Way Signalized Road Intersection,” Sustainability, vol. 13, no. 19, pp. 1-28, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[30] David Parker, “Property Investment Decision Making by Australian REITs,” Journal of Property Investment and Finance, vol. 32, no. 5, pp. 456-473, 2014.
[CrossRef] [Google Scholar] [Publisher Link]
[31] PSEi INDEX (PSEI.PS), Historical Data - Yahoo Finance, 2023. [Online]. Available: https://finance.yahoo.com/quote/PSEI.PS/history
[32] Nusrat Rouf et al., “Stock Market Prediction Using Machine Learning Techniques: A Decade Survey on Methodologies, Recent Developments, and Future Directions,” Electronics, vol. 10, no. 21, pp. 1-25, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[33] David E. Rumelhart, Geoffrey E. Hinton, and Ronald J. Williams, “Learning Representations by Back-Propagating Errors,” Nature, vol. 323, pp. 533-536, 1986.
[CrossRef] [Google Scholar] [Publisher Link]
[34] Ramzi M. Sadek et al., “Parkinson’s Disease Prediction Using Artificial Neural Network,” International Journal of Academic Health and Medical Research, vol. 3, no. 1, pp. 1-8, 2019.
[Google Scholar] [Publisher Link]
[35] Omur Sahin, and Bahriye Akay, “Comparisons of Metaheuristic Algorithms and Fitness Functions on Software Test Data Generation,” Applied Soft Computing, vol. 49, pp. 1202-1214, 2016.
[CrossRef] [Google Scholar] [Publisher Link]
[36] Caterina Santi, “Investor Climate Sentiment and Financial Markets,” International Review of Financial Analysis, vol. 86, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[37] Dania Saquib, Mohammed Nabeel Nasser, and Swaroop Ramaswamy, “Image Processing Based Dust Detection and Prediction of Power Using ANN in PV Systems,” Proceedings of the 3rd International Conference on Smart Systems and Inventive Technology, Tirunelveli, India, pp. 1286-1292, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[38] Debanjali Sarkar, Taimoor Khan, and Fazal Ahmed Talukdar, “Hyperparameters Optimization of Neural Network Using Improved Particle Swarm Optimization for Modeling of Electromagnetic Inverse Problems,” International Journal of Microwave and Wireless Technologies, vol. 14, no. 10, pp. 1326-1337, 2021.
[CrossRef] [Google Scholar] [Publisher Link]