Knn
Created: 2022-03-23 11:35
Collaborative filtering method based on Similarity measures.
Simple and quite accurate, but suffers of low scalability and has problems in case of sparse databases -> not good for Cold-start.
User to user approach:
- using the selected similarity measure, we produce a set of k nearest neighbors for the user;
- aggregation phase: compute the average (or weighted sum) on item i;
- take the best n items
Item to item approach:
- produce the k items that are neighbors for each item in the database;
- for each item i not rated by user a, compute its prediction using the ratings of a of the k neighbors of i;
- select the top n recommenddations.
The two approaches (item-item and user-user) can be combined (paper)
References
- https://www.sciencedirect.com/science/article/pii/S0950705113001044
Tags
#knn