Model-based approach
The model based approach addresses the scalability problem seen in memory-based approaches. Compared to the user-based approach, where the recommendations came from leveraging a user's neighbors preference, the model-based approach leverages product similarity to make recommendations. The premise is that users will prefer those products similar to the ones they have already rated.
The first step in this approach is to calculate the product similarity matrix. Let us say there are a set of products: {p1,p2,...pm}. An m x m matrix is constructed to begin with. Once again Pearson coefficient or cosine similarity is used as a similarity measure. For efficiency purposes, instead of building a whole m x m matrix, a smaller ...
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