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

Incorrect Eigenvalues #4

Open
sheshap opened this issue Dec 19, 2022 · 0 comments
Open

Incorrect Eigenvalues #4

sheshap opened this issue Dec 19, 2022 · 0 comments

Comments

@sheshap
Copy link

sheshap commented Dec 19, 2022

Hi,

Thank you very much for the implementation.

Your implementation resulted in the below Eigenvalues and Eigenvectors.
Covariance_Matrix = [[0.098846,0.029067,-0.042707],
[0.029067,0.129853,-0.006902],
[-0.042707,-0.006902,0.045574]]
EigenValues = [0.000685,0.003148,0.005015]
EigenVectors = [[-0.596732,-0.624927,0.503365],
[-0.752320,0.653919,-0.080025],
[0.279150,0.426445,0.860360]]

However, if I use a numpy library, I get the below results.
image

The Eigenvectors are the same. However, the Eigenvalues are different.
Can you please check what the issue is?

Thanks in advance

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