bobye / d2_kmeans

Fast discrete distributions clustering using Wasserstein barycenter with sparse support
Other
12 stars 3 forks source link

performance on normalization of X and Z #1

Closed bobye closed 9 years ago

bobye commented 9 years ago

The following two parts should take similar time, but don't actually. The second is pretty slow. Is it the overhead of calling functions? I may reimplement this part sometime.

https://github.com/bobye/d2_clustering/blob/master/src/d2_centroid_Bregman.c#L98-100 https://github.com/bobye/d2_clustering/blob/master/src/d2_centroid_Bregman.c#L111-115

bobye commented 9 years ago

Forget about this. A re-implementation does not improve any ...