Skip to content
Discussion options

You must be logged in to vote

You can split your data into inductive training, validation, and test (sub)-graphs via torch_geometric.utils.subgraph directly in the prepare_data method and before initializing the GraphSAINTSampler. However, please note that GraphSAINT can only make use of sampling during training, in particular because nodes may be sampled more than once during a single epoch. For validation and testing, it's therefore best to operate on the complete graph.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JeroendenBoef
Comment options

Answer selected by JeroendenBoef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants