Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgp

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).

Installation

git clone https://github.com/scidam/cgp.git

Testing

pytest and pytest-cov should be installed to run tests.

cd cgp
pytest

Run examples

Run pi approximation example:

cd src
python -m examples.example_pi

Run symbolic regression example:

cd src
python -m examples.example_sym

Author

Dmitry Kislov <kislov@easydan.com>

About

Simple implementation of Cartesian Genetic Programming algorithm

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages