Concern about testing data leakage in rgcn_link_pred.py? #8527
-
In the rgcn_link_pred.py example from the PyTorch Geometric repository, there is a potential issue related to edge leakage during the model's training phase. Specifically, in line 90: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not all edges are employed during training. Instead, only the training edges are visible as the pytorch_geometric/torch_geometric/datasets/rel_link_pred_dataset.py Lines 111 to 114 in 44c9c12 |
Beta Was this translation helpful? Give feedback.
Not all edges are employed during training. Instead, only the training edges are visible as the
edge_index
corresponds to thetrain_edge_index
, seepytorch_geometric/torch_geometric/datasets/rel_link_pred_dataset.py
Lines 111 to 114 in 44c9c12