Resch-Said / yane

Yet Another Neuro Evolution
MIT License
0 stars 0 forks source link

Give every gene a score to promote possible good genes #24

Open Resch-Said opened 1 year ago

Resch-Said commented 1 year ago

During the crossover, it might make sense to give each gene a score.

For example, if after crossover and mutation the fitness is better than in the parents, then each gene gets a +1 on the score, which increases the chance that these genes will be favoured for future generations.

Although this can be relatively chaotic, as all genes are evaluated together, good genes should emerge over time.