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

LaplacianEigenmap for a large number of connected components #79

Closed
adityat opened this issue Nov 7, 2019 · 3 comments
Closed

LaplacianEigenmap for a large number of connected components #79

adityat opened this issue Nov 7, 2019 · 3 comments

Comments

@adityat
Copy link
Contributor

adityat commented Nov 7, 2019

When there are k connected components in the graph, the multiplicity of the 0 eigenvector is k, whereas only the first one is being disregarded right now.
In addition, np.linalg.eigs does not return the eigenvalues/vectors in a sorted fashion, so you might be disregarding the wrong one

@palash1992
Copy link
Owner

The framework assumes the graph is connected. Thus, disregarding the first is enough. And as we are putting k=d, we don't care if it's sorted or not

@adityat
Copy link
Contributor Author

adityat commented Nov 13, 2019

in many cases you don't know if you're disregarding the first eigenvector or not if you don't know whether it's sorted or not.

@palash1992
Copy link
Owner

Got it! I merged your changes.

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

2 participants