Quote:
For the various parameters, I used something like:
0.8 chance that two selected individuals would be crossed over (if not, then they both went into the next generation unchanged)
0.05 chance of each weight getting mutated (which might even be a little high)
10.0 maximum mutation amount (so a weight could be mutated by a random value from -10 to 10)
your rule of thumb numbers I have used something similar now. I realise perhaps my GA's convergence was during the time when i was infact only mutating a small number of weights rather than all of them a small amount.
Perhaps the change of GA to small number of mutations and elitist selection made me think this was what was working, when it was just populating the the population with the elite and so getting a better average score.
since then I continued with
With elitist selection and mutating all weights a small amount and sore each time i did it. a slow collapse of fitness.
but by returning as suggested by this forum to rare but larger mutations of weights and a much less elitist selection - fitness scores seem to be rising again.
---
to all:
i now wonder if there may be a rule of thumb to use about population size - should the number of things you mutate be related to population size?
at the moment i mutate on average 25 weights out of many thousands. does this imply that the population should be at least 25?