best penalty value and mean penalty value

12 visualizaciones (últimos 30 días)
Azime Beyza Ari
Azime Beyza Ari el 5 de Abr. de 2022
Respondida: Star Strider el 5 de Abr. de 2022
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.

Respuestas (1)

Star Strider
Star Strider el 5 de Abr. de 2022
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.
.

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by