Skip to content

Instantly share code, notes, and snippets.

@staricon12
Created July 13, 2021 05:57
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 staricon12/3eef30cb502cae9a27da374b4084b649 to your computer and use it in GitHub Desktop.
Save staricon12/3eef30cb502cae9a27da374b4084b649 to your computer and use it in GitHub Desktop.
# Model Loss
plt.plot(history1.history['loss'])
plt.plot(history1.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