-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some algorithm considerations #38
Comments
|
Thanks for your comments!
Edit: Looking at this C# implementation, they just take the mean fitness as well, not the shared fitness. I wonder, is the "explicit shared fitness" really implicit? Regarding question 3: What do you think about this "Another idea is to always mate pairs of organisms, followed by mutation (say, by 25% chance)"? Maybe we can try both and see which performs best. |
I found a great resource here http://www.automatonsadrift.com/neat/ that answers question 5.
I was wrong when I said that the paper says that we should take the N best-performing organisms -- it only says that we should cull the worst-performing ones. |
Feel free to test mate pairs and make mutation. Let's see what happen. |
I will keep updating it. Some of these are quite subtle, but I think we should address everything.
1. Should
mutate_add_connection()
be allowed to addi -> i
connections? (right now I would say yes. These can have an effect on the NN.) edit: I will allow it for now2. Adding a connection that already exists: should it keep the old weight or the new? edit: I will keep the new weight for now
3. Creating offspring: there is 25% chance to just mutate the parent, and 75% chance to mate two organisms, but in that case no mutations happen. Is this inspired by literature? Another idea is to always mate two organisms, followed by mutation (say, by 25% chance).
4. Interspecies mating - is this supported by literature? (doesn't have to be, just wondering about the justifications)
5.
Specie::generate_offspring()
currently just picks N organisms randomly, but the NEAT paper seems to say that we should pick the N best-performing organisms. Also, currently the champion organism within the specie is added (if specie size > 5). Why is that?6. Doesn't seem like we use shared fitness. (look at "explicit fitness sharing" in the NEAT paper).
The text was updated successfully, but these errors were encountered: