epfl-lts2 / pygsp

Graph Signal Processing in Python
https://pygsp.rtfd.io
BSD 3-Clause "New" or "Revised" License
483 stars 93 forks source link

graph_sparsify: can we update the node labels also? #66

Closed Luckick closed 4 years ago

Luckick commented 4 years ago

Hi,

I am hoping to sparsify my graph which is a sparse matrix, and I also hope to update my node labels for generated sparsified graph. Is there a way to update the node labels directly, or get the index of nodes that would be kept in sparsified graph? Any suggestion to revise the code if the function is not provided yet?

Thank you a lot!

Luckick commented 4 years ago

never mind, I got confused about the definition of sparse.