Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC1_eigenVectors has changed #3

Open
fanjingrong opened this issue Jul 6, 2018 · 1 comment
Open

PC1_eigenVectors has changed #3

fanjingrong opened this issue Jul 6, 2018 · 1 comment

Comments

@fanjingrong
Copy link

The wrong file as follows:
#Generate PC1 eigenvectors
evect = pca.eigenvectors
PC1 = np.reshape(evect[0,:],(1300, 3))
np.savetxt("PC1_eigenVectors.dat", PC1, delimiter=" ", fmt="%8.5f")
The wrong file has been changed as follows:
#Generate PC1 eigenvectors file
evect = pca.eigenvectors
PC1 = np.reshape(evect[:,0],(1300, 3))
np.savetxt("PC1_eigenVectors.dat", PC1, delimiter=" ", fmt="%8.5f")

The main question: evect[0,:]

@zhenglz
Copy link
Owner

zhenglz commented Jan 6, 2019

Now the bug has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants