Question: Please Python Code!!!!! Problem 2: (PCA exercise) We have the following the training samples: {(2,1), (2.2), (3,2. 13.31.(4.11. (6.57. (7,47. (7.5). (8,5), (8,5), (7,71} (a)
Please Python Code!!!!!

Problem 2: (PCA exercise) We have the following the training samples: {(2,1), (2.2), (3,2. 13.31.(4.11. (6.57. (7,47. (7.5)". (8,5), (8,5), (7,71"} (a) Use PCA to find the principal components (eigenvectors) and the eigenvalues. (Use Python and paper-pen.) (b) Project all the samples on to the first principal component, and calculate the variance. (Use Python and display the projected values on a graph.) (c) Project all the samples on to the second principal component, and calculate the variance. (Use Python and display the projected values on a graph.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
