def jaccard(self, other):
if other.seed != self.seed:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if len(self) != len(other):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>intersection = <NUM_LIT:0><EOL>for this, that in zip(self.hashvalues, other.hashvalues):<EOL><INDENT>if np.array_equal(this, that):<EOL><INDENT>intersection += <NUM_LIT:1><EOL><DEDENT><DEDENT>return float(intersection) / float(len(self))<EOL>
Estimate the `weighted Jaccard similarity`_ between the
        multi-sets represented by this weighted MinHash and the other.

        Args:
            other (datasketch.WeightedMinHash): The other weighted MinHash.

        Returns:
            float: The weighted Jaccard similarity between 0.0 and 1.0.

        .. _`weighted Jaccard similarity`: http://mathoverflow.net/questions/123339/weighted-jaccard-similarity