help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Watching the best fitness in each generation in ga


From: Jordi Gutiérrez Hermoso
Subject: Re: Watching the best fitness in each generation in ga
Date: Tue, 8 May 2012 18:47:55 -0400

On 8 May 2012 16:53, Hamed Abdy <address@hidden> wrote:
> My question is about the ga command:
> Is it possible to get the best fitness of each generation in ga (for example
> for ploting it)?

>From my understanding of it, the 6th output argument of ga contains
this information. So you can do,

    [x, ~, ~, ~, ~, fitness] = ga(stuff, more, stuff)

to get those values.

HTH,
- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]