Question: Develop a python code to do the followings: 1 . Evaluate the PCA reconstruction of the dataset using 5 PCA eigenvector and 1 2 eigenvectors.

Develop a python code to do the followings:
1. Evaluate the PCA reconstruction of the dataset using 5 PCA eigenvector and 12 eigenvectors. For each of these cases, compare the original data with the reconstructed data for 10 different time steps (you pick them).
2. Plot the eigenvalues from the PCA decomposition.
3. Repeat the above process using the data associated with the first 1000 time steps.
4. Repeat the above process using the data associated with the last 1000 time steps.
The database has the following format: first column refers to time (minute)1.55, the next 11 columns are temperature measurements (12.28,9.06,4.50,11.51,1.28,9.45,11.06,8.07,9.06,2.53,3.48) at various depths along the string. These depths are (in meters)16,21,23.5,26,31,33.5,36,41,46,51,56, respectively. There are 3,600 rows equivalent to 1,500 minutes. Thanks.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!