|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.unigram.likelike.lsh.function.MinWiseFunction
public class MinWiseFunction
MinWiseFunction.
Constructor Summary | |
---|---|
MinWiseFunction(org.apache.hadoop.conf.Configuration conf)
Constructor. |
Method Summary | |
---|---|
org.apache.hadoop.io.LongWritable |
returnClusterId(java.util.Set<java.lang.Long> featureVector,
long seed)
Return cluster id on the hash value for input feature vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinWiseFunction(org.apache.hadoop.conf.Configuration conf)
conf
- get parametersMethod Detail |
---|
public org.apache.hadoop.io.LongWritable returnClusterId(java.util.Set<java.lang.Long> featureVector, long seed)
returnClusterId
in interface IHashFunction
featureVector
- feature vectorseed
- hash seed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |