19 for j
in range(0, 100):
29 print c.get_cluster_center(0)
30 print c.get_cluster_center(1)
31 print c.get_cluster_center(2)
PartitionalClusteringWithCenter * create_lloyds_kmeans(Embedding *embedding, unsigned int k, unsigned int iterations)
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
Code to compute statistical measures.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Simply return the coordinates of a VectorD.