org.clustering4ever.scala.clustering.kcenters
: number of clusters
: minimal threshold under which we consider a centroid has converged
: maximal number of iteration
: a defined dissimilarity measure
Check if centers move enough
Check if centers move enough
true if every centers move less than epsilon
Check if there are empty centers and remove them
Check if there are empty centers and remove them
Reinitialization of cardinalities
Reinitialization of cardinalities
Run the K-Centers
Run the K-Centers
The famous K-Centers using a user-defined dissmilarity measure.