}
private void topLevelClustering(Path pointsPath, Configuration conf) throws IOException,
InterruptedException,
ClassNotFoundException {
DistanceMeasure measure = new ManhattanDistanceMeasure();
CanopyDriver.run(conf, pointsPath, outputPathForCanopy, measure, 4.0, 3.0, true, 0.0, true);
Path clustersIn = new Path(outputPathForCanopy, new Path(Cluster.CLUSTERS_DIR + '0'
+ Cluster.FINAL_ITERATION_SUFFIX));
KMeansDriver.run(conf, pointsPath, clustersIn, outputPathForKMeans, 1, 1, true, 0.0, true);
}