hal-cgp: Cartesian genetic programming in pure Python.
Creators
- 1. Ascent Robotics, Tokyo, Japan
- 2. Department of Physiology, University of Bern, Bern, Switzerland
Description
This library implements Cartesian genetic programming (e.g, Miller and Thomson, 2000; Miller, 2011) for symbolic regression in pure Python, targeting applications with expensive fitness evaluations. It provides Python data structures to represent and evolve two-dimensional directed graphs (genotype) that are translated into computational graphs (phenotype) implementing mathematical expressions. The computational graphs can be compiled as Python functions, SymPy expressions (Meurer et al., 2017) or PyTorch modules (Paszke et al., 2017). The library currently implements an evolutionary algorithm, specifically (mu + lambda) evolution strategies adapted from Deb et al. (2002), to evolve a population of symbolic expressions in order to optimize an objective function.
Files
Files
(102.4 kB)
Name | Size | Download all |
---|---|---|
md5:0f360c482e864b829870a64805af8a53
|
31.2 kB | Download |
md5:2c2204dadb2389fe04977f779fe57725
|
36.1 kB | Download |
md5:d32239bcb673463ab874e80d47fae504
|
35.1 kB | Download |