NodePiece
pykeen.nn.node_piece Package
NodePiece modules.
Classes
A method for finding the closest anchors. |
|
|
Find closest anchors using |
Find closest anchors using |
|
|
Anchor entity selection strategy. |
|
Single-step selection. |
|
Select entities according to their (undirected) degree. |
|
A weighted mixture of different anchor selection strategies. |
|
Select entities according to their page rank. |
|
Random node selection. |
A base class for tokenizers for NodePiece representations. |
|
Tokenize entities by representing them as a bag of relations. |
|
|
Tokenize entities by representing them as a bag of anchor entities. |
|
A tokenizer using externally precomputed tokenization. |
A loader for precomputed tokenization. |
|
A loader for pickle files provided by Galkin et al. |
|
|
A module holding the result of tokenization. |
|
Basic implementation of node piece decomposition [galkin2021]. |