sklearn.metrics.jaccard_score — scikit-learn 1.0.2 ...
https://scikit-learn.org/.../generated/sklearn.metrics.jaccard_score.htmlsklearn.metrics.jaccard_score¶ sklearn.metrics. jaccard_score (y_true, y_pred, *, labels = None, pos_label = 1, average = 'binary', sample_weight = None, zero_division = 'warn') [source] ¶ Jaccard similarity coefficient score. The Jaccard index [1], or Jaccard similarity coefficient, defined as the size of the intersection divided by the size of the union of two label sets, is used to ...
Jaccard index - Wikipedia
https://en.wikipedia.org/wiki/Jaccard_indexThe Jaccard index, also known as the Jaccard similarity coefficient, is a statistic used for gauging the similarity and diversity of sample sets. It was developed by Paul Jaccard, originally giving the French name coefficient de communauté, and independently formulated again by T. Tanimoto. Thus, the Tanimoto index or Tanimoto coefficient are also used in some fields.