
Euclidean distance measures absolute position in space
Euclidean distance measures absolute position in space
Euclidean distance is used when the absolute position in space is important. It is based on Euclidean geometry, which focuses on the distance between two points in a plane or three-dimensional space. This distance is calculated using the Pythagorean theorem, making it essential for applications where exact positioning matters.
Example
In a coordinate plane, the Euclidean distance between points (3, 4) and (7, 1) is calculated as √((7-3)² + (1-4)²) = √(16 + 9) = √25 = 5 units.
Remember this
Understanding when to use Euclidean distance is crucial for accurate spatial measurements and applications in fields like engineering, physics, and computer graphics.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Riemannian manifold
Riemannian manifolds generalize Euclidean space concepts like distance and curvature
cosine similarity works better than Euclidean distance in high dimensions
Cosine similarity measures orientation, not magnitude, making it more robust to irrelevant dimensions in high-dimensional spaces
Chebyshev distance
Chebyshev distance is named after Pafnuty Chebyshev
List of algorithms
Cosine similarity measures the angle between vectors, not their magnitude
Inner product space
Inner product space generalizes Euclidean geometry
cosine similarity is preferred over dot product for normalized embeddings
Why do we need a special way to measure similarity in high-dimensional spaces?
Swipe through 100 ML concepts daily
Open Pocket Polymath