int numIterations = 10;
Path clustersIn = new Path(fuzzyKMeansOutput, "clusters-4");
RepresentativePointsDriver.run(conf, clustersIn, new Path(fuzzyKMeansOutput, "clusteredPoints"), fuzzyKMeansOutput,
measure, numIterations, true);
RepresentativePointsDriver.printRepresentativePoints(fuzzyKMeansOutput, numIterations);
ClusterEvaluator evaluator = new ClusterEvaluator(conf, clustersIn);
// now print out the Results
System.out.println("Intra-cluster density = " + evaluator.intraClusterDensity());
System.out.println("Inter-cluster density = " + evaluator.interClusterDensity());
}