-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 returns all 0's #293
Comments
您好,您的邮件已收到,我会尽快查看,^_^
|
邮件已收到,谢谢!
——赵淼
|
It seems to be an issue with using a single vector. When modifying https://github.com/sjwhitworth/golearn/blob/master/pca/pca_test.go#L10 to use only one row, i also get 0 returned |
With sklearn I get a similar issue:
|
Probably should throw a similar error if it's not possible, rather than just returning 0's |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using with a 1536 vector, I get
[0, 0, 0]
printed out from a single row.Example code:
The text was updated successfully, but these errors were encountered: