Mathematics for ML

Euclidean Distance, explained

Euclidean distance is the straight-line distance between two points in a vector space.
Back to Glossary

Part of the Semantic Notion technical glossary.

Short Definition

Euclidean distance is the straight-line distance between two points in a vector space.

Intuition

It is the ordinary geometric distance you would measure with a ruler, generalized to many dimensions.

Technical Definition

Euclidean distance is the L2 norm of the difference between two vectors.

Example

Clustering algorithms may group points by Euclidean distance in feature space.

Common Misunderstandings

Euclidean distance can behave poorly in very high-dimensional spaces.
It is sensitive to feature scale.

Start here

Need the broader concept map?

Return to the glossary index to move from this definition into adjacent AI, ML, mathematics, and computer science terms.