kwikteam / klustakwik2

Fast software for high-dimensional cluster analysis using the masked EM algorithm for Gaussians mixtures
BSD 3-Clause "New" or "Revised" License
27 stars 13 forks source link

Bug in consider_deletion #34

Closed thesamovar closed 9 years ago

thesamovar commented 9 years ago

Not sure what the problem is yet, but when consider_deletion is on, the algorithm as a whole doesn't finish and the num_changed stays large at every iteration.

thesamovar commented 9 years ago

One possibility is that consider_deletion takes into account the change in penalty due to removing a cluster, but doesn't take into account the change in the penalties of the other clusters as a result of having those points reassigned to them. However, KK1 did the same thing.

thesamovar commented 9 years ago

This is fixed now I think.