Definition[edit | edit source]

Given a number set , the Manhattan distance is a function defined as

Examples[edit | edit source]

  • .
  • .

Normalization[edit | edit source]

If is a bounded set, it is possible to normalize the difference dividing by the range of , then normalization is

that is the arithmetic mean of the normalized differences.

Examples[edit | edit source]

  • If , .
  • If , .

Variations[edit | edit source]

Applications[edit | edit source]

  • Numeric vectors (codes).
  • Vectors of boolean features.

References[edit | edit source]

Community content is available under CC-BY-SA unless otherwise noted.