ModelDistribution<VectorWritable> modelDist = description.createModelDistribution(new Configuration());
for (Model<VectorWritable> cluster : modelDist.sampleFromPrior(15)) {
models.add((Cluster) cluster);
}
ClusterIterator iterator = new ClusterIterator();
ClusterClassifier classifier = new ClusterClassifier(models, new DirichletClusteringPolicy(15, 1.0));
ClusterClassifier posterior = iterator.iterate(sampleData, classifier, 10);
printClusters(posterior.getModels(), DOCS2);
}