added two more experiments, now we possibly have all of them

This commit is contained in:
Thomas Gabor
2019-03-13 03:55:04 +01:00
parent 0bcc25121f
commit 5c7a646d69
8 changed files with 232 additions and 15 deletions

View File

@@ -52,7 +52,7 @@ def count(counters, net, notable_nets=[]):
return counters, notable_nets
with Experiment('training_fixpoint') as exp:
with Experiment('mixed-self-fixpoints') as exp:
exp.trials = 20
exp.selfattacks = 4
exp.trains_per_selfattack_values = [100 * i for i in range(11)]
@@ -86,7 +86,7 @@ with Experiment('training_fixpoint') as exp:
xs += [trains_per_selfattack]
ys += [float(counters['fix_zero'] + counters['fix_other']) / float(exp.trials)]
all_names += [name]
all_data += [{'xs':xs, 'ys':ys}]
all_data += [{'xs':xs, 'ys':ys}] #xs: how many trains per self-attack from exp.trains_per_selfattack_values, ys: average amount of fixpoints found
exp.save(all_names=all_names)
exp.save(all_data=all_data)