Hi,
In C3_W2, for content-based filtering, on the slides with TensorFlow code example I see following comment, were dot product is calculated, says it calculated the vector similarity, but I think it’s not what dot product does:
I have not worked that assignment, but I would interpret that as just a “riff” on the idea of cosine similarity. Note that another way to express the dot product between two vectors is:
v \cdot w = |v||w|cos(\theta)
Where \theta is the subtended angle between the two vectors. It is common (e.g. when dealing with word embeddings) to compute the cosine similarity as:
So maybe the language there is a bit approximate, but you could say that the magnitude and sign of v \cdot w are in a sense a measure of the similarity of v and w.