Added axes label to the plot

This commit is contained in:
P-Shreyas-Shetty
2018-11-13 05:27:26 +05:30
committed by GitHub
parent 70a6d98e0f
commit 74a65017ca

View File

@ -164,6 +164,8 @@ class BPNN():
self.ax_loss.lines.remove(self.ax_loss.lines[0])
self.ax_loss.plot(self.train_mse, 'r-')
plt.ion()
plt.xlabel('step')
plt.ylabel('loss')
plt.show()
plt.pause(0.1)