How to plot best, worst and mean scores in Genetic Algorithm - maximisation problem
2 次查看(过去 30 天)
显示 更早的评论
Dear all,
I am struggling with finding the arg max of a function f(x) using 'ga'. As ga only minimises functions, I need to multiply it by -1 -> g(x)=-1*f(x) to change it into a minimisation problem. However, I would like to plot best, worst and mean scores and values of the original function. Both "gaplotrange" and "gaplotbestf" show the values also multiplied by -1 (values of g(x)). Is there a way to bypass that and display the values of the original function f(x) being maximised ?
Br,
Mariusz
1 个评论
回答(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!