Correction to saving optimisation history to NumPy archive.

这个提交包含在:
Craig Warren
2016-03-01 18:14:00 +00:00
父节点 8e1d99dda3
当前提交 247f2b6f2c

查看文件

@@ -141,7 +141,7 @@ def run_opt_sim(args, numbermodelruns, inputfile, usernamespace):
# Save optimisation parameters history and fitness values history to file
opthistfile = inputfileparts[0] + '_hist'
np.savez(opthistfile, optparamshist=dict(optparamshist), fitnessvalueshist=fitnessvalueshist, optparamsinit=optparamsinit)
np.savez(opthistfile, dict(optparamshist), fitnessvalueshist=fitnessvalueshist, optparamsinit=optparamsinit)
print('\n{}\nTaguchi optimisation completed after {} iteration(s).\nHistory of optimal parameter values {} and of fitness values {}\n{}\n'.format(68*'*', iteration, dict(optparamshist), fitnessvalueshist, 68*'*'))