Skip to content

Instantly share code, notes, and snippets.

@siddharthganjoo
Created August 23, 2021 07:19
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 siddharthganjoo/5ecda5144b00fbde4b60fc4ee2a6b681 to your computer and use it in GitHub Desktop.
Save siddharthganjoo/5ecda5144b00fbde4b60fc4ee2a6b681 to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
%matplotlib inline
# Model accuracy
plt.plot(history.history['accuracy'])
plt.plot(history.history['val_accuracy'])
plt.title('Model Accuracy')
plt.ylabel('accuracy')
plt.xlabel('epoch')
plt.legend(['train', 'test'])
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment