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
e0f054fb
Commit
e0f054fb
authored
Feb 10, 2022
by
RhettYing
Browse files
[Doc] add doc for DGLCSVDataset
parent
39121dfd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
618 additions
and
2 deletions
+618
-2
docs/source/api/python/dgl.data.rst
docs/source/api/python/dgl.data.rst
+1
-0
docs/source/guide/data-loadcsv.rst
docs/source/guide/data-loadcsv.rst
+607
-0
docs/source/guide/data.rst
docs/source/guide/data.rst
+3
-1
python/dgl/data/csv_dataset.py
python/dgl/data/csv_dataset.py
+7
-1
No files found.
docs/source/api/python/dgl.data.rst
View file @
e0f054fb
...
@@ -18,6 +18,7 @@ Base Dataset Class
...
@@ -18,6 +18,7 @@ Base Dataset Class
.. autoclass:: DGLDataset
.. autoclass:: DGLDataset
:members: download, save, load, process, has_cache, __getitem__, __len__
:members: download, save, load, process, has_cache, __getitem__, __len__
.. autoclass:: DGLCSVDataset
Node Prediction Datasets
Node Prediction Datasets
---------------------------------------
---------------------------------------
...
...
docs/source/guide/data-loadcsv.rst
0 → 100644
View file @
e0f054fb
This diff is collapsed.
Click to expand it.
docs/source/guide/data.rst
View file @
e0f054fb
...
@@ -23,6 +23,7 @@ shows how to implement each component of it.
...
@@ -23,6 +23,7 @@ shows how to implement each component of it.
* :ref:`guide-data-pipeline-process`
* :ref:`guide-data-pipeline-process`
* :ref:`guide-data-pipeline-savenload`
* :ref:`guide-data-pipeline-savenload`
* :ref:`guide-data-pipeline-loadogb`
* :ref:`guide-data-pipeline-loadogb`
* :ref:`guide-data-pipeline-loadcsv`
.. toctree::
.. toctree::
:maxdepth: 1
:maxdepth: 1
...
@@ -33,4 +34,5 @@ shows how to implement each component of it.
...
@@ -33,4 +34,5 @@ shows how to implement each component of it.
data-download
data-download
data-process
data-process
data-savenload
data-savenload
data-loadogb
data-loadogb
\ No newline at end of file
data-loadcsv
\ No newline at end of file
python/dgl/data/csv_dataset.py
View file @
e0f054fb
...
@@ -51,7 +51,13 @@ class CSVDataset(DGLDataset):
...
@@ -51,7 +51,13 @@ class CSVDataset(DGLDataset):
any available graph-level data such as graph-level feature, labels.
any available graph-level data such as graph-level feature, labels.
Examples
Examples
[TODO]: link to a detailed web page.
--------
``meta.yaml`` and CSV files are under ``csv_dir``.
>>> csv_dataset = dgl.data.DGLCSVDataset(csv_dir)
See more details in :ref:`guide-data-pipeline-loadcsv`.
"""
"""
META_YAML_NAME
=
'meta.yaml'
META_YAML_NAME
=
'meta.yaml'
...
...
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