Write a function to calculate the cosine similarity between a user profile vector and a set of item embedding vectors.