Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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 Kommentar
Geoff Hayes
Geoff Hayes am 1 Feb. 2022
@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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by