Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. plt.figure(figsize=(8, 8))
  2.  
  3. plt.subplot(221)
  4. plt.hist(gmm1[0].sample(n)[0], 30)
  5. plt.title("model 1 - column 1 density")
  6. plt.subplot(222)
  7. plt.hist(gmm1[1].sample(n)[0], 30)
  8. plt.title("model 1 - column 2 density")
  9. plt.subplot(223)
  10. plt.hist(gmm2[0].sample(n)[0], 30)
  11. plt.title("model 2 - column 1 density")
  12. plt.subplot(224)
  13. plt.hist(gmm2[1].sample(n)[0], 30)
  14. plt.title("model 2 - column 2 density");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement