Skip to content

Instantly share code, notes, and snippets.

@um4ng-tiw
Created June 28, 2021 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save um4ng-tiw/88caa899b4c13e7a14b11d59bc191ec5 to your computer and use it in GitHub Desktop.
Save um4ng-tiw/88caa899b4c13e7a14b11d59bc191ec5 to your computer and use it in GitHub Desktop.
plt.plot(history.history['loss'])
plt.plot(history.history['val_loss'])
plt.title('model loss')
plt.ylabel('loss')
plt.xlabel('epoch')
plt.legend(['train', 'test'], loc='upper left')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment