Is it possible to store the evaluation of the fitness function using generatic algorithm

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

@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개)

카테고리

제품

릴리스

R2021a

질문:

2022년 2월 1일

댓글:

2022년 2월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by