Abstract
Grammatical evolution is an evolutionary method that is used for the automated generation of programs. Over the years, different studies have proven the relevance and efficiency of this method in a wide array of fields. This method can substitute various other machine learning algorithms and older architectures to provide good efficiency and performance for optimization of algorithms. The paper aims to apply GE to predict the price of various stock market indices. An open source implementation PonyGE2 that was developed by the Natural Computing and Applications group at UCD has been employed in this paper. With the help of an objective function and a search space defined by the grammar, the evolutionary computation of the optimum solution is achieved. The effect of tweaking the grammar rules to provide different production options helped visualize the difference in the fitness of the functions generated and the consequential effect on the output produced.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
O’Neill M, Ryan C (2001) Grammatical evolution. IEEE Trans Evol Comput 5(4):349–358
Motsinger AA, Reif DM, Dudek SM, Ritchie MD (2006) Understanding the evolutionary process of grammatical evolution neural networks for feature selection in genetic epidemiology. Proc IEEE Symp Comput Intell Bioinforma Comput Biol. 2006:1–8. https://doi.org/10.1109/CIBCB.2006.330945
Brabazon A, O’Neill M, Dempsey I (2008) An introduction to evolutionary computation in finance. Comput Intell Mag IEEE 3:42–55. https://doi.org/10.1109/MCI.2008.929841
O’Neill M, Ryan C (2003) Grammatical evolution: evolutionary automatic programming in an arbitrary language. Kluwer Academic Publishers, Norwell, MA, USA
Whigham PA (1995, July) Grammatically-based genetic programming. In: Proceedings of the workshop on genetic programming: from theory to real-world applications, vol 16, No. 3. pp 33–41
Kita E, Sugiura H, Zuo Y, Mizuno T (2017) Application of grammatical evolution to stock price prediction. Comput Assist Methods Eng Sci 24(1):67–81
Neill M, Ryan C (1999) Under the hood of grammatical evolution
McCracken DD, Reilly ED (2013) Backus-naur form (bnf). 129–131
Dempsey I, O’Neill M, Brabazon A (2009) Foundations in grammatical evolution for dynamic environments. Stud Comput Intell
Yang, C-X, Tham GL, Feng X-T, Wang YJ, Lee PKK (2004) Two-stepped evolutionary algorithm and its application to stability analysis of slopes. J Comput Civil Eng 18(2):145–153. https://doi.org/10.1061/(ASCE)0887-3801(2004)18:2(145)
Fenton M, McDermott J, Fagan D, Forstenlechner S, O’Neill M, Hemberg E (2017) PonyGE2: grammatical evolution in Python. ArXiv, abs/1703.08535
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
D’Mello, L., Jeswani, A., Johnson, J. (2020). Stock Price Prediction Using Grammatical Evolution. In: Vasudevan, H., Michalas, A., Shekokar, N., Narvekar, M. (eds) Advanced Computing Technologies and Applications. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-15-3242-9_36
Download citation
DOI: https://doi.org/10.1007/978-981-15-3242-9_36
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-3241-2
Online ISBN: 978-981-15-3242-9
eBook Packages: EngineeringEngineering (R0)