Delete plot.py
This commit is contained in:
parent
b5d0f35196
commit
71165d2a14
1 changed files with 0 additions and 20 deletions
20
plot.py
20
plot.py
|
@ -1,20 +0,0 @@
|
||||||
import numpy as np
|
|
||||||
import matplotlib.pyplot as plt
|
|
||||||
|
|
||||||
data = np.load("data_log_cnn_iter20_lr_1.0000e-03_1.0000e-03_1.0000e-03_-_1.0000e-03_0False_1False_2False_3False_klFalse_maxFalse.npy")
|
|
||||||
plt.loglog(
|
|
||||||
data[:, 0],
|
|
||||||
100.0 * (1.0 - data[:, 1] / 10000.0),
|
|
||||||
"k",
|
|
||||||
label="CNN",
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
data = np.load("data_log_nnmf_iter20_lr_1.0000e-03_1.0000e-03_-_1.0000e-02_1.0000e-03_0False_1False_2False_3False_klFalse_maxFalse.npy")
|
|
||||||
plt.loglog(data[:, 0], 100.0 * (1.0 - data[:, 1] / 10000.0), "b", label="NNMF")
|
|
||||||
|
|
||||||
plt.legend()
|
|
||||||
plt.xlabel("Epoch")
|
|
||||||
plt.ylabel("Error [%]")
|
|
||||||
plt.title("CIFAR10")
|
|
||||||
plt.show()
|
|
Loading…
Reference in a new issue