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

Method test_preprocess

python/graphvite/dataset.py:442–445  ·  view source on GitHub ↗
(self, test_file)

Source from the content-addressed store, hash-verified

440 self.link_prediction_split(self.graph, [train_file, valid_file, test_file], portions=[100, 1, 1])
441
442 def test_preprocess(self, test_file):
443 train_file = test_file[:test_file.rfind("test.txt")] + "train.txt"
444 valid_file = test_file[:test_file.rfind("test.txt")] + "valid.txt"
445 self.link_prediction_split(self.graph, [train_file, valid_file, test_file], portions=[100, 1, 1])
446
447
448class Youtube(Dataset):

Callers

nothing calls this directly

Calls 1

link_prediction_splitMethod · 0.80

Tested by

no test coverage detected