Principal Component Analysis
Start with your data matrix \(X =\begin{bmatrix}2 & 0 \\0 & 2 \\3 & 3 \\\end{bmatrix} \) Step 1: Centering (standard for PCA): \( X_{centered} =X – \bar{X} \) Sometimes you also scale (normalize) each feature to have unit variance (standard deviation = 1). This is called standardization. \( X_{scaled} = \frac{X – \bar{X}}{\sigma} \) … Read more