You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r"""The Yelp3k dataset is a subset of Yelp-Restaurant dataset for vertex classification task.
107
+
It is a restaurant-review network. All businesses in the “restaurant” catalog are selected as our nodes,
108
+
and formed hyperedges by selecting restaurants visited by the same user.
109
+
We use the state of the business as the corresponding node label.
110
+
111
+
The content of the Yelp-Restaurant dataset includes the following:
112
+
113
+
- ``num_classes``: The number of classes: :math:`6`.
114
+
- ``num_vertices``: The number of vertices: :math:`3,855`.
115
+
- ``num_edges``: The number of edges: :math:`24,137`.
116
+
- ``dim_features``: The dimension of features: :math:`1,862`.
117
+
- ``features``: The vertex feature matrix. ``torch.Tensor`` with size :math:`(3,855 \times 1,862)`.
118
+
- ``edge_list``: The edge list. ``List`` with length :math:`24,137`.
119
+
- ``labels``: The label list. ``torch.LongTensor`` with size :math:`(3,855, )`.
120
+
121
+
Args:
122
+
``data_root`` (``str``, optional): The ``data_root`` has stored the data. If set to ``None``, this function will auto-download from server and save into the default direction ``~/.dhg/datasets/``. Defaults to ``None``.
0 commit comments