If we have: User 1, rated product A with 0 star. User 2, rated product A with 0 star.
What is the Pearson's correlation coefficient or Cosine Similarity between them? According to the formula, it should be 0/0. But what is 0/0? It is not a number(NaN). If both rated the same product with the same rating, should the correlation be 1, which is perfect similarity.