Distance between finite sets of points

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Denote the collection of all finite subsets in $mathbbR^d$ as $mathcalS = S subseteq mathbbR^d: $. What are ways to define distance metrics on $mathcalS$ that can be efficiently computed? For instance, one could define
$$
d(A, B) = frac1 sum_xin Asum_yin B |x - y|_2^2
$$
but I'm not sure if the triangle inequality is satisfied?







share|cite|improve this question




















  • Could you be precise about what you mean by a distance metric?
    – Matt
    Aug 9 at 21:54










  • @Matt: I mean a metric that satisfies the requirements: en.wikipedia.org/wiki/Metric_(mathematics)
    – p-value
    Aug 9 at 21:59










  • Could you use the discrete metric?
    – Matt
    Aug 9 at 22:02










  • @Matt: What to is your definition of the discrete metric?
    – p-value
    Aug 9 at 22:03










  • If $x = y$ then $d(x,y) = 0$. Otherwise, $d(x,y) = 1$.
    – Matt
    Aug 9 at 22:04














up vote
1
down vote

favorite












Denote the collection of all finite subsets in $mathbbR^d$ as $mathcalS = S subseteq mathbbR^d: $. What are ways to define distance metrics on $mathcalS$ that can be efficiently computed? For instance, one could define
$$
d(A, B) = frac1 sum_xin Asum_yin B |x - y|_2^2
$$
but I'm not sure if the triangle inequality is satisfied?







share|cite|improve this question




















  • Could you be precise about what you mean by a distance metric?
    – Matt
    Aug 9 at 21:54










  • @Matt: I mean a metric that satisfies the requirements: en.wikipedia.org/wiki/Metric_(mathematics)
    – p-value
    Aug 9 at 21:59










  • Could you use the discrete metric?
    – Matt
    Aug 9 at 22:02










  • @Matt: What to is your definition of the discrete metric?
    – p-value
    Aug 9 at 22:03










  • If $x = y$ then $d(x,y) = 0$. Otherwise, $d(x,y) = 1$.
    – Matt
    Aug 9 at 22:04












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Denote the collection of all finite subsets in $mathbbR^d$ as $mathcalS = S subseteq mathbbR^d: $. What are ways to define distance metrics on $mathcalS$ that can be efficiently computed? For instance, one could define
$$
d(A, B) = frac1 sum_xin Asum_yin B |x - y|_2^2
$$
but I'm not sure if the triangle inequality is satisfied?







share|cite|improve this question












Denote the collection of all finite subsets in $mathbbR^d$ as $mathcalS = S subseteq mathbbR^d: $. What are ways to define distance metrics on $mathcalS$ that can be efficiently computed? For instance, one could define
$$
d(A, B) = frac1 sum_xin Asum_yin B |x - y|_2^2
$$
but I'm not sure if the triangle inequality is satisfied?









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Aug 9 at 21:47









p-value

19910




19910











  • Could you be precise about what you mean by a distance metric?
    – Matt
    Aug 9 at 21:54










  • @Matt: I mean a metric that satisfies the requirements: en.wikipedia.org/wiki/Metric_(mathematics)
    – p-value
    Aug 9 at 21:59










  • Could you use the discrete metric?
    – Matt
    Aug 9 at 22:02










  • @Matt: What to is your definition of the discrete metric?
    – p-value
    Aug 9 at 22:03










  • If $x = y$ then $d(x,y) = 0$. Otherwise, $d(x,y) = 1$.
    – Matt
    Aug 9 at 22:04
















  • Could you be precise about what you mean by a distance metric?
    – Matt
    Aug 9 at 21:54










  • @Matt: I mean a metric that satisfies the requirements: en.wikipedia.org/wiki/Metric_(mathematics)
    – p-value
    Aug 9 at 21:59










  • Could you use the discrete metric?
    – Matt
    Aug 9 at 22:02










  • @Matt: What to is your definition of the discrete metric?
    – p-value
    Aug 9 at 22:03










  • If $x = y$ then $d(x,y) = 0$. Otherwise, $d(x,y) = 1$.
    – Matt
    Aug 9 at 22:04















Could you be precise about what you mean by a distance metric?
– Matt
Aug 9 at 21:54




Could you be precise about what you mean by a distance metric?
– Matt
Aug 9 at 21:54












@Matt: I mean a metric that satisfies the requirements: en.wikipedia.org/wiki/Metric_(mathematics)
– p-value
Aug 9 at 21:59




@Matt: I mean a metric that satisfies the requirements: en.wikipedia.org/wiki/Metric_(mathematics)
– p-value
Aug 9 at 21:59












Could you use the discrete metric?
– Matt
Aug 9 at 22:02




Could you use the discrete metric?
– Matt
Aug 9 at 22:02












@Matt: What to is your definition of the discrete metric?
– p-value
Aug 9 at 22:03




@Matt: What to is your definition of the discrete metric?
– p-value
Aug 9 at 22:03












If $x = y$ then $d(x,y) = 0$. Otherwise, $d(x,y) = 1$.
– Matt
Aug 9 at 22:04




If $x = y$ then $d(x,y) = 0$. Otherwise, $d(x,y) = 1$.
– Matt
Aug 9 at 22:04















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2877727%2fdistance-between-finite-sets-of-points%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2877727%2fdistance-between-finite-sets-of-points%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

Is there any way to eliminate the singular point to solve this integral by hand or by approximations?

Why am i infinitely getting the same tweet with the Twitter Search API?

Carbon dioxide