Principal Component Analysis is a statistical procedure of reducing dimensionality of data by orthogonal Transformation. It converts correlated data into set of linearly uncorrelated variables called Principal Components.
- Generate Random data using any distribution.
- Calculate of that data.
- Calculate shift in mean of data or Estimate mean(mu hat)
- Generate Covariance Matrix either with Expectation or using Properties of positive semi-definite.
- Calculate EigenVectors of Covariance Matrix
- Compute the bigger eigen value and the vector corresponding to that value is the 1st Principal Component vector.
- 2nd Bigger Eigen value corresponds to 2nd EigenVector and they are perpendicular.