Module 10 · Lesson 5 of 12Pro
Learned embeddings: vectors for words, items and users
- Level
- Intermediate
- Reading time
- 18 min
When you finish this page you can
- Explain why an embedding layer is a one-hot vector times a weight matrix, done as a row lookup.
- Train customer and product vectors from orders in PyTorch, with random products as negatives.
- Predict which rows of an embedding table learn well and which learn only part of the way.
- Choose between a learned ID table and vectors built from item features, and say when to combine them.