In test, does GraphSage needs both training and test time node? #7916
Unanswered
hosseinghafarian
asked this question in
Q&A
Replies: 2 comments
-
This colab notebook seems to suggest that we must have all samples. Thank you for any hints or discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It is weird to use "sample" to refer to node/vertice.
It will iterate all nodes in the train set. In test time
It will iterate all nodes, evaluate the test set, and train set separately. You could also evaluate the test set only. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It is emphasized in the graph sage paper that it is inductive. Moreover, the algorithm performs neighbor sampling which enables it to scale much better with respect to GCN. I have two inter-related questions. May be my understanding of graphsage is incorrect or incomplete.
1- Can we batch train using neighbor sampling without having previous batches samples? My own answer is, yes, we can. One just needs to compute embeddings from possibly new samples and their possibly new neighbors. However, based on just the current batch.
2- Then in test time, how to test for newly arrived samples? How to generate embeddings for these new samples? Are we required to store all training time samples?
Beta Was this translation helpful? Give feedback.
All reactions