GRAPE: Grammatical Algorithms in Python for Evolution
Open Access
- 15 September 2022
- Vol. 3 (3) , 642-663
Abstract
GRAPE is an implementation of Grammatical Evolution (GE) in DEAP, an Evolutionary Computation framework in Python, which consists of the necessary classes and functions to evolve a population of grammar-based solutions, while reporting essential measures. This tool was developed at the Bio-computing and Developmental Systems (BDS) Research Group, the birthplace of GE, as an easy to use (compared to the canonical C++ implementation, libGE) tool that inherits all the advantages of DEAP, such as selection methods, parallelism and multiple search techniques, all of which can be used with GRAPE. In this paper, we address some problems to exemplify the use of GRAPE and to perform a comparison with PonyGE2, an existing implementation of GE in Python. The results show that GRAPE has a similar performance, but is able to avail of all the extra facilities and functionality found in the DEAP framework. We further show that GRAPE enables GE to be applied to systems identification problems and we demonstrate this on two benchmark problems.Keywords
Funding Information
- Science Foundation Ireland (16/IA/4605)
- the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior—Brazil (CAPES) (001)
- the Fundação de Amparo à Pesquisa do Estado do Rio de Janeiro (FAPERJ)
- the IRel Consortium
This publication has 26 references indexed in Scilit:
- Lexicase Selection for Program Synthesis: A Diversity Analysis2016
- Exploring position independent initialisation in grammatical evolution2016
- Effects of Lexicase and Tournament Selection on Diversity Recovery and Maintenance2016
- A comparison of fuzzy identification methods on benchmark datasetsIFAC-PapersOnLine, 2016
- Solving Uncompromising Problems With Lexicase SelectionIEEE Transactions on Evolutionary Computation, 2014
- Identification of the Silverbox Benchmark Using Nonlinear State-Space ModelsIFAC Proceedings Volumes, 2012
- Prediction and simulation errors in parameter estimation for nonlinear systemsMechanical Systems and Signal Processing, 2010
- Riccardo Poli, William B. Langdon, Nicholas F. McPhee: A Field Guide to Genetic ProgrammingGenetic Programming and Evolvable Machines, 2008
- Grammatical evolutionIEEE Transactions on Evolutionary Computation, 2001
- Grammatical evolution: Evolving programs for an arbitrary language1998