dgl.data.rst 2.27 KB
Newer Older
Mufei Li's avatar
Mufei Li committed
1
2
.. _apidata:

3
4
dgl.data
=========
Mufei Li's avatar
Mufei Li committed
5
6

.. currentmodule:: dgl.data
7
.. automodule:: dgl.data
Mufei Li's avatar
Mufei Li committed
8

9
10
Base Class
---------------------------------------
11

12
13
14
15
.. autosummary::
    :toctree: ../../generated/
    :nosignatures:
    :template: classtemplate.rst
RhettYing's avatar
refine  
RhettYing committed
16

17
18
    DGLDataset
    CSVDataset
Mufei Li's avatar
Mufei Li committed
19

20
21
Node Prediction Datasets
---------------------------------------
Mufei Li's avatar
Mufei Li committed
22

23
Datasets for node classification/regression tasks
24

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. autosummary::
    :toctree: ../../generated/
    :nosignatures:
    :template: classtemplate.rst

    SSTDataset
    KarateClubDataset
    CoraGraphDataset
    CiteseerGraphDataset
    PubmedGraphDataset
    CoraFullDataset
    AIFBDataset
    MUTAGDataset
    BGSDataset
    AMDataset
    AmazonCoBuyComputerDataset
    AmazonCoBuyPhotoDataset
    CoauthorCSDataset
    CoauthorPhysicsDataset
    PPIDataset
    RedditDataset
    SBMMixtureDataset
    FraudDataset
    FraudYelpDataset
    FraudAmazonDataset
50
51
52
53
    BAShapeDataset
    BACommunityDataset
    TreeCycleDataset
    TreeGridDataset
54
    WikiCSDataset
55
56
    FlickrDataset
    YelpDataset
57

58
59
Edge Prediction Datasets
---------------------------------------
60

61
Datasets for edge classification/regression and link prediction
62

63
64
65
66
.. autosummary::
    :toctree: ../../generated/
    :nosignatures:
    :template: classtemplate.rst
67

68
69
70
71
72
73
    FB15k237Dataset
    FB15kDataset
    WN18Dataset
    BitcoinOTCDataset
    ICEWS18Dataset
    GDELTDataset
74

75
76
77
Graph Prediction Datasets
---------------------------------------

78
Datasets for graph classification/regression tasks
79

80
81
82
83
84
85
86
87
88
89
90
91
92
.. autosummary::
    :toctree: ../../generated/
    :nosignatures:
    :template: classtemplate.rst

    QM7bDataset
    QM9Dataset
    QM9EdgeDataset
    MiniGCDataset
    TUDataset
    LegacyTUDataset
    GINDataset
    FakeNewsDataset
93
    BA2MotifDataset
94

95
Dataset adapters
96
-------------------
97

98
99
100
101
.. autosummary::
    :toctree: ../../generated/
    :nosignatures:
    :template: classtemplate.rst
102

103
104
    AsNodePredDataset
    AsLinkPredDataset
Mufei Li's avatar
Mufei Li committed
105
    AsGraphPredDataset
106

107
108
Utilities
-----------------
109
110
111

.. autosummary::
    :toctree: ../../generated/
112
113
    :nosignatures:
    :template: classtemplate.rst
114
115
116
117
118
119
120

    utils.get_download_dir
    utils.download
    utils.check_sha1
    utils.extract_archive
    utils.split_dataset
    utils.load_labels
121
122
    utils.save_info
    utils.load_info
123
    utils.add_nodepred_split
124
    utils.Subset