X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=clueless-kmeans.git;a=blobdiff_plain;f=clusterer.h;h=ad0c58f910bb22bdb449e8b63d4d5bf4549834c5;hp=f73d6c78f557f1d8c565f4f7d37deddd2b57b0b7;hb=04d2b44ba34a811e1fab0b90d38ebd06cd918c52;hpb=ca6d045155d4c948063f49b6de8c35c0e3246e7a diff --git a/clusterer.h b/clusterer.h index f73d6c7..ad0c58f 100644 --- a/clusterer.h +++ b/clusterer.h @@ -38,6 +38,7 @@ public: const static int max_nb_iterations = 10; const static scalar_t min_iteration_improvement = 0.999; + const static scalar_t min_cluster_variance = 0.01f; int _nb_clusters; int _dim;