Simple implementation of Cartesian Genetic Programming approach. The core CGP classes doesn't depend on any third party libraries and uses pure Python loops for evolution (it can be slow, when solving most of applied problems).
git clone https://github.com/scidam/cgp.git
pytest and pytest-cov should be installed to run tests.
cd cgp
pytest
Run pi approximation example:
cd src
python -m examples.example_pi
Run symbolic regression example:
cd src
python -m examples.example_sym
Dmitry Kislov <kislov@easydan.com>