besskge.scoring

Functions for scoring positive and negative triples, specific to each KGE model.

Classes

BaseScoreFunction(*args, **kwargs)

Base class for scoring functions.

BoxE(negative_sample_sharing, scoring_norm, ...)

BoxE scoring function [ACLS20].

ComplEx(negative_sample_sharing, sharding, ...)

ComplEx scoring function [TWR+16].

ConvE(negative_sample_sharing, sharding, ...)

ConvE scoring function [DPPR18].

DistMult(negative_sample_sharing, sharding, ...)

DistMult scoring function [YYH+15].

DistanceBasedScoreFunction(...)

Base class for distance-based scoring functions.

InterHT(negative_sample_sharing, ...[, ...])

InterHT scoring function [WMW+22].

MatrixDecompositionScoreFunction(...)

Base class for matrix-decomposition scoring functions.

PairRE(negative_sample_sharing, ...[, ...])

PairRE scoring function [CHWC21].

RotatE(negative_sample_sharing, ...[, ...])

RotatE scoring function [SDNT19].

TranS(negative_sample_sharing, scoring_norm, ...)

TranS scoring function [ZYX22].

TransE(negative_sample_sharing, ...[, ...])

TransE scoring function [BUGD+13].

TripleRE(negative_sample_sharing, ...[, ...])

TripleRE scoring function [YLL+22].