Module 08 · Lesson 8 of 9Pro
Clustering with embeddings
- Level
- Intermediate
- Reading time
- 18 min
When you finish this page you can
- Explain why normalizing embeddings to length 1 makes Euclidean distance, and so k-means, compare directions the way cosine similarity does.
- Find duplicate listings among 50,000 products with a nearest-neighbour search and a similarity threshold, sized for a free notebook.
- Group products into themes with k-means, or with PCA and then HDBSCAN, and say when each fits.
- Check clusters and thresholds by reading samples before anyone acts on them.