Constants
constants
Attributes:
-
METRIC_TGB_LINKPROPPRED(Final[str]) –Official metric used in TGB link prediction task.
-
METRIC_TGB_NODEPROPPRED(Final[str]) –Official metric used in TGB node prediction task.
-
PADDED_NODE_ID(Final[int]) –Sentinel node ID used to mark invalid or padded neighbors in a graph.
-
RECIPE_TGB_LINK_PRED(Final[str]) –Recipe identifier for TGB link property prediction task.
METRIC_TGB_LINKPROPPRED
module-attribute
Official metric used in TGB link prediction task.
METRIC_TGB_NODEPROPPRED
module-attribute
Official metric used in TGB node prediction task.
PADDED_NODE_ID
module-attribute
Sentinel node ID used to mark invalid or padded neighbors in a graph.
Notes
- A tgm.exceptions.InvalidNodeIDError will be thrown if this value appears as an ID in edge or node event tensors will constructing DGData.