← Back to Week 4

Week 4: Vector Representations & Similarity Measures

Knowledge Check — Select an answer to see immediate feedback.

Questions 10
Question 1

What does cosine similarity measure between two vectors?

Question 2

A key advantage of cosine similarity over Euclidean distance for comparing preference vectors is that cosine similarity:

Question 3

When representing food preferences at the individual ingredient level, vectors become extremely sparse. What does "sparse" mean in this context?

Question 4

The "curse of dimensionality" in the context of sparse representations refers to:

Question 5

Two users both enjoy spicy food but have no overlap in the specific ingredients they use. Using highly specific ingredient-level binary vectors, their cosine similarity score will likely be:

Question 6

Why is over-generalization of categories problematic for similarity measures? Consider two users both labeled as preferring "protein."

Question 7

In a food preference survey using a Likert scale, what is the primary purpose of using controlled vocabularies?

Question 8

Principal Component Analysis (PCA) helps address which core challenge in preference data collected from surveys?

Question 9

A key advantage of deep learning-based learned representations over manually engineered feature vectors is:

Question 10

One user rates every movie a 5 out of 10. Another user rates every movie a 10 out of 10. They have identical taste — they both love everything equally. What would their cosine similarity be?