关于“MIT 6.006 Introduction to Algorithms - Lecture 2: Models of Computation, Document Distance”的疑问

2020-09-30 11:37:22 +08:00
 JasonLaw

MIT 6.006 Introduction to Algorithms - Lecture 2: Models of Computation, Document Distance介绍了一个计算两个文档差异的方法,如下图所示:

要计算“cosine of the angle between two vectors”,不是应该像Angle between two vectors所说的那样计算吗?

The cosine of the angle between two vectors is equal to the dot product of this vectors divided by the product of vector magnitude.

为什么在课程所介绍的方法中,“The cosine of the angle between two vectors”是“the dot product of this vectors”除以“the product of the number of words in document”?

1173 次点击
所在节点    算法
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/711843

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX