Commit a48cab05 authored by Imanol Perez's avatar Imanol Perez
Browse files


parent 285c8786
......@@ -6,7 +6,7 @@ This code tries to show how to use genetic algorithms to create a simple trading
Genetic algorithms simulate the evolution of a species. It starts with a random population of organisms, which represent algorithms. Then, after many generations the strongest algorithms survive. In general, genetic algorithms possess the following structure:
1. Generate a random population of organisms
1. Generate a random population of organisms.
2. Select the top performers, acording to a certain criteria (a fitness function is usually required here).
3. Perform a crossover of the outperformers to produce new children.
4. Apply a random mutation to some of the children. This way, we end up with a new generation of organisms.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment