Talk:Evolutionary algorithm: Difference between revisions

Content added Content deleted
No edit summary
Line 123: Line 123:
:Thank Ledrug, the code looks great. I've had fun running it with larger target phrases & other variations. Thanks. --[[User:Davidj|Davidj]] 19:29, 3 October 2011 (UTC)
:Thank Ledrug, the code looks great. I've had fun running it with larger target phrases & other variations. Thanks. --[[User:Davidj|Davidj]] 19:29, 3 October 2011 (UTC)


== How to make the algorithm scaleable for larger target phrases? ==
== How to make the algorithm scalable for larger target phrases? ==
I've run the Weasel simulation for some larger target phrases. I was curious to see how the target phrase length affects the number of iterations. I'm guessing that to model a real life organism would require thousands of characters. It seems that as you increase the target phrase the number of iterations required goes up dramatically (possibly exponentially). With a phrase of 600 characters, after 10 million iterations the program hadn't got very far.
I've run the Weasel simulation for some larger target phrases. I was curious to see how the target phrase length affects the number of iterations. I'm guessing that to model a real life organism would require thousands of characters. It seems that as you increase the target phrase the number of iterations required goes up dramatically (possibly exponentially). With a phrase of 600 characters, after 10 million iterations the program hadn't got very far.
I am ignorant of biology so I don't know how a natural example would work. What variables etc should be changed to make this more realistic? Can the phrase be broken down into smaller chunks and then solved and still be an evolutionary algorithm? I realize that I shouldn't over-complicate a simple model. Ideas? --[[User:Davidj|Davidj]] 02:18, 11 October 2011 (UTC)
I am ignorant of biology so I don't know how a natural example would work. What variables etc should be changed to make this more realistic? Can the phrase be broken down into smaller chunks and then solved and still be an evolutionary algorithm? I realize that I shouldn't over-complicate a simple model. Ideas? --[[User:Davidj|Davidj]] 02:18, 11 October 2011 (UTC)