oneturkmen / evolving-nets

Neuroscience-inspired optimization algorithm known as NeuroEvolution of Augmenting Topologies (NEAT)
0 stars 0 forks source link

Updates #7

Open oneturkmen opened 5 years ago

oneturkmen commented 5 years ago

Good news

Not so good news

Although I have implemented 99% of the NEAT algorithm, I encountered the following obscurities:

Future ideas

oneturkmen commented 5 years ago

Huh, the problem with forcing the disabled genes was that I DID NOT SORT IN DECREASING ORDER! It sorted in an increasing and was instead taking all the worst genes :man_facepalming:

oneturkmen commented 5 years ago

Deep-copying objects from the list (e.g. deepcopy.copy(gene[0]) instead of gene[0]) seemed to have solved the crossover operation problem. Now, the algorithm performs quite well and manages to converge in under 150 generations.