Collaborative Filtering Recommender (Matrix Factorization, Item-Based kNN)
Collaborative filtering recommends items to users from a user-by-item interaction table, here by biased matrix factorisation, implicit-feedback alternating least squares or item-based cosine nearest neighbours.
협업 필터링은 사용자×항목 상호작용 표로부터 각 사용자에게 아직 보지 않은 항목을 추천하는 방법으로, 여기서는 편향 행렬분해, 암묵 피드백 교대 최소제곱, 항목 기반 코사인 최근접 이웃을 씁니다.
I have user ratings of products; which items should I recommend to each user, and how accurate are the recommendations on ratings I held back?
고객들이 상품에 매긴 평점이 있는데, 고객마다 어떤 상품을 추천하면 좋고 그 추천이 얼마나 정확한지 확인할 수 있을까요?
The interactions of each user are split into a training part and a held-out part, a factorisation or item-neighbour model is fitted to the training part, and every user receives a ranked list of items they have not yet seen. Accuracy is reported as RMSE for predicted ratings and as precision, recall and NDCG at k for the ranked lists, next to a most-popular-items baseline. Ranking metrics use a sample of up to 2,000 test users, and limits are 200,000 interactions, 50,000 users and 20,000 items (5,000 for item-based kNN).
When to use Collaborative Filtering Recommender (Matrix Factorization, Item-Based kNN)
- You have a long table of user, item and rating (or click or purchase count) rows.
- You want personalised top-N item lists and a list of items similar to each other.
- You want an honest holdout comparison against simply recommending the most popular items.
When to use something else
- You have very few users or items, or most users have one interaction; use popularity rankings or association rules instead.
- Item content (text, attributes) matters more than co-consumption; use a content-based or hybrid model instead.
Assumptions and requirements
- Past interactions reflect stable preferences that carry over to unseen items.
- Missing ratings are not driven by the rating itself (or, for implicit data, absence is treated as weak negative evidence).
- Each user has at least two interactions so that one can be held out.
What the analysis reports
- Holdout RMSE for explicit ratings (global-mean baseline for matrix factorisation)
- Precision@k, recall@k and NDCG@k with a popularity baseline
- Top-N recommendations for the most active users
- Most similar items for the most popular items
- Model settings (factors, regularisation, confidence weight or neighbours)
How to report it
A biased matrix factorisation recommender ([value] factors) trained on [value] interactions from [value] users and [value] items achieved a holdout RMSE of [value] and precision@[value] = [value] (popularity baseline [value]).
Related methods
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Collaborative Filtering Recommender (Matrix Factorization, Item-Based kNN) on Quorant
- Data you need
- a table (CSV or Excel) with a unit (entity) ID, a grouping variable and an outcome variable
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.