Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ print(data)
----
# Do a random split of the data so that ~10% goes into a test set and the rest used for training
transform = RandomNodeSplit(num_test=40, num_val=0)
_ = transform(data)
data = transform(data)

# We can see that our `data` object have been extended with some masks defining the split
print(data)
Expand Down
2 changes: 1 addition & 1 deletion examples/import-sample-export-gnn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@
"source": [
"# Do a random split of the data so that ~10% goes into a test set and the rest used for training\n",
"transform = RandomNodeSplit(num_test=40, num_val=0)\n",
"_ = transform(data)\n",
"data = transform(data)\n",
"\n",
"# We can see that our `data` object have been extended with some masks defining the split\n",
"print(data)\n",
Expand Down