cogdl.datasets.gatne
¶
Module Contents¶
Classes¶
The network datasets “Amazon”, “Twitter” and “YouTube” from the |
|
The network datasets “Amazon”, “Twitter” and “YouTube” from the |
|
The network datasets “Amazon”, “Twitter” and “YouTube” from the |
|
The network datasets “Amazon”, “Twitter” and “YouTube” from the |
Functions¶
|
-
class
cogdl.datasets.gatne.
GatneDataset
(root, name)[source]¶ Bases:
cogdl.data.Dataset
The network datasets “Amazon”, “Twitter” and “YouTube” from the “Representation Learning for Attributed Multiplex Heterogeneous Network” paper.
- Args:
root (string): Root directory where the dataset should be saved. name (string): The name of the dataset (
"Amazon"
,"Twitter"
,"YouTube"
).
-
property
raw_file_names
(self)[source]¶ The name of the files to find in the
self.raw_dir
folder in order to skip the download.
-
class
cogdl.datasets.gatne.
AmazonDataset
[source]¶ Bases:
cogdl.datasets.gatne.GatneDataset
The network datasets “Amazon”, “Twitter” and “YouTube” from the “Representation Learning for Attributed Multiplex Heterogeneous Network” paper.
- Args:
root (string): Root directory where the dataset should be saved. name (string): The name of the dataset (
"Amazon"
,"Twitter"
,"YouTube"
).
-
class
cogdl.datasets.gatne.
TwitterDataset
[source]¶ Bases:
cogdl.datasets.gatne.GatneDataset
The network datasets “Amazon”, “Twitter” and “YouTube” from the “Representation Learning for Attributed Multiplex Heterogeneous Network” paper.
- Args:
root (string): Root directory where the dataset should be saved. name (string): The name of the dataset (
"Amazon"
,"Twitter"
,"YouTube"
).
-
class
cogdl.datasets.gatne.
YouTubeDataset
[source]¶ Bases:
cogdl.datasets.gatne.GatneDataset
The network datasets “Amazon”, “Twitter” and “YouTube” from the “Representation Learning for Attributed Multiplex Heterogeneous Network” paper.
- Args:
root (string): Root directory where the dataset should be saved. name (string): The name of the dataset (
"Amazon"
,"Twitter"
,"YouTube"
).