mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-22 01:02:04 +00:00
Added axes label to the plot
This commit is contained in:
parent
70a6d98e0f
commit
74a65017ca
|
@ -164,6 +164,8 @@ class BPNN():
|
||||||
self.ax_loss.lines.remove(self.ax_loss.lines[0])
|
self.ax_loss.lines.remove(self.ax_loss.lines[0])
|
||||||
self.ax_loss.plot(self.train_mse, 'r-')
|
self.ax_loss.plot(self.train_mse, 'r-')
|
||||||
plt.ion()
|
plt.ion()
|
||||||
|
plt.xlabel('step')
|
||||||
|
plt.ylabel('loss')
|
||||||
plt.show()
|
plt.show()
|
||||||
plt.pause(0.1)
|
plt.pause(0.1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user