Step 3 of 6· Investigate: Vector similarity
Shared AI lesson · Objects as numbers
Investigate: Vector similarity
Start with A = (1,0), B = (1,1). Compare the dot product, cosine similarity, and Euclidean distance.
Loading this browser experiment…
More things to try · optional
- Change B to (2,2), then make A = (0,0). Why does the zero vector have no cosine similarity?
- Switch between “river bank” and “bank account” in the context illustration. The initial bank vector stays fixed; the simplified contextual representation changes.
Notes, help and related ideas
My notes and reflection
Compare with your prediction
Compare your result with your prediction. Explain a mismatch, then change one condition and try a new case.
Loading your journal…
Your prediction, observation and next question
Prerequisites and related ideas
Key terms: Embedding Vector Cosine similarity Distributed representation