V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
JasonLaw
V2EX  ›  算法

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

  •  
  •   JasonLaw · 2020-09-30 11:37:22 +08:00 · 1167 次点击
    这是一个创建于 1296 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    image

    要计算“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”?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1438 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 17:20 · PVG 01:20 · LAX 10:20 · JFK 13:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.