1 parent 70a6d98 commit 74a6501Copy full SHA for 74a6501
1 file changed
neural_network/bpnn.py
@@ -164,6 +164,8 @@ def plot_loss(self):
164
self.ax_loss.lines.remove(self.ax_loss.lines[0])
165
self.ax_loss.plot(self.train_mse, 'r-')
166
plt.ion()
167
+ plt.xlabel('step')
168
+ plt.ylabel('loss')
169
plt.show()
170
plt.pause(0.1)
171
0 commit comments