SHARE
TWEET

Untitled

a guest Jul 17th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fig = plt.figure(figsize=(16,4))
  2. ax = fig.add_subplot(121)
  3. ax.plot(history.history["val_loss"])
  4. ax.plot(history2.history["val_loss"])
  5. ax.set_title("validation loss")
  6. ax.set_xlabel("epochs")
  7.  
  8. ax2 = fig.add_subplot(122)
  9. ax2.plot(history.history["val_acc"])
  10. ax2.plot(history2.history["val_acc"])
  11. ax2.set_title("validation accuracy")
  12. ax2.set_xlabel("epochs")
  13. ax2.set_ylim(0, 1)
  14.  
  15. plt.show()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top