plot the function value according to the value of the optimized parameter by genetic algorithm
Ältere Kommentare anzeigen
Dears,
I would like to extract the value of the optimized parameters x* and the value of the function at each step of the optimization.
From my initial search on the internet there is a way using the plot functionality, but I was not able to get the funtion value Y in terms of the optmized parameters values X* at each step neither
The optimization methodology is GA.
Could you please help me with that.
4 Kommentare
Asvin Kumar
am 6 Apr. 2020
Zakaria
am 6 Apr. 2020
Asvin Kumar
am 7 Apr. 2020
The options I mentioned in my previous comment plot the best and mean value of a particular generation at the specified Plot Interval.
I'm unsure what you're looking for. If you would like to extract the optimal parameters and optimal value at each generation, you can have a look at the following link or at Ameer Hamza's answer.
Depending on the nature of your variable of optimization, you can try using 'gaplotbestindiv' as mentioned at https://www.mathworks.com/help/gads/genetic-algorithm-options.html#f14474.
Let me know if this helps or if it doesn't, please clarify your question and I'll get back to you.
Zakaria
am 7 Apr. 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Genetic Algorithm finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!