Getting Started
Reference
pykeen.nn
Appendix
predict
Calculate and store scores for either all triples, or the top k triples.
model (Model) – A PyKEEN model
Model
k (Optional[int]) – The number of triples to return. Set to None to keep all.
Optional
int
None
batch_size (int) – The batch size to use for calculating scores
ScorePack
A score pack of parallel triples and scores