0Pricing
Learn AI with Python · Lesson

Matrix Factorization with SVD

User-item matrix, SVD decomposition, latent factors, Surprise library implementation.

Why Matrix Factorization?

The user-item matrix is huge and mostly empty. Matrix factorization compresses it into two smaller matrices of latent factors, one for users and one for items, whose product reconstructs (and fills in) the ratings. This handles sparsity far better than neighbor methods.

Latent Factors Intuition

Each user and item is described by a short vector of hidden features (maybe action-ness or comedy-ness for movies). A predicted rating is the dot product of a user vector and an item vector, learned purely from the data.

All lessons in this course

  1. Collaborative Filtering: User-Based and Item-Based
  2. Matrix Factorization with SVD
  3. Content-Based Filtering
  4. Hybrid Systems and Evaluation Metrics
← Back to Learn AI with Python