ComplExLiteral

class ComplExLiteral(triples_factory, embedding_dim=50, input_dropout=0.2, **kwargs)[source]

Bases: LiteralModel

An implementation of the LiteralE model with the ComplEx interaction from [kristiadi2018].

This module is a configuration of the general pykeen.models.LiteralModel with the pykeen.nn.modules.ComplExInteraction and pykeen.nn.combinations.ComplExLiteralCombination.

Initialize the model.

Attributes Summary

hpo_default

The default strategy for optimizing the model's hyper-parameters

loss_default_kwargs

The default parameters for the default loss function class

Attributes Documentation

Parameters:
hpo_default: ClassVar[Mapping[str, Any]] = {'embedding_dim': {'high': 256, 'low': 16, 'q': 16, 'type': <class 'int'>}, 'input_dropout': {'high': 0.5, 'low': 0.0, 'q': 0.1, 'type': <class 'float'>}}

The default strategy for optimizing the model’s hyper-parameters

loss_default_kwargs: ClassVar[Mapping[str, Any]] = {}

The default parameters for the default loss function class