Skip to content

TransE

TransE scoring function.

Attributes

  • name

Examples

>>> from ckb import scoring

>>> scoring.TransE()
TransE scoring

Methods

call

Compute the score of given facts (heads, relations, tails).

Parameters

  • head
  • relation
  • tail
  • gamma
  • mode
  • kwargs