vincentfpgarcia/jMEF — pull request #1 by aharrison24 (2013-07-18 11:10:28+00:00)
Title: Fix loss function computation for hard clustering

getLossFunction method in BregmanHardClustering was previously always returning sum of divergences to only the last component of the MixtureModel 'g'. This commit instead uses the component of 'g' with the minimum divergence to the current component of 'f'.