MCPcopy Create free account
hub / github.com/DeepGraphLearning/KnowledgeGraphEmbedding / count_frequency

Method count_frequency

codes/dataloader.py:77–93  ·  view source on GitHub ↗

Get frequency of a partial triple like (head, relation) or (relation, tail) The frequency will be used for subsampling like word2vec

(triples, start=4)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected