Skip to content

Tutorials/2_Metrics /2.1_Similarity_Metrics.ipynb 示例中的最终结论写反 #1601

Description

@1104056452

在 Tutorials/2_Metrics/2.1_Similarity_Metrics.ipynb 的最后一个示例中,结论应该写反了。

根据计算结果:

  • 欧氏距离:sentence 1 和 3 的距离更小(0.593 < 0.715)
  • 余弦相似度:sentence 1 和 3 的相似度更高(0.824 > 0.745)

因此应该是:

sentence 1 and 3 are more similar than sentence 1 and 2

而当前教程写成了 sentence 1 and 2 更相似。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions