In SAS, you can output the parameter estimation related to fitness function, I dont know this in R. Once you have output from SAS, you can write down your function and feed them into optim in R to solve your problem.
On Mon, Feb 7, 2011 at 5:00 AM, ying zhang <[email protected]> wrote: > Hi Everyone, > > > > I need to use genetic algorithm to find the minimum. The problem is, I > cannot define the fitness function, but I can build a neural network from > the input data and use > > the output as a fitness function. Can this be done? > > > > The other problem is, I know there are a few package in R related to GA. > So far I know all of them take a specific function as fitness function, > is > there any package can > > Solve my problem? Many thanks > > > > Ying > > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Sincerely, Changbin -- Changbin Du DOE Joint Genome Institute Bldg 400 Rm 457 2800 Mitchell Dr Walnut Creet, CA 94598 Phone: 925-927-2856 [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

