-
In the case of https://pytorch-geometric.readthedocs.io/en/latest/notes/load_csv.html, if I want to combine the timestamp attr from rating.csv, thus making the constructing graph as a heterogeneous temporal graph, How shall I change the code in https://github.com/pyg-team/pytorch_geometric/blob/master/examples/hetero/load_csv.py to reach this goal. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I think in these scenarios that |
Beta Was this translation helpful? Give feedback.
I think in these scenarios that
HeteroData
is still the preferred choice here. Note that we are currently working on providing better support for this. For example, we just added support for this intorch-sparse
(requires manual installation from source for now), and with the node-leveltime_attr
attribute of theNeighborLoader
class. With this, theNeighborLoader
class performs temporal sampling that avoids leaking future information.