Skip to main content
(Very) Minor Math Jaxing (used $\|\cdot\|$ instead of $||\cdot||$)
Source Link
Daniele Tampieri
  • 6.4k
  • 7
  • 30
  • 45

I have two sets of points, $X$ and $Y$, which are finite and disjoint. I want to compute the distance between them defined by: $$d(X,Y)= \frac{\sum_{x \in X} ||x-Y|| + \sum_{y \in Y} ||y-X||}{|x|+|y|} $$$$d(X,Y)= \frac{\sum_{x \in X} \|x-Y\| + \sum_{y \in Y} \|y-X\|}{|x|+|y|} $$ where $||x-Y||$$\|x-Y\|$ represents the distance between the point $x$ in $X$ to its closest point in $Y$, and $|x|$, $|y|$ are the cardinalities of $X$ and $Y$ respectively.

Since both sets are large, the above formula is computationally expensive. How can I calculate it or bound it efficiently?

I have two sets of points, $X$ and $Y$, which are finite and disjoint. I want to compute the distance between them defined by: $$d(X,Y)= \frac{\sum_{x \in X} ||x-Y|| + \sum_{y \in Y} ||y-X||}{|x|+|y|} $$ where $||x-Y||$ represents the distance between the point $x$ in $X$ to its closest point in $Y$, and $|x|$, $|y|$ are the cardinalities of $X$ and $Y$ respectively.

Since both sets are large, the above formula is computationally expensive. How can I calculate it or bound it efficiently?

I have two sets of points, $X$ and $Y$, which are finite and disjoint. I want to compute the distance between them defined by: $$d(X,Y)= \frac{\sum_{x \in X} \|x-Y\| + \sum_{y \in Y} \|y-X\|}{|x|+|y|} $$ where $\|x-Y\|$ represents the distance between the point $x$ in $X$ to its closest point in $Y$, and $|x|$, $|y|$ are the cardinalities of $X$ and $Y$ respectively.

Since both sets are large, the above formula is computationally expensive. How can I calculate it or bound it efficiently?

deleted 6 characters in body
Source Link
user44143
user44143

I have two sets of points, $X$ and $Y$, which are finite and disjoint. I want to compute the distance between them defined by: $$d(X,Y)= \frac{\sum_{x \in X} ||x-Y|| + \sum_{y \in Y} ||y-X||}{|x|+|y|} $$ where $||x-Y||$ represents the distance between the point $x$ in $X$ to its closest point in $Y$, and $|x|$, $|y|$ are the cardinalities of $X$ and $Y$ respectively.

Since both sets are large, the above formula is computationally expensive. How can I calculate it or approximatebound it efficiently?

I have two sets of points, $X$ and $Y$, which are finite and disjoint. I want to compute the distance between them defined by: $$d(X,Y)= \frac{\sum_{x \in X} ||x-Y|| + \sum_{y \in Y} ||y-X||}{|x|+|y|} $$ where $||x-Y||$ represents the distance between the point $x$ in $X$ to its closest point in $Y$, and $|x|$, $|y|$ are the cardinalities of $X$ and $Y$ respectively.

Since both sets are large, the above formula is computationally expensive. How can I calculate it or approximate it efficiently?

I have two sets of points, $X$ and $Y$, which are finite and disjoint. I want to compute the distance between them defined by: $$d(X,Y)= \frac{\sum_{x \in X} ||x-Y|| + \sum_{y \in Y} ||y-X||}{|x|+|y|} $$ where $||x-Y||$ represents the distance between the point $x$ in $X$ to its closest point in $Y$, and $|x|$, $|y|$ are the cardinalities of $X$ and $Y$ respectively.

Since both sets are large, the above formula is computationally expensive. How can I calculate it or bound it efficiently?

simplified and retagged
Source Link
user44143
user44143

I have two disjoint sets "X, Y" of points where there is no other assumption about both sets, only$X$ and $Y$, which are finite and disjoint.

It is needed I want to compute the distance between those sets "X, Y" using the formulathem defined by:

$$d(X,Y)= \frac{\sum_{x \in X} ||x-y|| + \sum_{y \in Y} ||y-x||}{|x|+|y|} $$ $$d(X,Y)= \frac{\sum_{x \in X} ||x-Y|| + \sum_{y \in Y} ||y-X||}{|x|+|y|} $$ where $||x-y||$$||x-Y||$ represents the distance between the point $x$ in $X$ to its closest point $y$ in $Y$, and |x|$|x|$, |y|$|y|$ are the cardinalitycardinalities of sets |X|, |Y|$X$ and $Y$ respectively.

Considering thatSince both sets are large with a huge number of points, then using the above formula is computationally expensive knowing that I am looking to implement it and to do simulations.

  How can I would like to know if there is a known method or an idea to calculate, for each element $x$ in $X$, the first nearest neighbor $y$ in $Y$ in order to bound first mathematically the distance between both sets before doing my simulations.

If needed, I would be very grateful to clarify more any ambiguity in my first question. it or approximate it efficiently?

I have two disjoint sets "X, Y" of points where there is no other assumption about both sets, only disjoint.

It is needed to compute the distance between those sets "X, Y" using the formula:

$$d(X,Y)= \frac{\sum_{x \in X} ||x-y|| + \sum_{y \in Y} ||y-x||}{|x|+|y|} $$ where $||x-y||$ represents the distance between the point $x$ in $X$ to its closest point $y$ in $Y$, and |x|, |y| are the cardinality of sets |X|, |Y| respectively.

Considering that both sets are large with a huge number of points, then using the above formula is computationally expensive knowing that I am looking to implement it and to do simulations.

  I would like to know if there is a known method or an idea to calculate, for each element $x$ in $X$, the first nearest neighbor $y$ in $Y$ in order to bound first mathematically the distance between both sets before doing my simulations.

If needed, I would be very grateful to clarify more any ambiguity in my first question.

I have two sets of points, $X$ and $Y$, which are finite and disjoint. I want to compute the distance between them defined by: $$d(X,Y)= \frac{\sum_{x \in X} ||x-Y|| + \sum_{y \in Y} ||y-X||}{|x|+|y|} $$ where $||x-Y||$ represents the distance between the point $x$ in $X$ to its closest point in $Y$, and $|x|$, $|y|$ are the cardinalities of $X$ and $Y$ respectively.

Since both sets are large, the above formula is computationally expensive. How can I calculate it or approximate it efficiently?

Source Link
Flore
  • 59
  • 1
Loading