User:SirMeowMeow/sandbox/SVD

Source: Wikipedia, the free encyclopedia.

Singular Value Decomposition

Any real or complex matrix of size may be decomposed into the triple product ,[a] where is and orthonormal, is is a positive-definite real diagonal matrix, and is and orthonormal.

Example

Let be the matrix below. Let every row of the matrix correspond to an individual observation, and let every column in the matrix represent different "dimensions" of the observation. For example, let every row in this matrix correspond to a user of a music service, and let every column represent a different song on the service, and let the weight correspond to how much that particular user enjoyed a song.It is conceivable that data representation for such services will always experience sparse data sets because the majority of their customers will only sample a very small minority of songs.


The SVD decomposition of this matrix will give us a triple product of matrices popularly named . For the orthonormal matrix ,

Notes

  1. ^ Or for real matrices.