Hamish Burke | 2025-03-20

Related to: #bigData


PCA

  1. Centre data (subtract the matrix)
Vi=1n1summ=1n(XimX¯i)2
  1. Calculate pp covariance matrix
  2. Calculate the p eigenvectors of the covariance matrix (orthogonal)
  3. Select the k eigenvectors that correspond to the highest k eigenvalues to be the new space dimensions