From 48d5f7c64682b2753c26360ffbc8dd1490591c1f Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 27 Mar 2013 14:45:14 +0100 Subject: [PATCH] Cosmetics. --- clusterer.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/clusterer.h b/clusterer.h index 065dd3f..d1ff8be 100644 --- a/clusterer.h +++ b/clusterer.h @@ -43,21 +43,20 @@ public: void initialize_clusters(int nb_points, scalar_t **points); - // Does the standard hard k-mean association + // Standard hard k-mean association scalar_t baseline_cluster_association(int nb_points, scalar_t **points, int nb_classes, int *labels, scalar_t **gamma); - // Does the same with an LP formulation, as a sanity check + // Standard k-mean association implemented as an LP optimization scalar_t baseline_lp_cluster_association(int nb_points, scalar_t **points, int nb_classes, int *labels, scalar_t **gamma); - // Does the association under constraints that each cluster gets - // associated clusters with the same class proportion as the overall - // training set + // Association under the constraint that each cluster gets the same + // class proportions as the overall training set scalar_t uninformative_lp_cluster_association(int nb_points, scalar_t **points, int nb_classes, int *labels, -- 2.20.1