Removed stopping criterion of success fitness values threshold.

这个提交包含在:
Craig Warren
2015-12-22 16:56:31 +00:00
父节点 15560144a8
当前提交 d23d2e5854

查看文件

@@ -244,10 +244,6 @@ def main():
if fitnessvalueshist[i - 1] > fitness['stop']:
break
# Stop optimisation if successive fitness values are close to one another
if i > 1 and fitnessvalueshist[i - 1] - fitnessvalueshist[i - 2] < 0.0001:
break
# Save optimisation parameters history and fitness values history to file
opthistfile = inputfileparts[0] + '_hist'
np.savez(opthistfile, dict(optparamshist), fitnessvalueshist)