a802d31210ed262b8159b656b256bdacf10c9d61,bindsnet/analysis/plotting.py,,plot_performance,#,398
Before Change
else:
ax.clear()
for scheme in performances:
ax.plot(
[n * x_scale for n in range(len(performances[scheme]))],
[p for p in performances[scheme]],
label=scheme,
)
ax.set_ylim([0, 100])
ax.set_title("Estimated classification accuracy")
ax.set_xlabel("No. of examples")
ax.set_ylabel("Accuracy")
After Change
ax.legend()
plt.savefig(save, bbox_inches="tight")
plt.close()
plt.ion()
else:
if not ax:
_, ax = plt.subplots(figsize=figsize)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: BindsNET/bindsnet
Commit Name: a802d31210ed262b8159b656b256bdacf10c9d61
Time: 2020-05-11
Author: hananel@hazan.org.il
File Name: bindsnet/analysis/plotting.py
Class Name:
Method Name: plot_performance
Project Name: jwyang/faster-rcnn.pytorch
Commit Name: 21f9151d745c57671661baff3272d544a56f7bbe
Time: 2018-08-27
Author: jw2.yang@gmail.com
File Name: trainval_net.py
Class Name:
Method Name:
Project Name: lengstrom/fast-style-transfer
Commit Name: ffdec65daf2e323f9577f402120270e4c53ccc00
Time: 2016-12-23
Author: jonathan.e.m.bocker@gmail.com
File Name: evaluate.py
Class Name:
Method Name: from_pipe
Project Name: naoto0804/pytorch-AdaIN
Commit Name: 05399124e68b9a071f99ae097fdf576b9ae02c17
Time: 2018-01-14
Author: inoue@hal.t.u-tokyo.ac.jp
File Name: train.py
Class Name:
Method Name: