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

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:

主站蜘蛛池模板: 自治县| 松滋市| 丹东市| 阳江市| 武定县| 洛扎县| 佛山市| 志丹县| 定南县| 红安县| 深水埗区| 娱乐| 津市市| 固阳县| 乌审旗| 荥阳市| 平塘县| 南涧| 磐石市| 东山县| 含山县| 高碑店市| 普兰店市| 曲麻莱县| 钟祥市| 新宁县| 沾化县| 抚顺县| 涟源市| 寿光市| 龙川县| 溧水县| 收藏| 崇阳县| 石首市| 龙门县| 瓦房店市| 仁怀市| 交口县| 互助| 利辛县|