Skip to content

Commit

Permalink
Benchmark reservoir sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Feb 26, 2021
1 parent 7b380e6 commit 3053ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/benchmarks/fixed_size_synapses.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ def run_sim(target, n_select, n_total, fixed, trial):
color=f'C{idx}')
axes[-1].legend()
fig.tight_layout()
fig.savefig('synapse_creation_benchmark_sampling.png')
with open('synapse_creation_sampling.pickle', 'wb') as f:
fig.savefig('synapse_creation_benchmark_reservoir.png')
with open('synapse_creation_reservoir.pickle', 'wb') as f:
pickle.dump(results_fixed, f)

0 comments on commit 3053ca7

Please sign in to comment.