Skip to content

Instantly share code, notes, and snippets.

@sgsg704
Created September 9, 2021 14:44
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 sgsg704/e21aa6fda3e101514fadb0b5483a8b39 to your computer and use it in GitHub Desktop.
Save sgsg704/e21aa6fda3e101514fadb0b5483a8b39 to your computer and use it in GitHub Desktop.
history_df = pd.DataFrame(history.history)
plt.plot(history_df.loc[:, ['accuracy']], "#6daa9f", label='Training accuracy')
plt.plot(history_df.loc[:, ['val_accuracy']], "#774571", label='Validation accuracy')
plt.title('Training and Validation accuracy')
plt.xlabel('Epochs')
plt.ylabel('Accuracy')
plt.legend()
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment