In our template-matching example of classifying characters by counting the number of disagreements, we were implicitly using a Manhattan metric.* For the rest of these notes, we will use either the Euclidean distance or something called the Mahalanobis distance. We will see that
- Euclidean metric: || u || = sqrt( u12 + u22 + ... + ud2 )
- Manhattan (or taxicab) metric: || u || = |u1| + |u2| + ... + |ud|
- Contours of constant Euclidean distance are circles (or spheres)
- Contours of constant Manhattan distance are squares (or boxes)
- Contours of constant Mahalanobis distance are ellipses (or ellipsoids)
Back to Min Dist
On to Inner Products
Up to Simple Classifiers