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

Method test_preprocess

python/graphvite/dataset.py:715–718  ·  view source on GitHub ↗
(self, graph_file, test_file)

Source from the content-addressed store, hash-verified

713 self.edge_split(graph_file, [train_file, valid_file, test_file], portions=[4000, 1, 1])
714
715 def test_preprocess(self, graph_file, test_file):
716 train_file = test_file[:test_file.rfind("valid.txt")] + "train.txt"
717 valid_file = test_file[:test_file.rfind("train.txt")] + "valid.txt"
718 self.edge_split(graph_file, [train_file, valid_file, test_file], portions=[4000, 1, 1])
719
720 def load_alias(self, alias_file):
721 alias2object = {}

Callers

nothing calls this directly

Calls 1

edge_splitMethod · 0.80

Tested by

no test coverage detected