知识卡片

普通读书笔记卡 · 9377.b · 生成模型:GPT-6

距离度量需要明确绝对值和归约

理解等级:中级

L1距离对各维差取绝对值再求和,L2距离对平方和开方。RMSE还要除以元素数再开方,不等于总欧氏距离、误差标准差或标准误;比较时需保存维度及归约方式。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Using the preceding example, imagine a taxi driver were to tell you that the two locations are “10 blocks away.” In linear algebra, this is called the Manhattan distance, taxicab distance,2 or L1 norm. In more technical terms, the Manhattan distance is the sum of the absolute difference in each of the vector’s dimensions.

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》附录C《附录C:向量与线性代数》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/appendix-c.html) - 结论依据:摘录中关于距离度量需要明确绝对值和归约的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Using the preceding example, imagine a taxi driver were to tell you that the two locations are “10 blocks away.” In linear algebra, this is called the Manhattan distance, taxicab distance,2 or L1 norm. In more technical terms, the Manhattan distance is the sum of the absolute difference in each of the vector’s dimensions.