Check if centers move enough
Check if centers move enough
true if every centers move less than epsilon
Kmeans++ initialization
Kmeans++ initialization
Compute the similarity matrix and extract point which is the closest from all other point according to its dissimilarity measure
Compute the similarity matrix and extract point which is the closest from all other point according to its dissimilarity measure
Check if there are empty centers and remove them
Check if there are empty centers and remove them
Reinitialization of cardinalities
Reinitialization of cardinalities