Contribute Media
A thank you to everyone who has made this possible: Read More

Linear Genetic Programming in Python Bytecode


Mark Burgess A quick tutorial on genetic programming and its implementation in Python. Including the general process of evolution, the various representations of programs and particularly linear genetic programming. Some really basic python libraries are introduced, including the DEAP and pyevolve frameworks. It has been presented and prototyped by github user mgard (and documented that python bytecode itself could be directly evolved in linear genetic programming to alleviate the overhead of compiling the permutations of trees generated by the evolutionary process. Python bytecode itself is redly accessed and created by Cpython, though not compatible between versions and a subset of python bytecode instructions will be selected for the implementation of a basic example of symbolic regression. A futher and more useful example will be provided.

Improve this page