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

Class WN18

python/graphvite/dataset.py:648–663  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

646
647
648class WN18(Dataset):
649 """
650 WN18 knowledge graph dataset.
651
652 Splits:
653 train, valid, test
654 """
655 def __init__(self):
656 super(WN18, self).__init__(
657 "wn18",
658 urls={
659 "train": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/wn18/train.txt",
660 "valid": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/wn18/valid.txt",
661 "test": "https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/raw/master/data/wn18/test.txt"
662 }
663 )
664
665
666class WN18RR(Dataset):

Callers 1

dataset.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected