-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add support for the magnetic laplacian #99
Comments
Could you maybe point us to a reference paper? |
The magnetic Laplacian is widely mentioned, my fav is https://ecmlpkdd2019.org/downloads/paper/499.pdf. Note for q=0, the magnetic Laplacian is the same as the symmetrised one, so you could just introduce q as a kwarg and default it to 0 to be backwards compatible. |
Btw, I'm not sure if it is intentional or not, but the directed symmetrised laplacian as it is currently in the code isnt using dw from the symmetrised W but self.dw. |
I've put together a nice demo here: https://github.com/pulquero/sgw/blob/main/examples/graphwave.py |
Thanks a lot.
I need to have a look at what you did, but I am really overworked. I will try to do it asap.
|
Came across another useful hermitian Laplacian for directed graphs: |
The magnetic laplacian provides an alternative to symmetrizing the adjacency matrix for directed graphs. See e.g. "Graph Signal Processing for Directed Graphs based on the Hermitian Laplacian".
The text was updated successfully, but these errors were encountered: