We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In https://github.com/rushter/MLAlgorithms/blob/master/mla/pca.py#L48, the variance ratio of a component is calculated as the square of its eigenvalue divided by the sum of all squared eigenvalues. But according to https://stats.stackexchange.com/questions/31908/what-is-percentage-of-variance-in-pca, the proportion of variance of a component should be its eigenvector divided by the sum of all eigenvectors. Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In https://github.com/rushter/MLAlgorithms/blob/master/mla/pca.py#L48, the variance ratio of a component is calculated as the square of its eigenvalue divided by the sum of all squared eigenvalues.
But according to https://stats.stackexchange.com/questions/31908/what-is-percentage-of-variance-in-pca, the proportion of variance of a component should be its eigenvector divided by the sum of all eigenvectors. Any ideas?
The text was updated successfully, but these errors were encountered: