LpDistancePow
- class KGE.score.LpDistancePow[source]
Bases:
KGE.score.ScoreAn implementation of negative squared Lp-distance.
Score between \(\textbf{x}\) and \(\textbf{y}\) is defined as \(- \left\| \textbf{x} - \textbf{y} \right\|_p^2\)
Methods Summary
__call__(x, y)Calculate score.
Methods Documentation
- __new__(*args, **kwargs)