conf.set(RepresentativePointsDriver.STATE_IN_KEY, "tmp/representative/representativePoints-" + numIters);
ClusterEvaluator ce = new ClusterEvaluator(conf, seqFileDir);
writer.append("\n");
writer.append("Inter-Cluster Density: ").append(String.valueOf(ce.interClusterDensity())).append("\n");
writer.append("Intra-Cluster Density: ").append(String.valueOf(ce.intraClusterDensity())).append("\n");
CDbwEvaluator cdbw = new CDbwEvaluator(conf, seqFileDir);
writer.append("CDbw Inter-Cluster Density: ").append(String.valueOf(cdbw.interClusterDensity())).append("\n");
writer.append("CDbw Intra-Cluster Density: ").append(String.valueOf(cdbw.intraClusterDensity())).append("\n");
writer.append("CDbw Separation: ").append(String.valueOf(cdbw.separation())).append("\n");
writer.flush();
}
log.info("Wrote {} clusters", numWritten);
} finally {
if (shouldClose) {