Difference between revisions of "Jaccard similarity"
From Cohen Courses
Jump to navigationJump to searchLine 20: | Line 20: | ||
:<math> \text{Jaccard similarity} = \mathbf{J} = \frac{ M_{11} }{ M_{01} + M_{10} + M_{00} }</math> | :<math> \text{Jaccard similarity} = \mathbf{J} = \frac{ M_{11} }{ M_{01} + M_{10} + M_{00} }</math> | ||
+ | :<math> \text{Jaccard dissimilarity} = 1 - J </math> | ||
== Relevant Papers == | == Relevant Papers == |
Revision as of 21:20, 30 March 2011
What problem does it address
Jaccard similarity is used to measure the similarity between two sample sets. Jaccard similarity can be applied to binary sets. An extended version of Jaccard similarity which deals with attributes with counts or continuous values is called Tanimoto coefficient.
Algorithm
- Input
The size of A and B are same.
- Output