KMeansDriver.run(conf, directoryContainingConvertedInput, clusters, output, measure, convergenceDelta,
maxIterations, true, 0.0, false);
// run ClusterDumper
ClusterDumper clusterDumper = new ClusterDumper(new Path(output, "clusters-*-final"), new Path(output,
"clusteredPoints"));
clusterDumper.printClusters(null);
}
/**
* Run the kmeans clustering job on an input dataset using the given distance measure, t1, t2 and iteration
* parameters. All output data will be written to the output directory, which will be initially deleted if it exists.