MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / draw_error

Method draw_error

neural_network/convolution_neural_network.py:298–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

296 all_mse.append(mse)
297
298 def draw_error():
299 yplot = [error_accuracy for i in range(int(n_repeat * 1.2))]
300 plt.plot(all_mse, "+-")
301 plt.plot(yplot, "r--")
302 plt.xlabel("Learning Times")
303 plt.ylabel("All_mse")
304 plt.grid(True, alpha=0.5)
305 plt.show()
306
307 print("------------------Training Complete---------------------")
308 print((" - - Training epoch: ", rp, f" - - Mse: {mse:.6f}"))

Callers

nothing calls this directly

Calls 2

plotMethod · 0.80
showMethod · 0.80

Tested by

no test coverage detected