List<Cluster> initialClusters = Lists.newArrayList();
int id = 0;
for (Vector point : points) {
initialClusters.add(new SoftCluster(point, id++, measure));
}
ClusterClassifier prior = new ClusterClassifier(initialClusters, new FuzzyKMeansClusteringPolicy(m, threshold));
Path priorPath = new Path(output, "classifier-0");
prior.writeToSeqFiles(priorPath);
new ClusterIterator().iterateSeq(conf, samples, priorPath, output, maxIterations);
loadClustersWritable(output);