Re: On the Genetic Algorithm
- Posted by cklester <cklester at yahoo.com> Sep 15, 2005
- 523 views
Matt Lewis wrote: > 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. "Fitness" within an environment. Changes in the environment is generally the mechanism that drives evolution. So, I guess for the example given, a "change" in the environment would be a different "fitness formula." I want to see that demo. :) > > > 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. Where would you ever obtain such a dataset (input values and their related output values)? -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/