em-gaussian
em-gaussian copied to clipboard
Python code for Expectation-Maximization estimate of Gaussian mixture model
I want to use GMM to estimate the distribution of data points. The idea I want to realize is —— I use the first batch of data points to get...
The generation of the Gaussian Mixture sample is very questionable. I think it would be better if we generate a list of uniformly distributed number and sample from the two...
In the expectation step, you assigned every sample to the most likely cluster. This is called hard clustering where clusters don't overlap, like k-means. However, EM is a soft clustering...
If there is no point assigned cluster 1 at the very first iteration, how can I handle this situation? We cannot calculate the mean and std of the cluster in...