DistMultLiteral
- class DistMultLiteral(triples_factory: TriplesNumericLiteralsFactory, embedding_dim: int = 50, input_dropout: float = 0.0, **kwargs)[source]
Bases:
LiteralModel
An implementation of the LiteralE model with the DistMult interaction from [kristiadi2018].
Initialize the model.
- Parameters:
triples_factory (TriplesNumericLiteralsFactory) – the (training) triples factory
embedding_dim (int) – the embedding dimension
input_dropout (float) – the input dropout, cf.
DistMultCombination.__init__()
kwargs – additional keyword-based parameters passed to
LiteralModel.__init__()
Attributes Summary
The default strategy for optimizing the model's hyper-parameters
The default parameters for the default loss function class
Attributes Documentation