public class CSVClusterWriter extends AbstractClusterWriter
clusterIdToPoints, measure, writer
Constructor and Description |
---|
CSVClusterWriter(Writer writer,
Map<Integer,List<WeightedPropertyVectorWritable>> clusterIdToPoints,
DistanceMeasure measure) |
Modifier and Type | Method and Description |
---|---|
void |
write(ClusterWritable clusterWritable)
Write out a Cluster
|
close, getClusterIdToPoints, getTopFeatures, getTopTerms, getWriter, write, write
public CSVClusterWriter(Writer writer, Map<Integer,List<WeightedPropertyVectorWritable>> clusterIdToPoints, DistanceMeasure measure)
public void write(ClusterWritable clusterWritable) throws IOException
ClusterWriter
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.