modified code to read in eigenvectors, eigenvalues, covariances, mean, m, n, p and data point x. updates eigenvectors, eigenvalues, covariances, etc. 3_Apply_clustering. r reads in these values in a txt file, calls python code, then writes it to txt file again. all values, including x, must be defined in python environment before IPCA.py is called
the original IPCA.py file contains an example matrix obs, then performs iterative PCA on this. added r code to read in values for this example, in covariance.txt, mean.txt, eigenvalues.txt, eigenvectors.txt, call the python file IPCA.py, and write the output to .txt files of the same name. the next step is to do the same thing for the video data. this commit can serve as a reference for working code that worked for the example in the original IPCA.py file
the original IPCA.py file contains an example matrix obs, then performs iterative PCA on this. added r code to read in values for this example, in covariance.txt, mean.txt, eigenvalues.txt, eigenvectors.txt, call the python file IPCA.py, and write the output to .txt files of the same name. the next step is to do the same thing for the video data. this commit can serve as a reference for working code that worked for the example in the original IPCA.py file
the original IPCA.py file contains an example matrix obs, then performs iterative PCA on this. added r code to read in values for this example, in covariance.txt, mean.txt, eigenvalues.txt, eigenvectors.txt, call the python file IPCA.py, and write the output to .txt files of the same name. the next step is to do the same thing for the video data. this commit can serve as a reference for working code that worked for the example in the original IPCA.py file