Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sgsg704
Created August 24, 2021 06:49
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/e8e21c01917614993c74e49225cbf187 to your computer and use it in GitHub Desktop.
Save sgsg704/e8e21c01917614993c74e49225cbf187 to your computer and use it in GitHub Desktop.
history_df = pd.DataFrame(history.history)
plt.plot(history_df.loc[:, ['accuracy']], "#BDE2E2", label='Training accuracy')
plt.plot(history_df.loc[:, ['val_accuracy']], "#C2C4E2", 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