Is it possible to store the evaluation of the fitness function using generatic algorithm
1 次查看(过去 30 天)
显示 更早的评论
I have defined a fitness function and I want to pass it to MATLAB Genetic Algorithm solver to find the best combination of parameters. Is it possible to store the fitness values and paramenters for each evaluation of the fitness function within the execution of the genetic algorithm?
1 个评论
Geoff Hayes
2022-2-1
@Jaime Trivino - according to ga function output params, the output, is a structure that contains output from each generation and other information about the performance of the algorithm. However, other documentation on the same page, at output, says something slightly different. I don't have the Optimization Toolbox so can't comment for sure what is actually returned...though at one time I did think that the output for all generations could be captured.
回答(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!