Slope One
Item-Based Collaborative Filteringalgorithm
- Slope One takes the average ratings between two items, and adds another Users ratings to it
- This is done for each pair of items
- For multiple users, the individual averages are summed with a weight based on the number of
- For users with several ratings, the predictions are combined using a weighted average
Example
Customer | Item A | Item B | Item C |
---|---|---|---|
John | 5 | 3 | 2 |
Mark | 3 | 4 | Didn’t rate it |
Lucy | Didn’t rate it | 2 | 5 |
I.e for Item A and B:
I.e for Item A and C:
I.e Rating for Item A. With being the number of users who rated both A and B, and the number of users who rated both A and C.
https://en.wikipedia.org/wiki/Slope_One#Slope_one_collaborative_filtering_for_rated_resources