X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=clueless-kmeans.git;a=blobdiff_plain;f=test.sh;h=64b69ee91bd7031745288cc650f758b5b7660126;hp=51735ee4a161dbfb90245d9b3f704fe8b62fe5b5;hb=HEAD;hpb=379b91965f8d18b05cc40c4a14044eda29a6e82c diff --git a/test.sh b/test.sh index 51735ee..64b69ee 100755 --- a/test.sh +++ b/test.sh @@ -1,19 +1,18 @@ #!/bin/bash - -# 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. @@ -53,8 +52,14 @@ EOF make -j -k -./clueless-kmean standard +echo "Baseline k-mean" +./clueless-kmeans standard make_graph result-standard.png -./clueless-kmean clueless +echo "Clueless k-mean" +./clueless-kmeans clueless make_graph result-clueless.png + +echo "Clueless-absolute k-mean" +./clueless-kmeans clueless-absolute +make_graph result-clueless-absolute.png