知识卡片
余弦比较方向不等于普通投影距离
余弦相似度用点积除以两向量长度乘积比较方向,常以1减相似度作余弦距离。它不等于把向量投影后量欧氏距离,零向量也需处理;相似分数可作检索线索,而不是句义等价或概率的证明。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
In chapter 3, you will learn how to consolidate words into a smaller number of vector dimensions to deal with the curse of dimensionality. You may even be able to turn the curse into a blessing by using all those dimensions to identify the subtle things you want your NLU pipeline to understand. You project vectors onto each other to determine the distance between each
参考来源
- 位置:《Natural Language Processing in Action, Second Edition》第01章《会读写的机器与自然语言处理》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-1.html)
- 结论依据:摘录中关于余弦比较方向不等于普通投影距离的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:In chapter 3, you will learn how to consolidate words into a smaller number of vector dimensions to deal with the curse of dimensionality. You may even be able to turn the curse into a blessing by using all those dimensions to identify the subtle things you want your NLU pipeline to understand. You project vectors onto each other to determine the distance between each