CodeReclaimers / neat-python

Python implementation of the NEAT neuroevolution algorithm
BSD 3-Clause "New" or "Revised" License
1.42k stars 493 forks source link

no option of cross over probability in configuration file. #142

Open abhiramsingh7 opened 6 years ago

abhiramsingh7 commented 6 years ago

How this code is choosing crossover probability? I cannot find any option in configuration file. How to set this probability? I have gone through config description file also https://neat-python.readthedocs.io/en/latest/config_file.html and there is no such option.

junhua commented 5 years ago

@CodeReclaimers mind advising?

scolemann commented 5 years ago

There do not appear to be any configuration options related to crossover. Looking at DefaultReproduction.reproduce it appears that when new genomes are needed two random parents are selected for crossover. After the crossover any potential mutation would happen and then the new genome is added to the population.