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

PCA rank #10

Open
wsdewitt opened this issue May 19, 2019 · 0 comments
Open

PCA rank #10

wsdewitt opened this issue May 19, 2019 · 0 comments

Comments

@wsdewitt
Copy link

The total number of principal components is the minimum of the column and row dimensions, so this line fails if there are more columns than rows (e.g. 96 triplet components and 10 individuals)

pca = PCA(n_components=self.M_run.shape[1])

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