Welcome to Pyevolve documentation !¶




“We can allow satellites, planets, suns, universe, nay whole systems of universe, to be governed by laws, but the smallest insect, we wish to be created at once by special act.”
- Charles R. Darwin, 1838
Pyevolve was developed to be a complete genetic algorithm framework written in pure python, but since the version 0.6, the framework also supports Genetic Programming, so in the near future, the framework will be more of an Evolutionary Computation framework than a simple GA framework.
See the changes in the What’s new ? section of this documentation.
This is the documentation for the release v.0.6 final.
See some plot screenshots on the Graph Types and Screenshots section.
You can download this manual also in other formats:
- Pyevolve PDF Manual v.0.6 final (PDF)
- This is a PDF file version with this manual
- Pyevolve CHM Manual v.0.6 final (CHM - Windows Help)
- This is the CHM (Windows Help) version of this manual
Get Involved !¶
Join with us in Pyevolve mail-list.
Bug reports are in the Github issues, and please, feel free to create new issues with criticisms or suggestions.
Since August/2011, the entire source code of the project is now hosted at Github :: Pyevolve.
Visit the project blog site and leave your comment.
Contents¶
- What’s new ?
- Introduction
- Other platforms and performance
- Get Started - Tutorial
- First Example
- The Interactive Mode
- Extending Pyevolve
- Genetic Programming Tutorial
- Snippets
- Using two mutators at same time
- Using one allele for all list (chromosome) elements (genes)
- Changing the selection method
- Repeating an evolution with a specific seed
- Writing the evolution statistics to a CSV File
- Use the HTTP Post to dump GA statistics
- Using two or more
evaluation function
- Real-time statistics visualization
- How to manually add non-terminal functions to Genetic Programming core
- Passing extra parameters to the individual
- Using ephemeral constants in Genetic Programming
- Modules
- Graphical Analysis - Plots
- Graphical Plotting Tool Options
- Usage
- Usage Examples
- Graph Types and Screenshots
- Error bars graph (raw scores) / “-1” option
- Error bars graph (fitness scores) / “-2” option
- Max/min/avg/std. dev. graph (raw scores) / “-3” option
- Max/min/avg graph (fitness scores) / “-4” option
- Min/max difference graph, raw and fitness scores / “-5” option
- Compare best raw score of two or more evolutions / “-6” option
- Compare best fitness score of two or more evolutions / “-7” option
- Heat map of population raw score distribution / “-8” option
- Heat map of population fitness score distribution / “-9” option
- Examples
- Example 1 - Simple example
- Example 2 - Real numbers, Gaussian Mutator
- Example 3 - Schaffer F6 deceptive function
- Example 4 - Using Sigma truncation scaling
- Example 5 - Step callback function
- Example 6 - The DB Adapters
- Example 7 - The Rastrigin function
- Example 8 - The Gaussian Integer Mutator
- Example 9 - The 2D List genome
- Example 10 - The 1D Binary String
- Example 11 - The use of alleles
- Example 12 - The Travelling Salesman Problem (TSP)
- Example 13 - The sphere function
- Example 14 - The Ackley function
- Example 15 - The Rosenbrock function
- Example 16 - The 2D Binary String
- Example 17 - The Tree genome example
- Example 18 - The Genetic Programming example
- Example 21 - The n-queens problem (64x64 chess board)
- Example 22 - The Infinite Monkey Theorem
- F.A.Q.
- Contributors
- License
- Credits
- Contact the author
- Donate