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

Method pld_test_preprocess

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

Source from the content-addressed store, hash-verified

513 self.link_prediction_split(graph_file, [train_file, valid_file, test_file], portions=[10000, 1, 1])
514
515 def pld_test_preprocess(self, graph_file, test_file):
516 train_file = test_file[:test_file.rfind("pld_test.txt")] + "pld_train.txt"
517 valid_file = test_file[:test_file.rfind("pld_test.txt")] + "pld_valid.txt"
518 self.link_prediction_split(graph_file, [train_file, valid_file, test_file], portions=[10000, 1, 1])
519
520
521class Friendster(Dataset):

Callers

nothing calls this directly

Calls 1

link_prediction_splitMethod · 0.80

Tested by

no test coverage detected