Distributed Evolutionary Algorithms in Python (DEAP) is an evolutionary computation framework for rapid prototyping and testing of ideas. https://github.com/DEAP/deap

To install

sudo apt install python-pip

sudo pip install deap

Here is one max problem example http://deap.readthedocs.io/en/master/examples/ga_onemax.html

Useful tip 🙂

To download just the onemax.py file from github https://github.com/DEAP/deap/blob/master/examples/ga/onemax.py, might use the service http://kinolien.github.io/gitzip/

Just paste the github url and click Download.

Another tip 🙂

To install on python3

sudo apt-get install python3-pip

sudo pip3 install deap

 

 

DEAP evolutionary computation framework

Leave a Reply

Your email address will not be published. Required fields are marked *