yaricom / goNEAT

The GOLang implementation of NeuroEvolution of Augmented Topologies (NEAT) method to evolve and train Artificial Neural Networks without error back propagation
MIT License
75 stars 19 forks source link

Keep champions between generations #47

Open qwertyuu opened 2 years ago

qwertyuu commented 2 years ago

Suggestion in the title. Add a configuration to keep champions (N best of generation, or N best of each species) between generations, so we can keep the best organism and not lose their "winner" genome in breeding.

yaricom commented 2 years ago

Yes, this is interesting idea, which requires further investigation. However, it has some drawbacks:

But, anyway, this is good idea and it can be studied further.

Thank you for suggestion.

qwertyuu commented 2 years ago

Yes you are right, keeping the current champion biases the search. I saw it first in BoxCar2D which is in flash, but was re-used in a HTML5-canvas copy here: https://rednuht.org/genetic_cars_2/

It is called "Elite clones".

Thanks for taking time to think of this with me! I might try my hand at coding some of my issues if I think I understand your engine good enough