Unverified Commit c5e683c4 authored by MikuSugar's avatar MikuSugar Committed by GitHub
Browse files

[Doc]fix ondisk_dataset_homograph.ipynb (#7258)

parent b743cdef
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
"print(f\"LP val negative dsts are saved to {lp_val_neg_dsts_path}\\n\")\n", "print(f\"LP val negative dsts are saved to {lp_val_neg_dsts_path}\\n\")\n",
"\n", "\n",
"lp_test_node_pairs_path = os.path.join(base_dir, \"lp-test-node-pairs.npy\")\n", "lp_test_node_pairs_path = os.path.join(base_dir, \"lp-test-node-pairs.npy\")\n",
"lp_test_node_pairs = edges[-num_tests, :]\n", "lp_test_node_pairs = edges[-num_tests:, :]\n",
"print(f\"Part of test node pairs for link prediction: {lp_test_node_pairs[:3]}\")\n", "print(f\"Part of test node pairs for link prediction: {lp_test_node_pairs[:3]}\")\n",
"np.save(lp_test_node_pairs_path, lp_test_node_pairs)\n", "np.save(lp_test_node_pairs_path, lp_test_node_pairs)\n",
"print(f\"LP test node pairs are saved to {lp_test_node_pairs_path}\\n\")\n", "print(f\"LP test node pairs are saved to {lp_test_node_pairs_path}\\n\")\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment