issues
search
jeffheaton
/
encog-java-core
http://www.heatonresearch.com/encog
Other
744
stars
268
forks
source link
Fix misuse of Math.random() in NEAT Crossover
#183
Closed
JayH5
closed
9 years ago
JayH5
commented
9 years ago
Math.random() returns a number in the range [0.0, 1.0) so the "mom" genome will always be picked
A random number generator is readily available so make use of that rather than Math.random()
jeffheaton
commented
9 years ago
Good catch, thanks!