1.2.3-SNAPSHOT Arrow_down_16x16

jaccard-distance

incanter.stats

  • (jaccard-distance a b)

http://en.wikipedia.org/wiki/Jaccard_index

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.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/stats.clj:3050 top

(defn jaccard-distance
"
http://en.wikipedia.org/wiki/Jaccard_index

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."
[a b]
(- 1 (jaccard-index a b)))
Vars in incanter.stats/jaccard-distance: - defn
Used in 0 other vars

Comments top

No comments for jaccard-distance. Log in to add a comment.