Created
November 9, 2020 03:49
-
-
Save merishnaSuwal/3d87449f621abe10d187a1256bf4dfe4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# summarize the result and plot the training and test loss | |
plt.plot(result.history['loss']) | |
plt.plot(result.history['val_loss']) | |
# Set the parameters | |
plt.title('Deep learning model loss') | |
plt.ylabel('Loss') | |
plt.xlabel('Epochs') | |
plt.legend(['train', 'test'], loc='upper right') | |
# Display the plots | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment