Skip to content

Instantly share code, notes, and snippets.

@um4ng-tiw
Created July 8, 2021 13:51
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/576192c1f78f3c53e57870cc85b4abdd to your computer and use it in GitHub Desktop.
Save um4ng-tiw/576192c1f78f3c53e57870cc85b4abdd 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