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

Can graph_conv_cheby method be applied to an arbitrary graph ? #26

Closed
pinkfloyd06 opened this issue Mar 5, 2018 · 3 comments
Closed

Comments

@pinkfloyd06
Copy link

Hello,

Let me first thank you for your work.

l would like to ask you whether your graph_conv_cheby() can be applied to an arbitrary graph such as an irregular graph or just on a grid graph ?

Thank you

@mdeff
Copy link
Owner

mdeff commented Mar 5, 2018

Yes absolutely. You only need an adjacency matrix which describes your graph.

@pinkfloyd06
Copy link
Author

@mdeff Thank you for your answer. Hoever l get confused after looking at your experiment on MNIST https://github.com/mdeff/cnn_graph/blob/master/nips2016/mnist.ipynb

A = grid_graph(28, corners=False)
and the number of edges per vertex is at least 8.

What if l don't have a grid. l deal with irregular graphs where each graph has N nodes such that :

each node_i has k_i vertices.

-So the number of vertices varies from node to another either in the same graph or on different graphs

  • The number of nodes per graph is variable

@mdeff
Copy link
Owner

mdeff commented Mar 5, 2018

If the number of nodes per graph is variable, then your main issue is that you'll have to "summarize" the information in a fixed-length vector at some point. See the discussion in #5. As far as the graph convolution is concerned, you can have a different adjacency matrix for each data point.

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