Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plt.figure(figsize=(8, 8))
- plt.subplot(221)
- plt.hist(gmm1[0].sample(n)[0], 30)
- plt.title("model 1 - column 1 density")
- plt.subplot(222)
- plt.hist(gmm1[1].sample(n)[0], 30)
- plt.title("model 1 - column 2 density")
- plt.subplot(223)
- plt.hist(gmm2[0].sample(n)[0], 30)
- plt.title("model 2 - column 1 density")
- plt.subplot(224)
- plt.hist(gmm2[1].sample(n)[0], 30)
- plt.title("model 2 - column 2 density");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement