public class ClusterLabels extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_LABELS |
static int |
DEFAULT_MIN_IDS |
Constructor and Description |
---|
ClusterLabels(org.apache.hadoop.fs.Path seqFileDir,
org.apache.hadoop.fs.Path pointsDir,
String indexDir,
String contentField,
int minNumIds,
int maxLabels) |
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.mahout.utils.vectors.lucene.TermInfoClusterInOut> |
getClusterLabels(Integer integer,
Collection<WeightedPropertyVectorWritable> wpvws)
Get the list of labels, sorted by best score.
|
String |
getIdField() |
void |
getLabels() |
String |
getOutput() |
static void |
main(String[] args) |
void |
setIdField(String idField) |
void |
setOutput(String output) |
public static final int DEFAULT_MIN_IDS
public static final int DEFAULT_MAX_LABELS
public void getLabels() throws IOException
IOException
protected List<org.apache.mahout.utils.vectors.lucene.TermInfoClusterInOut> getClusterLabels(Integer integer, Collection<WeightedPropertyVectorWritable> wpvws) throws IOException
IOException
public String getIdField()
public void setIdField(String idField)
public String getOutput()
public void setOutput(String output)
public static void main(String[] args)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.