Skip to content

Commit

Permalink
Fix bug outputting neg_test_edges
Browse files Browse the repository at this point in the history
  • Loading branch information
justaddcoffee committed Sep 23, 2020
1 parent a6b99c7 commit 42fe149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kg_covid_19/make_holdouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def make_holdouts(nodes: str, edges: str, output_dir: str,
neg_valid_edges_outfile = os.path.join(output_dir, "neg_valid_edges.tsv")

neg_train_edges.to_edges_csv(edges_path=neg_train_edges_outfile)
neg_train_edges.to_edges_csv(edges_path=neg_test_edges_outfile)
neg_test_edges.to_edges_csv(edges_path=neg_test_edges_outfile)
if validation:
neg_valid_edges.to_edges_csv(edges_path=neg_valid_edges_outfile)

Expand Down

0 comments on commit 42fe149

Please sign in to comment.