I am trying to fit a Gaussian mixture to 3 variables dataset. I have obtained a GMM model in python using 3 Gaussian models.
My questions are:
- How can I create a PDF from that GMM, like the function in matlab?
- How can I create random variables (3d) or sampling from GMM?
Many people have uploaded similar question, but I never got a straight answer. Please provide a sample for code for how to sample from a GMM.