em-gaussian icon indicating copy to clipboard operation
em-gaussian copied to clipboard

Expectation Step

Open kazimsanlav opened this issue 7 years ago • 0 comments

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 algorithm, which doesn't assign samples to a cluster, instead calculates responsibilities of every sample for each cluster and updates that in E step. I think that the E-step of your code needs to be corrected.

kazimsanlav avatar Apr 08 '18 17:04 kazimsanlav