jaccard {epos} | R Documentation |
Calculate jaccard similarity metric for two sets a and b
Description
Calculate jaccard similarity metric for two sets a and b
Usage
jaccard(ainterb, aunionb, lengtha, lengthb)
Arguments
ainterb |
integer value with number of intersecting elements between set a and b |
aunionb |
integer value with number of union elements between set a and b |
lengtha |
length of set a |
lengthb |
length of set b |
Value
jac double value with the jaccard similarity coefficient
Examples
jaccard(1,3, 2, 3)
[Package epos version 1.1 Index]