If A={(5,1),(2,3),(4,5)} and B={(4,3),(3,4),(2,3)} are two series, how is the euclidean distance between them calculated?

Would it be $\sqrt{(5-4)^2+(1-3)^2} + \sqrt{(2-3)^2+(3-4)^2} + \sqrt{(4-2)^2+(5-3)^2}$ ?

  • $\begingroup$ Are you looking to find the pairwise Euclidean distances? en.wikipedia.org/wiki/Distance_matrix $\endgroup$ – ilanman Nov 29 '16 at 1:58
  • $\begingroup$ I am looking for distance between the two series A and B $\endgroup$ – pooja p Dec 1 '16 at 18:30
  • $\begingroup$ I'd also be interested in knowing what distance means between two series. The way you suggest, order matters. But should it? $\endgroup$ – ilanman Dec 1 '16 at 18:58
  • $\begingroup$ What exactly is the geometric interpretation of a series? Perhaps a cluster of points? And you're looking for the distance between two clusters. $\endgroup$ – ilanman Dec 1 '16 at 19:41
  • $\begingroup$ More like time series. For example, (5,1) would be the position at time t1, (2,3) would be the position at time t2 and so on. So yes, order matters in such a case. $\endgroup$ – pooja p Dec 1 '16 at 19:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.