You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went through the Genetic Algorithm Strategy code and it seems to me to be actually random. The purpose of selecting the top K is that we want to preserve their qualities and use them in crossover. However, that preservation does not occur since their are straight crossed. Further, there is no probability involved into mutation.
Point being: The qualities of top k are most likely lost because the code does not preserve them, and does not prioritize them into crossover (we want to reproduce its qualities).
The text was updated successfully, but these errors were encountered:
Also, this isn't how most of the typical GAs are done so there are definitely some differences in the implementation but the idea of selecting the best and mutating them next thus evolving them in the entire process is still there which is why you see such high gains for GA. If it was random, there would be no gains right?
I agree with the gains argument. My reasoning is: If I always mutate the top genes, I have the chance of losing the good characteristics from them. It follows that the select function will weed out the ones that perform bad after mutation. However, there is a chance of worsening the entire population because the top genes that were mutated might perform bad. With that i mind, the GA becomes a random walk (of course biased toward the gains xD).
I understand the reasoning I just thought I would raise this, since, by change, someone might get a bad result. Please correct me if I am wrong.
I went through the Genetic Algorithm Strategy code and it seems to me to be actually random. The purpose of selecting the top K is that we want to preserve their qualities and use them in crossover. However, that preservation does not occur since their are straight crossed. Further, there is no probability involved into mutation.
Point being: The qualities of top k are most likely lost because the code does not preserve them, and does not prioritize them into crossover (we want to reproduce its qualities).
The text was updated successfully, but these errors were encountered: