Path priorClassifier = new Path(output, "clusters-0");
Configuration conf = new Configuration();
writeClassifier(prior, conf, priorClassifier);
ClusteringPolicy policy = new DirichletClusteringPolicy(numClusters, numIterations);
new ClusterIterator(policy).iterate(samples, priorClassifier, output, numIterations);
for (int i = 1; i <= numIterations; i++) {
ClusterClassifier posterior = readClassifier(conf, new Path(output, "classifier-" + i));
List<Cluster> clusters = new ArrayList<Cluster>();
for (Cluster cluster : posterior.getModels()) {
if (isSignificant(cluster)) {