NumPy · Lesson 5.2 · Pro
Distances and similarity
Measure how far apart or how alike two points are, find the nearest one, and build a distance table.
In this lesson
- Distance between two points
- Nearest neighbour
- Every pair at once
- Cosine similarity
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.