osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xlabel and ylabel are not shown


plt.figure(1)
plt.plot(history.history["loss"], "b", label="Mean Square Error of training")
plt.plot(history.history["val_loss"], "g", label="Mean Square Error of validation")
plt.legend()
plt.xlabel("Epoche")
plt.ylabel("Mean Square Error")
plt.xlim(0,200)
plt.show()
plt.savefig(r"C:\Users\aheidari\Dropbox\Dissertation\primary hot water use prediction\Diagrams\UnivariateTrainingerror.png", dpi=1200)