MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / FB15k

Class FB15k

python/graphvite/dataset.py:612–627  ·  view source on GitHub ↗

FB15k knowledge graph dataset. Splits: train, valid, test

Source from the content-addressed store, hash-verified

610
611
612class FB15k(Dataset):
613 """
614 FB15k knowledge graph dataset.
615
616 Splits:
617 train, valid, test
618 """
619 def __init__(self):
620 super(FB15k, self).__init__(
621 "fb15k",
622 urls={
623 "train": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/FB15k/train.txt",
624 "valid": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/FB15k/valid.txt",
625 "test": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/FB15k/test.txt"
626 }
627 )
628
629
630class FB15k237(Dataset):

Callers 1

dataset.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected