Browse Source
The check for fitness being smaller than the last value should use the absolute value, to mean the fitness isn't changing since last iteration. It's currently always quiting the function after the first iteration. However for Gauss Newton we anyway want to run as many iterations as we can, because there are ups and downs along the iteration so we might get say best result where before and after iterations were bad. The lines above takes care that sane and the best is selected.master
Siddharth Bharat Purohit
8 years ago
committed by
Lucas De Marchi
1 changed files with 0 additions and 5 deletions
Loading…
Reference in new issue