Replies: 1 comment
-
Sounds wonderful. Please go ahead with your contribution, looking forward to it :) |
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
-
Hi, I have an idea for new features about experiments setting.
When working on inductive settings for a single graph, it's crucial to establish train/test masks for nodes/links to ensure that test samples don't appear in the training phase. While you can use masks and the subgraph() function to implement inductive node/link tasks, there don't appear to be explicit functions for splitting data into training and testing sets for inductive settings. Moreover, in the case of inductive link prediction, it's essential to identify which edges are designated for training and testing, but the subgraph() function doesn't provide information about test edges.
To address this, I've created an inductive_train_test_split() function that facilitates the splitting of a graph into a train graph and a test graph. This function allows you to specify which edges should be used for training and testing, ensuring a clear separation of data for inductive tasks.
I'm considering sharing and committing this function on GitHub. Would there be any interest or demand for such a contribution?
Beta Was this translation helpful? Give feedback.
All reactions