Skip to content

Instantly share code, notes, and snippets.

@rdisipio
Created November 6, 2022 13:45
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 rdisipio/bfb6a892548fa6a21d85fd7b43989c83 to your computer and use it in GitHub Desktop.
Save rdisipio/bfb6a892548fa6a21d85fd7b43989c83 to your computer and use it in GitHub Desktop.
plt.plot(history1.history['loss'])
plt.plot(history1.history['val_loss'])
plt.title('model loss')
plt.ylabel('loss')
plt.xlabel('epoch')
plt.legend(['train', 'validation'], loc='upper left')
plt.ylim([0., 1.])
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment