|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.ir.retrievalmodels.relevance.algebraic.JaccardSimilarity<E>
public class JaccardSimilarity<E>
The Jaccard coefficient measures similarity between sample sets, and is defined as the size of the intersection divided by the size of the union of the sample sets.
Constructor Summary | |
---|---|
JaccardSimilarity()
|
Method Summary | |
---|---|
double |
compute(Set<E> s1,
Set<E> s2)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaccardSimilarity()
Method Detail |
---|
public double compute(Set<E> s1, Set<E> s2)
compute
in interface RelevanceFunction<Set<E>,Set<E>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |