L1 distance(L1距离):衡量两个向量(或点)差异的一种距离度量,等于各维度差的绝对值之和。在二维/三维几何中常与 Manhattan distance(曼哈顿距离) 等价(在网格状路径上“横走+竖走”的总路程)。常用于机器学习、信息检索与稀疏建模等场景。
/ˌɛl ˈwʌn ˈdɪstəns/
The L1 distance between the two vectors is 5.
这两个向量的 L1 距离是 5。
In high-dimensional data, L1 distance can be more robust than L2 distance because it reduces the influence of large outliers in any single feature.
在高维数据中,L1 距离有时比 L2 距离更稳健,因为它能减弱某个特征上巨大离群值的影响。
“L1”来自数学中的 L¹ 范数(L1 norm)记号:表示把各分量的绝对值相加(可理解为“1 次幂的总量”,即绝对值之和)。在城市街区网格的直角路径中,这种度量与“曼哈顿距离”直观一致,因此也常被称为 Manhattan distance。