MATLAB: Best fitness vs mean fitness, initial range
Posted
by
Sa Ta
on Programmers
See other posts from Programmers
or by Sa Ta
Published on 2012-11-28T08:27:12Z
Indexed on
2012/11/28
11:17 UTC
Read the original article
Hit count: 327
genetic-algorithms
Based on the example of Rastrigin's function. At the plot function, if I chose 'best fitness', on the same graph 'mean fitness' will also be plotted. I understand well about 'best fitness' whereby it plots the best function value in each generation versus iteration number. It will reach value zero after some times.
I don't understand about 'mean fitness'in the graph plotted. What do those 'mean fitness' values mean? How does the 'mean fitness' graph help to understand Rastrigin's function?
What are the meaning of the term initial population, initial score and initial range? I wish to have a better understanding of these terms.
The default value for initial range is
[0,1]
. Does it mean that0
is the lower bound (lb
) and1
is the upper bound (ub
)? Do these values interfere with thelb
andub
values I set in the constraints?I try to better understand about
lb
andub
. If mylb
is0
andub
is5
, does it mean that my final point values will be within 0 and 5?If I know the
lb
andub
for my problem is between0
and5
, do I just set the initial range as[0,5]
at all times and may I assume that this is the best option for initial range, and I need not try it with any other values?
© Programmers or respective owner