-
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 a graph learning module #57
base: master
Are you sure you want to change the base?
Conversation
- do not use underscores in functions args
…nce -> fix fix radius nn graph for spdist
try to install via before_install
# Conflicts: # pygsp/graphs/nngraphs/nngraph.py # pygsp/tests/test_graphs.py
…efactor # Conflicts: # README.rst
Here the method is based on smoothness, but I am not sure that this does help for the name. |
Better to keep one class per method (the separation is clear and the parameters would be messy otherwise). Well, What about something like BTW, |
I think it should be |
Let's think a bit more about the name. If we'll group them, you can name the module |
Hi guys, About the name: if we call it "LearnFromSmoothSignals" it doesn't separate between my method and the one of Dong etal. The separation comes from the regularisation of the degrees vector, so there could be a parameter "method" or "model" with choices between "l2_degrees" or "log_degrees" or similar. But as @mdeff said, then we have different sets of parameters... So how do we name mine versus he one of Dong etal? LearnFromSmoothSignalsLog vs LearnFromSmoothSignalsL2? |
Good to hear from you @kalofolias! Thanks for the tutorial. Do you like |
Yeah, I think it's an ok name... I can't think of a better one myself. The settings where Dong et al performs better are spotty, but I might implement it for completeness and comparison reasons later. |
I have renamed the graph... But the import is a bit dirty in the |
Hi guys, |
I cannot give you access... @mdeff , does he really need permission? If yes, can you add him? |
Thanks for your patience. @kalofolias, you should have received an invitation. Upon accepting, you should be able to push your changes to this branch. Thanks for the tutorial! |
Fixed bugs and improved compute_theta_bounds (geom_mean=True vs False, islist->is_sorted) Added some documentation (utils._nearest_neighbor) Allowed LearnedFromSmoothSignals to take manually an edge_mask
Just found a small bug. |
oh actually you found it as well sorry |
Is @kalofolias actively using this? Can we push his improvements and tutorial while we have it in our mind? Thanks :) |
@nperraud: why wasn't this bug caught by the unit tests? Can we add some to avoid further issues? |
Add a small module to learn the graph from the signals.
From the user side, he can simply use the class
LearnGraph
.