// now run the Canopy job to prime kMeans canopies
CanopyDriver.run(conf, sData.getRowPath(), output, measure, 8, 4, false, true);
// now run the KMeans job
KMeansDriver.run(sData.getRowPath(), new Path(output, "clusters-0"), output, measure, 0.001, 10, true, true);
// run ClusterDumper
ClusterDumper clusterDumper =
new ClusterDumper(finalClusterPath(conf, output, 10), new Path(output, "clusteredPoints"));
clusterDumper.printClusters(termDictionary);
}