Graph Transformers
positional_encodings
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_mode | Default Value |
---|---|
FAST | [] |
NORMAL | [] |
BEST | [] |