- class InductiveERModel(*, triples_factory, entity_representations=None, entity_representations_kwargs=None, validation_factory, testing_factory=None, **kwargs)[source]
A base class for inductive models.
This model assumes a shared set of relations between all triple sets (e.g., training and validation), and a separate inference factory used during validation. During testing time, either the validation factory is re-used or another separate testing factory may be provided.
Initialize the inductive model.
CoreTriplesFactory) – the (training) factory
None]]]) – the training entity representations
Any]]]]) – additional keyword-based parameters for the training entity representations
CoreTriplesFactory) – the validation factory
CoreTriplesFactory]) – the testing factory. If None, the validation factory is re-used, i.e., validation and test entities come from the same (unseen) set of entities.
kwargs – additional keyword-based parameters passed to