← Back to Data Science

All Topics

Advertisement

Learn/Data Science/Machine Learning

Singular Value Decomposition

Topic: Matrix Factorization

Advertisement

SVD Overview

SVD factors a matrix into three components.

Matrix Factorization

A = UΣV^T. U: left singular vectors. Σ: singular values (diagonal). V: right singular vectors.

Truncated SVD keeps top k components. This is PCA when A is centered.

Applications

Recommender systems: matrix factorization for user-item. Image compression: keep top k components.

Text: latent semantic analysis uses SVD on term-document matrix.

Relationship to PCA

SVD on centered data gives same result as PCA. Different computation, same result.

Key Takeaways

  1. SVD factors matrix into three components
  2. Truncated SVD approximates original
  3. Foundation for many ML methods

Advertisement

Advertisement

Need More Practice?

Get personalized data science help from ChatWhole's AI-powered platform.

Get Expert Help →