EvaluationOnlyModel
- class EvaluationOnlyModel(triples_factory: CoreTriplesFactory)[source]
Bases:
Model
A model which only implements the methods used for evaluation.
Non-parametric models take a minimal set of arguments.
- Parameters:
triples_factory (CoreTriplesFactory) – The training triples factory is used to assign the number of entities, relations, and inverse condition in the non-parametric model.
Methods Summary
Non-parametric models do not implement
Model.collect_regularization_term()
.score_hrt
(hrt_batch, **kwargs)Non-parametric models do not implement
Model.score_hrt()
.score_r
(ht_batch, **kwargs)Non-parametric models do not implement
Model.score_r()
.Methods Documentation
- collect_regularization_term()[source]
Non-parametric models do not implement
Model.collect_regularization_term()
.
- score_hrt(hrt_batch: Tensor, **kwargs)[source]
Non-parametric models do not implement
Model.score_hrt()
.- Parameters:
hrt_batch (Tensor)
- score_r(ht_batch: Tensor, **kwargs)[source]
Non-parametric models do not implement
Model.score_r()
.- Parameters:
ht_batch (Tensor)