|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.classifier.bayes.mapreduce.common.FeaturePartitioner
public class FeaturePartitioner
ensure that features all make it into the same partition.
Constructor Summary | |
---|---|
FeaturePartitioner()
|
Method Summary | |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job)
|
int |
getPartition(StringTuple key,
org.apache.hadoop.io.DoubleWritable value,
int numPartitions)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeaturePartitioner()
Method Detail |
---|
public int getPartition(StringTuple key, org.apache.hadoop.io.DoubleWritable value, int numPartitions)
getPartition
in interface org.apache.hadoop.mapred.Partitioner<StringTuple,org.apache.hadoop.io.DoubleWritable>
public void configure(org.apache.hadoop.mapred.JobConf job)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |