Recommender Systems Lab
Learn how recommender systems work through interactive experiments computed in your browser: collaborative filtering, content-based, hybrid, matrix factorization, deep learning, sequential, knowledge-based and evaluation, then build a recommendation project on your own data.
- 8Labs
- 44Experiments
- 15Lessons
- 22Verified references
The labs
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.
Open the labContent-Based Lab
TF-IDF, user profiles, item representations and attribute matching: recommending from the item’s own features.
Open the labHybrid Recommenders Lab
Combining signals following Burke’s taxonomy, and handling user and item cold start.
Open the labMatrix Factorization Lab
SVD, SGD, ALS, implicit feedback, NMF and the latent-factor map, with real training computed in front of you.
Open the labDeep Recommenders Lab
NeuMF, AutoRec, two-tower models and factorization machines, with an honest comparison against simple baselines.
Open the labSequential Recommenders Lab
Markov chains, RNN/GRU/LSTM and self-attention: predicting the next item of a session.
Open the labKnowledge-Based Lab
Constraints, utility, Pareto fronts, case-based reasoning, critiquing, knowledge graphs, TransE and ontology similarity.
Open the labRecommender Evaluation Lab
Split protocols, data leakage, ranking metrics, beyond-accuracy measures, significance and popularity bias.
Open the labTools and resources
Recommendation Builder
Upload your data, pick a project type and let the lab compare algorithms and export a report.
OpenDatasets library
Verified facts about well-known datasets and their licences, ready synthetic samples, and CSV/JSON upload with validation.
OpenChallenges
Checkable problems whose answers are computed by the same engine.
OpenGlossary and formulas
Searchable terms, formulas and FAQ.
OpenReferences
References checked on a recorded date.
OpenImplemented algorithms
| 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. |
| TF-IDF content model | Content-Based Lab | Browser | TF-IDF weights and cosine similarity between user profile and item. |
| Weighted attribute match | Content-Based Lab | Browser | Matching categorical and numeric attributes with user-set weights. |
| Neural collaborative filtering | Deep Recommenders Lab | Browser | GMF + MLP trained with hand-written backpropagation and Adam. |
| AutoRec | Deep Recommenders Lab | Browser | Autoencoder over rating vectors (Sedhain 2015). |
| Two-tower model | Deep Recommenders Lab | Browser | User and item encoders joined by a dot product. |
| Factorization machine | Deep Recommenders Lab | Browser | Second-order interactions through latent factors (Rendle 2010). |
| Weighted hybrid | Hybrid Recommenders Lab | Browser | Blend of normalised scores from two components with weight α. |
| Switching / cascade hybrid | Hybrid Recommenders Lab | Browser | Chooses the component according to how much data the user has. |
| Constraints and relaxation | Knowledge-Based Lab | Browser | Constraint filtering with minimal-cost relaxation. |
| Multi-attribute utility | Knowledge-Based Lab | Browser | Weighted sum and Pareto set. |
| Case-based reasoning & critiquing | Knowledge-Based Lab | Browser | Nearest-case retrieval refined by user critiques. |
| Personalised PageRank on a KG | Knowledge-Based Lab | Browser | Explanatory paths and meta-path patterns. |
| TransE | Knowledge-Based Lab | Browser | Relation embeddings with a margin loss (Bordes 2013). |
| Wu–Palmer similarity | Knowledge-Based Lab | Browser | Concept similarity in a taxonomy. |
| Truncated SVD | Matrix Factorization Lab | Browser | Singular value decomposition of a mean-imputed matrix. |
| Matrix factorization (SGD) | Matrix Factorization Lab | Browser | The μ + b_u + b_i + p·q model with L2 regularisation, as in Koren 2009. |
| Alternating least squares | Matrix Factorization Lab | Browser | Closed-form update of each factor matrix in turn. |
| Implicit-feedback ALS | Matrix Factorization Lab | Browser | Confidence weights c = 1 + αr, as in Hu 2008. |
| Non-negative MF | Matrix Factorization Lab | Browser | Multiplicative update rules (Lee & Seung 1999). |
| Markov chain | Sequential Recommenders Lab | Browser | Item-to-item transition probabilities with smoothing. |
| RNN / GRU / LSTM | Sequential Recommenders Lab | Browser | Real BPTT training on sessions (idea from Hidasi 2016). |
| Self-attention | Sequential Recommenders Lab | Browser | A small attention block in the style of SASRec/BERT4Rec. |
