Skip to content

Instantly share code, notes, and snippets.

@GeorgeSeif
Created October 14, 2019 00:49
Show Gist options
  • Select an option

  • Save GeorgeSeif/91f9576b8088a4ff059ae43e44631be5 to your computer and use it in GitHub Desktop.

Select an option

Save GeorgeSeif/91f9576b8088a4ff059ae43e44631be5 to your computer and use it in GitHub Desktop.
plt.plot(history.history['accuracy'], label='accuracy')
plt.plot(history.history['val_accuracy'], label='val_accuracy')
plt.xlabel('Epoch')
plt.ylabel('Accuracy')
plt.ylim([0.7, 1])
plt.legend(loc='best')
plt.plot(history.history['loss'], label='loss')
plt.plot(history.history['val_loss'], label='val_loss')
plt.xlabel('Epoch')
plt.ylabel('Loss')
plt.legend(loc='best')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment