【问题标题】:Why does Jaccard similarity score is the same as accuarcy score in binary classification?为什么 Jaccard 相似度得分与二进制分类中的准确度得分相同?
【发布时间】:2022-01-12 17:45:38
【问题描述】:

在 sklearn 文档 (https://scikit-learn.org/0.15/modules/generated/sklearn.metrics.jaccard_similarity_score.html) 中,它说:

In binary and multiclass classification, this function is equivalent to the accuracy_score. It differs in the multilabel classification problem.

但是,根据维基百科上的 Jaccard 索引 (https://en.wikipedia.org/wiki/Jaccard_index)

它明显不同于准确度得分 ((TP+TN)/(TP+FP+FN+TN))。

谁能解释一下哪个是正确的,为什么?

【问题讨论】:

    标签: classification evaluation


    【解决方案1】:

    0.15 文档已过时,请检查不再指出metrics.jaccard_score 的稳定版本与二进制分类的准确性相同。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-08-30
      • 1970-01-01
      • 2015-06-13
      • 2012-10-29
      • 2015-07-20
      • 2020-07-30
      • 1970-01-01
      相关资源
      最近更新 更多