snap-stanford / neural-subgraph-learning-GNN

343 stars 66 forks source link

what should the pickle file of the query and target graphs be? #7

Closed jams-xin closed 3 years ago

jams-xin commented 3 years ago

what should the pickle file of the query and target graphs be? Is there a reference example? Thank you!

qema commented 3 years ago

The pickle file for both query and target should contain a single undirected networkx graph object. If either query or target is not provided, the script will default to a random example graph

On Dec 16, 2020, at 04:26, jams-xin notifications@github.com wrote:

 what should the pickle file of the query and target graphs be? Is there a reference example? Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jams-xin commented 3 years ago

Thank you for your reply. In the process of reproducing your code, after converting the original graph data into a netwokx graph object, I am not sure whether the category of the node label in the original graph data still exists. Does the method in this article use the node label information. If the node label is used, where is it used? If not, how to distinguish different label nodes in the graph.Thank you very much.

qema commented 3 years ago

Unfortunately it is not possible to make use of node labels in the current repo. The functionality is implemented and we are working on incorporating it into the repository with a proper interface. Thank you for your interest and patience!

On Dec 22, 2020, at 05:30, jams-xin notifications@github.com wrote:

 Thank you for your reply. In the process of reproducing your code, after converting the original graph data into a netwokx graph object, I am not sure whether the category of the node label in the original graph data still exists. Does the method in this article use the node label information. If the node label is used, where is it used? If not, how to distinguish different label nodes in the graph.Thank you very much.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

jams-xin commented 3 years ago

You are so cool. But could you please provide the code for implementing the function of making use of node labels now? If possible, my email is yunxin366@gmail.com. Thank you very much!

qema commented 3 years ago

Sent you an email!

jams-xin commented 3 years ago

Thank you for your patience and answers.

shopeth commented 3 years ago

@qema hello I was wondering if you could send me the implementation to utilize node labels too? It'll be quite useful for a recent project. My email is sh.opeth@gmail.com. Thank you!

qema commented 3 years ago

Sent!

wenchiangh commented 2 years ago

@qema hello I was wondering if you could send me the implementation to utilize node labels too? It'll be quite useful for a recent project. My email is wenchiangh@gmail.com. Thank you! I have see changes of experimental branches, specially subgraph_mining/decoder.py but I still can't find how the code use node labels and can't understand why all subgraph of nodes relabel from zero, in my mind after this action, information of nodes has been lost.

wOvOpy commented 1 year ago

@jams-xin @shopeth Could you give me the code with the node labels mentioned in the question above? Thank you very much. My email address is wOvOpy@gmail.com.

wOvOpy commented 1 year ago

@qema hello, I am wondering the code that utilize node labels too, could you send it to me. Thank you!