Professional Documents
Culture Documents
PCA Algorithm-
The steps involved in PCA Algorithm are as follows-
Step-01: Get dataset.
Step-02: Compute the Mean value for the variables.
Step-03: Calculate the covariance matrix
Step-3.1: .Find the ordered pair
Step-3.2: .Compute covariance for all ordered pair
Step-04: Calculate the Eigen Value and Eigen Vector of the covariance matrix.
Step-05: Normalize Eigen Vector
Step-06: Deriving the new data set.
Example:
X 4 8 13 7
Y 11 4 5 14
Y 11 4 5 14
Covariance Matrix
Step-04: Calculate the Eigen Value and Eigen Vector of the covariance matrix.
Eigen Value:
Eigen Vector of 1
Where t=1
U1= 11
U2 = 14 - 1
Eigen Vector u1 of 1=
1=
e1 =
e1=
P11 = -4.3.52
P12=3.7361
P13=5.6928
P14=-5.1238