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 ...