clusterDumper.printClusters(termDictionary);
}
@Test
public void testMeanShift() throws Exception {
DistanceMeasure measure = new CosineDistanceMeasure();
Path output = getTestTempDirPath("output");
Configuration conf = new Configuration();
new MeanShiftCanopyDriver().run(conf, getTestTempDirPath("testdata"), output, measure, 0.5, 0.01, 0.05, 10, false, true, false);
// run ClusterDumper
ClusterDumper clusterDumper = new ClusterDumper(finalClusterPath(conf, output, 10), new Path(output, "clusteredPoints"));