Examples
Here we have some examples of how to use EvolvePy’s, from the simplest example to learn the basics, to more complex examples like training neural networks.
As some advanced examples depend on some other scripts inside the repository examples folder, we recommend cloning the entire repository to run them.
Examples index
Examples are shown in the recommended reading sequence.
-
How to build a simple Evolutionary Algorithm
Defining a fitness funciton
Using evaluators
Using generations
Evolving a population
-
Complex multi-path generators
Elitism
-
Callbacks
Dynamic mutation
-
Evolution log using memory, file or wandb integration.
-
Binary operators.
-
TF/Keras integration using EvolutionaryModel
-
Multiprocess evaluator for speed up
Multiple evaluation for avoiding noise
Fitness cache for speedup
-
OpenAI’s Gym integration
-
Unity’s ML Agents integration