Collaborative Filtering Lab
Predict your rating from people who resemble you: user- and item-based kNN, similarity measures, neighbourhood size, sparsity and the long tail.
- 6Experiments
- 2Lessons
Lessons
User-based collaborative filtering
We predict your rating of an item from the ratings of people whose tastes resemble yours and who rated it.
Read the lessonItem-based collaborative filtering
We estimate your rating of an item from your own ratings of items that people rate similarly.
Read the lessonAlgorithms in this lab
| Algorithm | Lab | Runs in | Note |
|---|---|---|---|
| User-based kNN | Collaborative Filtering Lab | Browser | Similarity-weighted mean of neighbours’ deviations (Pearson/cosine/Jaccard). |
| Item-based kNN | Collaborative Filtering Lab | Browser | Adjusted cosine between items, as in Sarwar 2001. |
| Popularity baseline | Collaborative Filtering Lab | Browser | Recommends the most-rated items; surprisingly strong on small data. |
