Linear Genetic Programming in Python Bytecode



Mark Burgess
https://2016.pycon-au.org/schedule/99/view_talk
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 http://multigrad.blogspot.com.au/2014/06/fun-with-python-bytecode.html) 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.

source

Reply


Build A Site Info