-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Distributed node-level and edge-level temporal sampling for hetero (#…
…8624) The purpose of this PR is to enable distributed sampling with node-level and edge-level temporal information for heterogeneous graphs. **Description:** - Heterogeneous temporal sampling is analogous to homogeneous temporal sampling, but takes into account the presence of node types and edge types. We define the node time information for each node type and the edge time information for each edge type. - Because of the lack of the node_store/edge_store in the feature store we determine whether to use node-level or edge-level temporal sampling based on the time_attr value ('time' or 'edge_time'). - seed_time is mandatory for edge-level sampling. - seed_time field has been added to the NodeDict class to store the time information of the source nodes. - The time information of source nodes for the next layer is calculated based on the subgraph ID a given node belongs to (each subgraph has a seed time specified, which is common for all source nodes). --------- Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
- Loading branch information
Showing
5 changed files
with
273 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.