Skip to content

Commit 74a6501

Browse files
Added axes label to the plot
1 parent 70a6d98 commit 74a6501

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

neural_network/bpnn.py

+2
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ def plot_loss(self):
164164
self.ax_loss.lines.remove(self.ax_loss.lines[0])
165165
self.ax_loss.plot(self.train_mse, 'r-')
166166
plt.ion()
167+
plt.xlabel('step')
168+
plt.ylabel('loss')
167169
plt.show()
168170
plt.pause(0.1)
169171

0 commit comments

Comments
 (0)