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

Number of PCA points larger than number of correspondence points #2283

Open
ricardopizarro opened this issue Jul 12, 2024 · 1 comment
Open
Labels

Comments

@ricardopizarro
Copy link

The number of PCA components that is rendered in the analysis portion of the software is always the same 224 components. I have tried changing the number of correspondence points to [64, 246, 1024] and it always generates 224 components. I am not sure how we can have more PCA components than correspondence points. Can you please provide some insight?

@akenmorris
Copy link
Contributor

You're right that we should limit the number of components to the number of dimensions of the data (typically 3x the number of particles, for x, y and z). You should see that all of the ones past the number of dimensions will be nearly zero.

You probably have 225 samples in your project, which also limits the number of PCA modes. The data is fully described in N-1 modes of variation and the usual case for ShapeWorks is that the number of dimensions far exceed the number of samples. E.g 300 shapes with 128 particles is constrained by the number of samples (300) not the number of dimensions (384).

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

No branches or pull requests

2 participants