Philippines Stock Exchange Prediction Using Hybrid Neural Network

DOI:

https://doi.org/10.58421/misro.v3i3.213

Authors

Keywords:

Artificial Neural Network, hybrid algorithm, Kepler Optimization Algorithm, prediction, stock

Abstract

The stock market is dynamic and highly chaotic due to its complicated nature. The prediction of future stock prices has gained the interest of investors and researchers. Numerous conventional and hybrid approaches were put forth. The projections performed poorly and strangely did not get any better. This study aimed to predict Philippine Stock Exchange closing prices using a proposed hybrid method. This proposed study aimed to improve the Artificial Neural Network (ANN) performance using the Kepler Optimization Algorithm, a metaheuristic algorithm, in conjunction with the Artificial Neural Network (ANN-KOA). ANN is a widely accepted technique in predicting. Still, the Kepler Optimization Algorithm can provide random initial inputs for the method through effective feature selection. It can identify superior subsets of input variables to integrate into ANN, enabling more accurate prediction. In this study, the ups and downs were grouped, and 12 technical indicators with varying lengths of days 3, 5, 10, 15, and 20 were used to decompose the original historical data, which are regular and smoother than the original data. The historical data was normalized into [-1, 1], so the predicted result would be 0 (decrease) or 1 (increase) otherwise. Finally, to obtain the train and test data, it was fused into five groups and tested using the ANN and ANN-KOA. The experiment's outcome of 0 (a declining stock price) indicates two alternative courses of action based on the two scenarios: holding if investors have already purchased it or purchasing if they haven't made a decision. In this proposed study, ANN-KOA resulted in higher accuracy than ANN. However, regarding the number of elapsed times, KOA-ANN provided a slower time than ANN. On the other hand, in terms of variations of lengths of the days, 3-5-10-KOA-ANN outperformed the variations of lengths of days: 3-5-10-ANN, 3-5-10-15-KOA-ANN, 3-5-10-15-20-KOA, and 3-5-10-15-20-KOA-ANN. In conclusion, this study suggested that it be utilized for other problems, such as predicting academic performance, diseases, floods, etc.

Downloads

Download data is not yet available.

References

J. Bosco and F. Khan, Stock Market Prediction and Efficiency Analysis Using Recurrent Neural Network. Bod Third Party Titles, 2018. [Online]. Available: https://books.google.co.id/books?id=Xh4jvgEACAAJ

N. Rouf et al., “Stock Market Prediction Using Machine Learning Techniques: A Decade Survey on Methodologies, Recent Developments, and Future Directions,” Electronics (Basel), vol. 10, no. 21, p. 2717, Nov. 2021, doi: 10.3390/electronics10212717.

OECD, OECD Economic Outlook, Volume 2015 Issue 2. OECD, 2015. doi: 10.1787/eco_outlook-v2015-2-en.

L. N. Mintarya, J. N. M. Halim, C. Angie, S. Achmad, and A. Kurniawan, “Machine learning approaches in stock market prediction: A systematic literature review,” Procedia Comput Sci, vol. 216, pp. 96–102, 2023, doi: 10.1016/j.procs.2022.12.115.

E. Guresen, G. Kayakutlu, and T. U. Daim, “Using artificial neural network models in stock market index prediction,” Expert Syst Appl, vol. 38, no. 8, pp. 10389–10397, Aug. 2011, doi: 10.1016/j.eswa.2011.02.068.

M. Göçken, M. Özçalıcı, A. Boru, and A. T. Dosdoğru, “Integrating metaheuristics and Artificial Neural Networks for improved stock price prediction,” Expert Syst Appl, vol. 44, pp. 320–331, Feb. 2016, doi: 10.1016/j.eswa.2015.09.029.

J. Patel, S. Shah, P. Thakkar, and K. Kotecha, “Predicting stock market index using fusion of machine learning techniques,” Expert Syst Appl, vol. 42, no. 4, pp. 2162–2172, Mar. 2015, doi: 10.1016/j.eswa.2014.10.031.

C.-H. Weng and C.-K. Huang, “A Hybrid Machine Learning Model for Credit Approval,” Applied Artificial Intelligence, vol. 35, no. 15, pp. 1439–1465, Dec. 2021, doi: 10.1080/08839514.2021.1982475.

H.-C. Tsai et al., “Phasic Firing in Dopaminergic Neurons Is Sufficient for Behavioral Conditioning,” Science (1979), vol. 324, no. 5930, pp. 1080–1084, May 2009, doi: 10.1126/science.1168878.

S. Rana, M. Sarwar, A. S. Siddiqui, and Prashant, “Particle Swarm Optimization,” in Optimization Techniques in Engineering, Wiley, 2023, pp. 95–113. doi: 10.1002/9781119906391.ch6.

K. Yadav, M. Yadav, and S. Saini, “Stock values predictions using deep learning based hybrid models,” CAAI Trans Intell Technol, vol. 7, no. 1, pp. 107–116, Mar. 2022, doi: 10.1049/cit2.12052.

P. Mondal, L. Shit, and S. Goswami, “Study of Effectiveness of Time Series Modeling (Arima) in Forecasting Stock Prices,” International Journal of Computer Science, Engineering and Applications, vol. 4, no. 2, pp. 13–29, Apr. 2014, doi: 10.5121/ijcsea.2014.4202.

E. Guresen, G. Kayakutlu, and T. U. Daim, “Using artificial neural network models in stock market index prediction,” Expert Syst Appl, vol. 38, no. 8, pp. 10389–10397, Aug. 2011, doi: 10.1016/j.eswa.2011.02.068.

D. Berrar, “Cross-Validation,” in Encyclopedia of Bioinformatics and Computational Biology, Elsevier, 2019, pp. 542–545. doi: 10.1016/B978-0-12-809633-8.20349-X.

R. Seethalakshmi, “Stock Market Price Prediction Using Machine Learning,” Journal of Population Therapeutics and Clinical Pharmacology, vol. 30, no. 12, Jan. 2023, doi: 10.47750/jptcp.2023.30.12.015.

R. Seethalakshmi, “Analysis of stock market predictor variables using linear regression,” International Journal of Pure and Applied Mathematics, vol. 119, pp. 369–377, Jan. 2018.

Srivinay, B. Manujakshi, M. Kabadi, and N. Naik, “A Hybrid Stock Price Prediction Model Based on PRE and Deep Neural Network,” Data (Basel), vol. 7, no. 5, p. 51, Apr. 2022, doi: 10.3390/data7050051.

A. K. Jain, Jianchang Mao, and K. M. Mohiuddin, “Artificial neural networks: a tutorial,” Computer (Long Beach Calif), vol. 29, no. 3, pp. 31–44, Mar. 1996, doi: 10.1109/2.485891.

M. Abdel-Basset, R. Mohamed, S. A. A. Azeem, M. Jameel, and M. Abouhawwash, “Kepler optimization algorithm: A new metaheuristic algorithm inspired by Kepler’s laws of planetary motion,” Knowl Based Syst, vol. 268, p. 110454, May 2023, doi: 10.1016/j.knosys.2023.110454.

Y. Hınıslıoğlu, E. Kaymaz, and U. Güvenç, “Fitness Distance Balance Based Kepler Optimization Algorithm,” 2024, pp. 113–131. doi: 10.1007/978-3-031-56322-5_10.

M. Abdel-Basset, R. Mohamed, S. A. A. Azeem, M. Jameel, and M. Abouhawwash, “Kepler optimization algorithm: A new metaheuristic algorithm inspired by Kepler’s laws of planetary motion,” Knowl Based Syst, vol. 268, p. 110454, May 2023, doi: 10.1016/j.knosys.2023.110454.

Y. Wu and J. Feng, “Development and Application of Artificial Neural Network,” Wirel Pers Commun, vol. 102, no. 2, pp. 1645–1656, Sep. 2018, doi: 10.1007/s11277-017-5224-x.

O. L. USMAN, O. FOLORUNSO, and O. B. ALABA, “Electricity Consumption Prediction System Using a Radial Basis Function Neural Network,” Journal of Natural Sciences Engineering and Technology, vol. 15, no. 1, pp. 1–20, Nov. 2017, doi: 10.51406/jnset.v15i1.1660.

A. M. Rather, A. Agarwal, and V. N. Sastry, “Recurrent neural network and a hybrid model for prediction of stock returns,” Expert Syst Appl, vol. 42, no. 6, pp. 3234–3241, 2015.

Downloads

Published

2024-08-14

How to Cite

[1]
S. Carilo, “Philippines Stock Exchange Prediction Using Hybrid Neural Network”, J.Math.Instr.Soc.Res.Opin., vol. 3, no. 3, pp. 297–310, Aug. 2024.

Issue

Section

Articles