Genetic Algorithm fitness value

조회 수: 30 (최근 30일)
Rudi Martin
Rudi Martin 2013년 7월 18일
댓글: Vahidreza 2023년 10월 29일
hello...
what fitness value is needed in GA optimization? the highest fitness? or the lowest fitness? or the best fitness?
I,m using MATLAB optimization tool for my GA problem, on the "plot function" option, I checked "best fitness".... when I started the optimization, it show "best fitness" and "mean fitness" , both of them has the same value...why is that?
on what condition this "best fitness" is?
thank you and sorry for my bad english
  댓글 수: 1
Vahidreza
Vahidreza 2023년 10월 29일
In genetic algorithm, highest is desirable.

댓글을 달려면 로그인하십시오.

채택된 답변

Alan Weiss
Alan Weiss 2013년 7월 19일
As stated in the documentation, GA attempts to find a minimum of the fitness function.
As stated in the documentation, best fitness means the lowest fitness function among all members in the population. Mean fitness is the average over all members in the current population. If you have the same value for best and mean, then your population has little diversity, or your fitness function returns the same value for all members of the population.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by