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 · 1181 次点击
    这是一个创建于 1317 天前的主题,其中的信息可能已经有所发展或是发生改变。

    腾讯云最新优惠活动来了:云产品限时1折,云服务器低至88元/年 ,点击这里立即抢购:9i0i.cn/qcloud,更有2860元代金券免费领取,付款直接抵现金用,点击这里立即领取:9i0i.cn/qcloudquan

    (福利推荐:你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun

    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   ·   我们的愿景   ·   实用小工具   ·   5708 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:46 · PVG 13:46 · LAX 22:46 · JFK 01:46
    Developed with CodeLauncher
    ? Do have faith in what you're doing.


    http://www.vxiaotou.com