H2GB.encoder

Encoders

RawNodeEncoder

The raw feature node encoder.

RawEdgeEncoder

The raw feature edge encoder.

HeteroRawNodeEncoder

The heterogeneous raw feature node encoder.

HeteroRawEdgeEncoder

The heterogeneous raw feature edge encoder.

HeteroPENodeEncoder

Configurable Positional Encoding node encoder.

MetapathNodeEncoder

Metapath2Vec based node encoder, based on the MetaPath2Vec model from the "metapath2vec: Scalable Representation Learning for Heterogeneous Networks" paper where random walks based on a given metapath are sampled in a heterogeneous graph, and node embeddings are learned via negative sampling optimization.

Node2VecNodeEncoder

Node2Vec based node encoder, based on the Node2Vec model from the "node2vec: Scalable Feature Learning for Networks" paper where random walks of length walk_length are sampled in a given graph, and node embeddings are learned via negative sampling optimization.

TransENodeEncoder

Knowledge Graph Embedding node encoder, based on the TransE model from the "Translating Embeddings for Modeling Multi-Relational Data" paper.

ComplExNodeEncoder

Knowledge Graph Embedding node encoder, based on the ComplEx model from the "Complex Embeddings for Simple Link Prediction" paper.

DistMultNodeEncoder

Knowledge Graph Embedding node encoder, based on the DistMult model from the "Embedding Entities and Relations for Learning and Inference in Knowledge Bases" paper.

HeteroLabelNodeEncoder

The label node encoder for masked label embedding.