CanopyDriver.run(conf, getTestTempDirPath("testdata"), output, measure, 8, 4, false, false);
// now run the KMeans job
KMeansDriver.run(conf, getTestTempDirPath("testdata"), new Path(output, "clusters-0"), output, measure, 0.001, 10, true, false);
// run ClusterDumper
ClusterDumper clusterDumper = new ClusterDumper(finalClusterPath(conf, output, 10), new Path(output, "clusteredPoints"));
clusterDumper.printClusters(termDictionary);
}
@Test
public void testFuzzyKmeans() throws Exception {
DistanceMeasure measure = new EuclideanDistanceMeasure();