Cultured Perl: Genetic Algorithms, The Next Generation
BritMit writes "One of the more intriguing types of algorithm is the genetic algorithm. Genetic algorithms mimic Darwinian natural selection, where "fitness" selects individuals for survival, breeding, and, hence, adaptive mutation. A previous article: Genetic algorithms applied with Perl covered the background on this, and provided two Perl implementations, one that bred bytes and another that bred words. This follow-up article expands this idea of Perl evolution with more advanced material on genetic algorithms."
I think this is an important demonstration of the lack of real substance to Darwin's ideas. Perhaps those inefficiencies in the human body (appendix and so forth) are really just bugs or backwards compatibility modules in an engineered product.
How is it possible that these algorithms work?
I mean, didn't Darwin denounce evolution on his deathbed?
---Lane
Wow... the performance of Genetic Algorithms and Perl combined.
Almost like real evolution at work.
"Between strong and weak, between rich and poor [...], it is freedom which oppresses and the law which sets free"
Genetic Algorithms: Cool
Perl: Kinda Cool
I hate to say it but Perl+GA's sounds like an education in ridiculousness. GA's are slow, Perl is slow. GA's are complicated and esoteric, Perl is esoteric and (in some cases) unmaintainable. Hmm. Can you image the number of bugs that must exist in this code?
Anyway, I'm all for new tech GA's but implementing in perl seems like a wasted effort.
-Sean
This is typical creationist rhetoric. "I can't see evolution so it doesn't happen".
The fact is, Genetic algorithms are quite good at answering questions like. What's the best sequence of events to follow in order to survive (survive doesn't neccesarily mean live here) a circumstance. End users don't want to teach a program they buy to work they want a working program. Genetic algorithms ARE used to help develop these programs.
Perhaps as people get more tech savy they will see more genetic algorithms in their everyday lives. Thinks like handwriting or voice recognition on PDA's.
Just because something isn't in mainstream use is a poor argument for it's validity. I mean by your argument Brittany spears is one of the greatest vocalists of all time!
"as plurdled gabbleblotchits on a lurgid bee" - Prostetnic Vogon Jeltz. (One man's humorous is another mans flamebait)
You underestimate the stupidity of the Slashbot at your own peril.
Here's a great site if you just want to learn a little more about genetic algorithms and how they work. The Java applets on the pages are kinda interesting too.
http://cs.felk.cvut.cz/~xobitko/ga/
Dave
FPGA, Wireless, ASIC, Verilog, VHDL, HW, 10yr exp, Team Lead, Ottawa (More? Email above. slashdotusername=dgmartin98 )
You think, the parent was for real?
:).
>Perhaps as people get more tech savy they will see more genetic algorithms in their everyday lives.
Not likely. GAs (or better Evolutionary algorithms) are quite good at finding an abritrary good solution in a practicably unknown problem space in restricted time, but are terribly inefficient.
So, if you want to find several solutions, it's more efficient to have a good look at the problem space and to find a more efficient algorithm. Often random-search or hill-climber delivers an acceptable solution in much shorter time.
At least, that is what I'm told. I'm lacking practical experience in that field.
> [...] like handwriting or voice recognition on PDA's.
Another EA has delivered us a quite good solution for pattern recognition: the brain. Now, we just have to understand it
On a sidenote, where are the advanced topics the poster spoke of? Not seeing a single link to meta-eas, multipopulations (island models) or speciation.
Links to more Perl, and a link to algorithms for genetics, but evolutionary algorithms?
"Between strong and weak, between rich and poor [...], it is freedom which oppresses and the law which sets free"
ok, who wants to build this DNA and see what happens?
*patent pending
s/rand 3/rand 4/
The editors applied an HTML filter to the Perl source and took out parts of numbers.pl and words.pl. I got several reports of this. I reported the problem to the developerWorks editors a while ago, but I guess it's not fixed yet. So you can find the scripts at
f elogs.com/source/numbers.txt
http://lifelogs.com/source/words.txt
http://li
Basically the '' characters were filtered out. Sorry for the inconvenience.
Ted
Good point. Come back in a billion years and *then* judge.
Table-ized A.I.
Maybe your nick should be "pascal boy"..