LinkNeighborLoader temporal sampling based on edge timestamps #6924
-
From what I understand we can specify |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Currently we only support a |
Beta Was this translation helpful? Give feedback.
-
Hi @rusty1s, apologies for resurrecting this old post. I am also interested in temporal edge sampling, has there been any update on this front by any chance? |
Beta Was this translation helpful? Give feedback.
-
Hi @rusty1s, thanks for your excellent work on temporal sampling. Recently I have tried LinkNeighborLoader on a dynamic heterogeneous graph, and I found that the node number in a batch is much larger than the original graph. This only happens when using "time_attr". For static graphs, the node number in a batch is the same with the original graph. For example, the user number and the item number in the original graph are 16379 and 12577, respectively. But when using LinkNeighborLoader to get batches, both numbers in a batch become larger. I am wondering why this happens? If this means each batch is larger than the original graph? Thanks in advance! ![]() ![]() train_loader = LinkNeighborLoader( |
Beta Was this translation helpful? Give feedback.
Currently we only support a
time_attr
for nodes, edges can't have a time attribute. So currently what you are suggesting isn't possible with Pyg.