ggfm.data.Graph¶
- class ggfm.data.Graph¶
Bases:
objectThe Heterogeneous Graph Transformer (HGT) operator from the “Heterogeneous Graph Transformer” paper.
A Graph object describes a homogeneous/heterogeneous graph. The node-related information is included in node_feature: a DataFrame containing all features. The link-related information is included in edge_list: indexing the adjacency matrix (time) by
<target_type, source_type, relation_type, target_id, source_id>