Recommender Systems Lab

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

The data bundled in this lab is synthetic (fictional titles, ratings from a seeded generator) and small, and the algorithms are genuinely computed in your browser. Results are educational and not comparable with a system on large real data; upload your own data to try them on it.

Lessons

Concept

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 lesson
Concept

Item-based collaborative filtering

We estimate your rating of an item from your own ratings of items that people rate similarly.

Read the lesson

Algorithms in this lab

AlgorithmLabRuns inNote
User-based kNNCollaborative Filtering LabBrowserSimilarity-weighted mean of neighbours’ deviations (Pearson/cosine/Jaccard).
Item-based kNNCollaborative Filtering LabBrowserAdjusted cosine between items, as in Sarwar 2001.
Popularity baselineCollaborative Filtering LabBrowserRecommends the most-rated items; surprisingly strong on small data.

Experiments

Try the challenges · My saved experiments