Node classification on new nodes (or expanded graph) #3849
Replies: 2 comments 2 replies
-
You can do this, e.g., by obtaining subgraphs via Hope this clarifies your concerns. Note that the |
Beta Was this translation helpful? Give feedback.
-
Thanks @michalisfrangos for asking this very practical question and thanks @rusty1s for the pointer. I have the same question (posed in a different way): I intend to track a customer over a period of time and say I have a label for him as "Type A" or "Type B". Now, a new customer comes in and I track him for a short period of time and I want to classify this customer (binary classification for now). I do not want to build a huge graph at inference time (historical graph + new node's small-graph) and then infer the class of the new node (latency may become a problem). I would like to have built a graph from historical dataset first and then, when a new node comes in, I want to be able to classify it. What are the logical steps to achieve it? One approach that I found is from https://keras.io/examples/graph/gnn_citations/, (scroll all the way down in that link), the keys aspects are highlighted below:
I haven't tried that above yet. Will be trying it shortly. Thought I will share it here and see if others have any alternate / easier approaches. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
All the examples I have seen, train on a subset of nodes (selected by train_mask) and test on another set of nodes of the same graph (selected by test_mask) however the structure of the graph is present during training . Any reason why we do not remove the "test" nodes completely during training (i.e., we test on new/unseen nodes and connectivity)?
Thanks,
M
Beta Was this translation helpful? Give feedback.
All reactions