(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)))
Comments top
No comments for jaccard-distance. Log in to add a comment.