- 2073 Bhadra · 5+5 marks
One-class vs multi-class CF
Short answer
Collaborative filtering predicts user interest from similar users' preferences. Multi-class uses explicit ratings (e.g., 1-5 stars) with known negatives; one-class uses only positive implicit feedback (clicks, purchases) where missing entries are ambiguous, requiring negative sampling or weighting techniques.
What is collaborative filtering? What specifics are there in one class versus multi-class collaborative filtering? Explain with specific examples.
Collaborative filtering (CF)
Collaborative filtering is a recommendation technique that predicts the interest of a user in items from the preferences of many other users with similar tastes. It uses a user-item matrix of ratings or actions. Two main styles are user-based (find similar users) and item-based (find similar items), using similarity measures such as cosine or Pearson correlation.
Example: if Ram and Sita both liked films A and B, and Sita also liked C, then C is recommended to Ram.
Multi-class (general) collaborative filtering
The feedback is explicit and has several levels or classes, for example 1 to 5 stars. Both likes and dislikes are known, and the level of preference is known.
- Example: movie ratings on Netflix or IMDb. Ram rates film A = 5, B = 2. The system predicts his rating for film C as 4.3 and recommends high-scoring films.
- Missing entries mean "not rated" and can be ignored in training.
- Methods: neighbourhood models, matrix factorization, regression on ratings.
One-class collaborative filtering (OCCF)
Only positive feedback is available: a purchase, click, view, or like. There are no negative ratings; a missing entry may mean dislike or just unawareness.
- Example: an online shop where we only know what a customer bought; a news site where we only know clicked articles.
- The challenge is that positive examples are few, and missing values are ambiguous.
- Methods: treat all missing as weak negatives (with low weights), sample negatives, or give higher confidence to repeated actions (weighted matrix factorization, Bayesian personalised ranking).
| Point | One-class | Multi-class |
|---|---|---|
| Feedback | Only positive (yes/1) | Many levels (1 to 5) |
| Missing value | Unclear: negative or unknown | Unrated |
| Typical data | Clicks, purchases | Star ratings |
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- General vs one-class CF · Information System, chapter 7
- Cold start in collaborative filtering · Information System, chapter 7 · asked 2×
- Collaborative filtering concept · Information System, chapter 7
- Short note: collaborative filtering · Information System, chapter 7
- Intranet vs Internet, firewall, content filtering · Internet and Intranet, chapter 1
- Content filtering vs packet filtering · Internet and Intranet, chapter 5