User-based models
We discussed the the user-based model in the previous sections. Let us do a quick recap here. The user-based model for collaborative filtering tries to mimic the word-of-mouth approach in marketing. It is a memory-based model. The premise of this algorithm is that similar users will have a similar taste in jokes. Therefore, they will rate jokes in a more or less similar manner. It's a two-step process, in the first step for a given user, the algorithm finds his neighbors. A similarity distance measure, such as Pearson coefficient, or cosine distance, is used to find the neighbors for a given user. For an item not rated by the user, we look at whether the user's neighbors have rated that item. If they have rated an average ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access