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

correct usage #36

Open
ekg opened this issue Jul 25, 2023 · 2 comments
Open

correct usage #36

ekg opened this issue Jul 25, 2023 · 2 comments

Comments

@ekg
Copy link

ekg commented Jul 25, 2023

I'm observing that the structures I would expect in PC1 and PC2 are ending up in PC2 and PC3.

I suspect it's a problem with how I'm using the system.

Do you have several examples where you compare the output of PCA with your method to alternative implementations? I'd like to work back from a case that you're sure is set up right.

@ekg
Copy link
Author

ekg commented Jul 25, 2023

Here is what I'm looking at:

image

Left is Randomized SVD as implemented in this library.

Right is PCA from R on the same data.

I can share code to do this, but I'm thinking there is something so obvious that I'm worried it is just a bug in my code and I don't want you to chase it down if I can just work from validated example.

@ekg
Copy link
Author

ekg commented Jul 25, 2023

And for good measure, here is PC1 vs PC2 from randomized SVD.

image

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

1 participant