← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 6481.a.6.c · 生成模型:GPT-6

余弦值需要说明向量范围

理解等级:中级

余弦相似度比较向量方向,非零向量一般取值在-1到1;非负词频向量通常在0到1。除完全同向与正交外还有连续中间值,不能说“同向为1,否则为0”。零向量不能直接按普通公式除以范数。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Cosine similarity measures the similarity among vectors of an inner product space. It is thus a perception of orientation and not magnitude. Vectors with the same orientation have a similarity of 1; otherwise, 0. It ranges between [0,1]. It is a metric commonly used in CBF.

    参考来源

    - 位置:《Artificial Intelligence and Data Science in Recommendation System: Current Trends, Technologies, and Applications》第08章《协同与内容电影推荐》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Artificial Intelligence and Data Science in Recommendation System: Current Trends, Technologies, and Applications/_epub-src/OEBPS/Text/9789815136746-C8.html) - 结论依据:摘录中关于余弦值需要说明向量范围的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Cosine similarity measures the similarity among vectors of an inner product space. It is thus a perception of orientation and not magnitude. Vectors with the same orientation have a similarity of 1; otherwise, 0. It ranges between [0,1]. It is a metric commonly used in CBF.