Genetic Algorithm chart convergency
4 views (last 30 days)
Show older comments
Hi
I am using genetic algorithm in matlab but in my ga fitness chart the mean fitness value does not converge to the best fitness value.
What can I do for improvement the fitness value?
2 Comments
John D'Errico
on 9 Oct 2019
Learn to use comments, instead of adding answers just to make a comment.
Walter Roberson
on 9 Oct 2019
S AsZ, if you feel that the Question is Unclear, then as you are the author of the Question, you should clarify it instead of flagging it as Unclear.
Accepted Answer
Star Strider
on 9 Oct 2019
It does converge to the best fitness value. The ga algorithm will keep searching for the best fitness value until it reaches whatever generation limit you set for it. It will then use the best parameter set (providing the best fitness) as its result.
4 Comments
Star Strider
on 9 Oct 2019
You don’t need to. The generation limit is the default (I believe it is 200 generations). It uses default values for all the options you do not specify, as do all other MATLAB functions that have ‘opitons’ structures. .
Walter Roberson
on 3 Nov 2019
S AsZ: we are reluctant to remove content that is important to understanding the context of responses.
Your requested edits can lead to the impression that you are trying to remove your question. When posters remove their questions, the volunteers often feel as if they have been misused. This is not a facility to obtain free private consultations: the volunteers answer public questions with public answers with the explicit understanding that the questions and answers will be left so that they can be of assistance to future readers.
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!