MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / jaccard_similarity.py

File jaccard_similarity.py

maths/jaccard_similarity.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2The Jaccard similarity coefficient is a commonly used indicator of the
3similarity between two sets. Let U be a set and A and B be subsets of U,
4then the Jaccard index/similarity is defined to be the ratio of the number

Callers

nothing calls this directly

Calls 1

jaccard_similarityFunction · 0.85

Tested by

no test coverage detected