生命科学-简书专题

Jaccard指数

2017-10-17  本文已影响6人  Ternq8

Jaccard index & Jaccard distanced


Jaccard index:Jaccard指数就是两个data sets的交集(intersection)除以两个data sets的并集(union)。 所以Jaccard指数应该在(0,1)。0,完全不同,1,完全相同
特殊情况:当连个data sets都是空集时候,定义这两个data sets 的Jaccard指数是1。

Screen Shot 2017-10-17 at 14.00.31.png

The Jaccard distance, which measures dissimilarity between sample sets, is complementary to the Jaccard coefficient and is obtained by subtracting the Jaccard coefficient from 1, or, equivalently, by dividing the difference of the sizes of the union and the intersection of two sets by the size of the union:

Jaccard distance:Jaccard距离指的是两个data sets的!交集除以两个data sets的并集。也就是1减去两个data sets的Jaccard指数

Screen Shot 2017-10-17 at 14.15.49.png

实例:

Screen Shot 2017-10-17 at 13.51.25.png
上一篇下一篇

猜你喜欢

热点阅读