Module 6: Dimensionality Reduction
  Lecture 30: Principal Component Analysis (PCA)
 

                                            

 

 

Algorithm
  • Mean center the data (optional)
  • Compute the covariance matrix of the dimensions
  • Find eigenvectors of covariance matrix
  • Sort eigenvectors in decreasing order of eigenvalues
  • Project onto eigenvectors in order