Exporting Best Fitness Variables from Surrogate Algorithm
6 views (last 30 days)
Show older comments
Hi all,
I’m trying to export only the best fitness variables (5 variables) from a surrogate optimization algorithm. Currently, I’m able to export the variables at each generation, but I would like to export only those that correspond to an improvement in the best fitness value.
Since the best value doesn’t necessarily change at every generation, I’d prefer to save only the variables when a new best is found.
Does anyone know how to implement this or have a suggestion for tracking and exporting only the best-performing variables throughout the optimization?
Best regards,
Mirhan
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!