Delete plot.py

This commit is contained in:
David Rotermund 2024-07-10 16:02:06 +02:00 committed by GitHub
parent b5d0f35196
commit 71165d2a14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
plot.py
View file

@ -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()