Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. fig = plt.figure(figsize=(16,4))
  2. ax = fig.add_subplot(121)
  3. ax.plot(history.history["val_loss"])
  4. ax.set_title("validation loss")
  5. ax.set_xlabel("epochs")
  6.  
  7. ax2 = fig.add_subplot(122)
  8. ax2.plot(history.history["val_acc"])
  9. ax2.set_title("validation accuracy")
  10. ax2.set_xlabel("epochs")
  11. ax2.set_ylim(0, 1)
  12.  
  13. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement