What is Euclidean Distance?

Modified on Fri, 24 Mar 2023 at 10:47 AM

Euclidean distance is the distance between two real-valued vectors. It is calculated by the square root of the sum of the squared differences of the elements in the two vectors.

The formula to calculate Euclidean distance between two vectors X (x1, x2, …, xn) and Y (y1, y2, …, yn) is:

Euclidean distance is used by TransformsNearest Neighbours and ApplyTargeted Optimisation.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article