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.
See IMP.statistics for more information.
See IMP.algebra for more information.
Simply return the coordinates of a VectorD.