Re: On the Genetic Algorithm
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Sep 14, 2005
- 495 views
cklester wrote: > > DB James wrote: > > > Some time back, I recalled in a post about a program I wrote maybe ten years > > ago that > > calculates formulas based on inputs and solutions. I have since > > reconstructed it in > > Euphoria. Calculates formulas? More properly said, it "evolves" an > > algorithm for > > the solution to the formula. > > Isn't this less "evolution" and more "automated algorithm tweaking." > > From what I understand, evolution doesn't work toward a target, does it? > Evolution is based on 'fitness.' In this case, fitness is the predetermined function. In real life, 'fitness' is generally assumed to be actual survival and reproduction. > > > If this sort of thing were optimized and tweaked, it could potentially > > generate new > > previously unknown formulas from correct inputs and results, but that is far > > off now... > > How do you determine "correct inputs and results" from "unknown formulas?" > You could be dealing with a set of data where you have inputs and outputs, but don't know what sort of function maps between the two. Matt Lewis