Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
c5e683c4
"docs/vscode:/vscode.git/clone" did not exist on "5e746753d6f0bbadb3649b1d366c61f748ff68ee"
Unverified
Commit
c5e683c4
authored
Apr 03, 2024
by
MikuSugar
Committed by
GitHub
Apr 03, 2024
Browse files
[Doc]fix ondisk_dataset_homograph.ipynb (#7258)
parent
b743cdef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
notebooks/stochastic_training/ondisk_dataset_homograph.ipynb
notebooks/stochastic_training/ondisk_dataset_homograph.ipynb
+1
-1
No files found.
notebooks/stochastic_training/ondisk_dataset_homograph.ipynb
View file @
c5e683c4
...
...
@@ -291,7 +291,7 @@
"print(f\"LP val negative dsts are saved to {lp_val_neg_dsts_path}\\n\")\n",
"\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",
"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",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment