官术网_书友最值得收藏!

Euclidean distances

In Euclidean space, with the n dimension, the distance between two elements is based on the locations of the elements in such a space, which is expressed as p-norm distance. Two commonly used distance measures are L2- and L1-norm distances.

L2-norm, also known as Euclidean distance, is the most frequently applied distance measure that measures how far apart two items in a two-dimensional space are. It is calculated as follows:

L1-norm, also known as Manhattan distance, city block distance, and taxicab norm, simply sums the absolute differences in each dimension, as follows:

主站蜘蛛池模板: 炎陵县| 枞阳县| 东港市| 错那县| 巫溪县| 灵川县| 泗洪县| 确山县| 陆川县| 界首市| 雷波县| 巩留县| 沁阳市| 澄江县| 罗源县| 祁阳县| 松溪县| 乐昌市| 汶川县| 克东县| 安庆市| 濮阳县| 桐乡市| 阜新市| 宣城市| 惠州市| 淄博市| 潼南县| 呼和浩特市| 苍山县| 孙吴县| 浦东新区| 霍山县| 灵丘县| 华坪县| 桦甸市| 万州区| 岳普湖县| 兴化市| 阜康市| 木里|