-
-
Save MohdShariqMalik/c5eca3847e4b5c7e88c51af72dee6602 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
loss_train = history.history['loss'] | |
loss_val = history.history['val_loss'] | |
plt.plot(loss_train, 'g', label = 'training loss') | |
plt.plot(loss_val, 'b', label = 'validation loss') | |
plt.title('training loss and validation loss') | |
plt.xlabel('epochs') | |
plt.ylabel('loss') | |
plt.legend() | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment