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

Class FB15k237

python/graphvite/dataset.py:630–645  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

628
629
630class FB15k237(Dataset):
631 """
632 FB15k-237 knowledge graph dataset.
633
634 Splits:
635 train, valid, test
636 """
637 def __init__(self):
638 super(FB15k237, self).__init__(
639 "fb15k-237",
640 urls={
641 "train": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/FB15k-237/train.txt",
642 "valid": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/FB15k-237/valid.txt",
643 "test": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/FB15k-237/test.txt"
644 }
645 )
646
647
648class WN18(Dataset):

Callers 1

dataset.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected