X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=clueless-kmeans.git;a=blobdiff_plain;f=clusterer.h;fp=clusterer.h;h=584828e0fb350f0530661cc7b5fc62dbab0db810;hp=a0a29f97d62dfecd107f5fc3c762c2888f9e1596;hb=60785fe128e964f3d124e9b49cce9154501e53cb;hpb=8f8e8f2fb669aa421c245eada82095fb3fdcadc9 diff --git a/clusterer.h b/clusterer.h index a0a29f9..584828e 100644 --- a/clusterer.h +++ b/clusterer.h @@ -1,17 +1,17 @@ /* - * clueless-kmean is a variant of k-mean which enforces balanced + * clueless-kmeans is a variant of k-means which enforces balanced * distribution of classes in every cluster * * Copyright (c) 2013 Idiap Research Institute, http://www.idiap.ch/ * Written by Francois Fleuret * - * This file is part of clueless-kmean. + * This file is part of clueless-kmeans. * - * clueless-kmean is free software: you can redistribute it and/or + * clueless-kmeans is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 3 as published by the Free Software Foundation. * - * clueless-kmean is distributed in the hope that it will be useful, + * clueless-kmeans is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -49,13 +49,13 @@ public: void initialize_clusters(int nb_points, scalar_t **points); - // Standard hard k-mean association + // Standard hard k-means association scalar_t baseline_cluster_association(int nb_points, scalar_t **points, int nb_classes, int *labels, scalar_t **gamma); - // Standard k-mean association implemented as an LP optimization + // Standard k-means association implemented as an LP optimization scalar_t baseline_lp_cluster_association(int nb_points, scalar_t **points, int nb_classes, int *labels,