From 1359a0d6dba727220959da789f40f5904462bcdb Mon Sep 17 00:00:00 2001 From: Yomguithereal Date: Fri, 1 Jun 2018 19:59:24 +0200 Subject: [PATCH] hr --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6cd0fae..46f66f5 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ sparse_cosine_similarity({'apple': 34, 'pear': 3}, {'pear': 1, 'orange': 1}) * **A** *Counter*: first weighted set. Must be a dictionary mapping keys to weights. * **B** *Counter*: second weighted set. Muset be a dictionary mapping keys to weights. +--- + #### jaccard_similarity Computes the Jaccard similarity of two arbitrary iterables. @@ -55,6 +57,8 @@ jaccard_similarity('context', 'contact') * **A** *iterable*: first sequence to compare. * **B** *iterable*: second sequence to compare. +--- + #### weighted_jaccard_similarity Computes the weighted Jaccard similarity of two weighted sets. Those sets have to be represented as counters.