Jump to content

what this distance metric is called?

Featured Replies

hi,

 

what this distance metric is called that equal

∑ ABS(ai-bi)

 

thanks

And in the context of R^n it's called the taxicab metric or L1 metric (though I am not 100% certain that the captial letter is an L - but somewhat sure), or -according to the German Wikipedia- Manhattan metric (never heard or used that term myself, though).

 

If you plan on posting more mathematical expressions on sfn in the future (you already have 44 posts here, after all), then I recommend looking into the Latex capabilities of this forum (just search for "latex" on this forum).

And in the context of R^n it's called the taxicab metric or L1 metric (though I am not 100% certain that the captial letter is an L - but somewhat sure), or -according to the German Wikipedia- Manhattan metric (never heard or used that term myself, though).

 

This is not nomencalture I know, but that is also what MathWorld uses. You can also read more at Wikipedia.

  • 2 weeks later...

I thought that I had read somewhere that using a distance metric that

violated the triangle inequality would cause the kernal matrix not be be pos

def. Perhaps that was just in regards to using the metric "raw" versus

within a kernal (e.g. as the distance within an RBF kernal perhaps?)

Frankly, I just don't understand kernals well enough. I don't understand

what effect a measure that violates the triangle inequality has on the

feature space and I don't understand how such a measure when made into a

proper metric "works" in the feature space.

I don't see how this metric violates the triangle inequality and I particularly do not understand the rest of your post.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.