You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Very large value effectively disables this criterion
However, in my experiments I observed behavior that seems to suggest the opposite.
Keeping everything else constant (same data, termination settings, and NSGA-2 hyperparameters), I noticed that smaller ftol values lead to longer runs:
ftol = 0.0001 → terminated after 962 generations
ftol = 0.001 → terminated after 418 generations
The resulting Pareto-optimal solutions were better with the smaller ftol, which aligns with expectations if the algorithm is allowed to run longer.
This makes me wonder whether the comment might be misleading. Based on these results, it seems more accurate to say:
# Very small value effectively disables this criterion
Am I interpreting this correctly, or is there something I’m missing in how ftol is applied here? I think the answer will also apply to cvtol and xtol.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In one of the code snippets on the termination criterion documentation page there's a comment on the ftol for NSGA-2:
# Very large value effectively disables this criterion
However, in my experiments I observed behavior that seems to suggest the opposite.
Keeping everything else constant (same data, termination settings, and NSGA-2 hyperparameters), I noticed that smaller ftol values lead to longer runs:
The resulting Pareto-optimal solutions were better with the smaller ftol, which aligns with expectations if the algorithm is allowed to run longer.
This makes me wonder whether the comment might be misleading. Based on these results, it seems more accurate to say:
# Very small value effectively disables this criterion
Am I interpreting this correctly, or is there something I’m missing in how ftol is applied here? I think the answer will also apply to cvtol and xtol.
Thank you for maintaining this amazing toolbox!
Beta Was this translation helpful? Give feedback.
All reactions