Top Banner
PCA Data
15

PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Dec 14, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

PCA Data

Page 2: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

PCA Data minus mean

Page 3: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Eigenvectors

Page 4: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Compressed Data

Page 5: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Spectral Data

Page 6: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Eigenvectors

Page 7: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Fit Error – 2 Eigenfunctions

Page 8: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Singular Value Decomposition (SVD)

A matrix Amxn with m rows and n columns can be decomposed into

A = USVT

where UTU = I, VTV = I (i.e. orthogonal) and S is a diagonal matrix.

If Rank(A) = p, then Umxp, Vnxp and Spxp

OK, but what does this mean is English?

Page 9: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

SVD by Example

Keele Data on Reflectance of Natural Objectsm = 404 rows of different objectsn = 31 columns, wavelengths 400-700 nm in 10 nm stepsRank(A) = 31 means at least 31 independent rows

A404x31=

Page 10: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

SVD by Example

UTU = I means dot product of two different columns of U equalszero. VTV = I means dot product of two different columns of V (rowsof VT) equals zero.

A404x31 U404x31 S31x31 VT31x31=

Page 11: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Basis Functions

V31x31=

Columns of V are basis functions that can be used to representthe original Reflectance curves.

Page 12: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Basis Functions

First column handles most of the variance, then the second columnetc.

Page 13: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

Singular Values

S31x31=

The square of diagonal elements of S describe the varianceaccounted for by each of the basis functions.

Page 14: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

SVD Approximation

The original matrix can be approximated by taking the first dcolumns of U, reducing S to a d x d matrix and using the first drows of VT.

A404x31 U404xd Sdxd VTdx31~

Page 15: PCA Data. PCA Data minus mean Eigenvectors Compressed Data.

SVD ReconstructionThree Basis Functions

Five Basis Functions