Chapter 5
Building Recommender Systems
Section 4
Computing similarity scores
In order to build a recommendation system, it is important to understand how to compare various objects in our dataset. The similarity score gives us an idea of how similar two objects are. - Define a function to compute the Euclidean score between the input users - Extract the movies rated by both users - Repeat the same to compute Pearson score