|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.cf.taste.hadoop.cooccurence.ItemSimilarityEstimator.FirstPartitioner
public static class ItemSimilarityEstimator.FirstPartitioner
Partition based on the first part of the bigram.
Constructor Summary | |
---|---|
ItemSimilarityEstimator.FirstPartitioner()
|
Method Summary | |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf jobConf)
|
int |
getPartition(Bigram key,
org.apache.hadoop.io.Writable value,
int numPartitions)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItemSimilarityEstimator.FirstPartitioner()
Method Detail |
---|
public int getPartition(Bigram key, org.apache.hadoop.io.Writable value, int numPartitions)
getPartition
in interface org.apache.hadoop.mapred.Partitioner<Bigram,org.apache.hadoop.io.Writable>
public void configure(org.apache.hadoop.mapred.JobConf jobConf)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |