Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fig = plt.figure(figsize=(16,4))
- ax = fig.add_subplot(121)
- ax.plot(history.history["val_loss"])
- ax.set_title("validation loss")
- ax.set_xlabel("epochs")
- ax2 = fig.add_subplot(122)
- ax2.plot(history.history["val_acc"])
- ax2.set_title("validation accuracy")
- ax2.set_xlabel("epochs")
- ax2.set_ylim(0, 1)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement