H2GB.encoder.ComplExNodeEncoder

class ComplExNodeEncoder(dim_emb, dataset, reshape_x=True)[source]

Bases: HeteroPENodeEncoder

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