best penalty value and mean penalty value
13 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I need to interpret the solutions of a problem i have been working on. My problem is a maximitazion problem and i am using genetic algorithm. There is best penalty value and mean penalty value. I will share a screenshot of the result.
The best value is acceptable by me but I do not understand the difference between best and mean. I have read that it is about feasibility of the population. But i do not understand if the plot is the way that it should be or the infeasibility of the population members is very high?
If you can help me to interpret this plot i would be very appreciated.
Thank you in advance.
0 个评论
回答(1 个)
Star Strider
2022-4-5
From the documentation:
'gaplotbestf' plots the best score value and mean score versus generation.
So in every generation (or interval defined by the 'PlotInterval' name-value pair), the 'gaplotbestf' option reports the best fitness value in that generation (or 'PlotInterval' value) and the mean of all the fitness values of that generation (or 'PlotInterval' value).
I believe that is what you have chosen to plot (and the plot I use to report the progress of ga during the optimisation). Since you are maximising the objective fuunction, the fitness values will be negative, as they should be in that situation.
.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!