Skip to main content

positional_encodings: <list[list[hop | random_gnn]]> (Optional)

Description

Determines whether positional encodings are used in the GraphTransformer model.
  • hop: Adds a positional embedding to each node depending on the hop distance to the target entity.
  • random_gnn: Computes positional embeddings with a Positional GNN based on initial random embeddings and adds them to each node.

Supported Task Types

  • Node classification and regression

Default Values

run_modeDefault Value
FAST[[hop, random_gnn]]
NORMAL[[hop, random_gnn]]
BEST[[hop, random_gnn]]