"print(f\"LP test negative dsts are saved to {lp_test_neg_dsts_path}\")"
"print(f\"LP test negative dsts are saved to {lp_test_neg_dsts_path}\\n\")"
],
],
"metadata": {
"metadata": {
"id": "u0jCnXIcAQy4"
"id": "u0jCnXIcAQy4"
...
@@ -310,7 +310,14 @@
...
@@ -310,7 +310,14 @@
"cell_type": "markdown",
"cell_type": "markdown",
"source": [
"source": [
"## Organize Data into YAML File\n",
"## Organize Data into YAML File\n",
"Now we need to create a `metadata.yaml` file which contains the paths, dadta types of graph structure, feature data, training/validation/test sets. Please note that all path should be relative to `metadata.yaml`."
"Now we need to create a `metadata.yaml` file which contains the paths, dadta types of graph structure, feature data, training/validation/test sets.\n",
"\n",
"Notes:\n",
"- all path should be relative to `metadata.yaml`.\n",
"- Below fields are optional and not specified in below example.\n",
" - `in_memory`: indicates whether to load dada into memory or `mmap`. Default is `True`.\n",
"\n",
"Please refer to [YAML specification](https://github.com/dmlc/dgl/blob/master/docs/source/stochastic_training/ondisk-dataset-specification.rst) for more details."