Understand Singular Value Decomposition (SVD): A Beginner Guide – Deep Learning Tutorial

By | November 5, 2019

Singular Value Decomposition (SVD) expresses any matrix can be decomposed into the product of three matrices. In this tutorial, we will discuss some basic features of svd for deep learning beginners.

svd tutorials and examples

As a matrx A(m × n), it can be decomposed into the product of three matrices.

svd formula

where:

svd matrix

UUT = I, VVT = I

I is unit matrix.

UT is transpose matrix of U, VT is transpose matrix of V.

svd second matrix

When we are computing svd value of matrix A, we often sort the value of Σ from big to small, which means:

σ1>= σ2 >= σ3 >= σ4 …….., σi is called singular value of matrix A.

Notice: when matrix A is m × m. A can be decomposed into:
svd regular matrix

where QQT = I

Here are some features of SVD:

if A = UΣVT

then:

AT = VΣUT

ATA = VΣ2VT

To compute U, Σ, V, you can use tensorflow or numpy, here are tutorials.

Compute Singular Value Decomposition (SVD) with TensorFlow – TensorFlow Example

Calculate Singular Value Decomposition (SVD) using Numpy – Numpy Example

Leave a Reply