graphs-datasets/CSL
收藏资源简介:
--- license: mit task_categories: - graph-ml --- # Dataset Card for CSK ## Table of Contents - [Table of Contents](#table-of-contents) - [Dataset Description](#dataset-description) - [Dataset Summary](#dataset-summary) - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards) - [External Use](#external-use) - [PyGeometric](#pygeometric) - [Dataset Structure](#dataset-structure) - [Data Properties](#data-properties) - [Data Fields](#data-fields) - [Data Splits](#data-splits) - [Additional Information](#additional-information) - [Licensing Information](#licensing-information) - [Citation Information](#citation-information) - [Contributions](#contributions) ## Dataset Description - **[Homepage](https://github.com/graphdeeplearning/benchmarking-gnns)** - **Paper:**: (see citation) ### Dataset Summary The CSL dataset is a synthetic dataset, to test GNN expressivity. ### Supported Tasks and Leaderboards `CSL` should be used for binary graph classification, on isomoprhism or not. ## External Use ### PyGeometric To load in PyGeometric, do the following: ```python from datasets import load_dataset from torch_geometric.data import Data from torch_geometric.loader import DataLoader dataset_hf = load_dataset("graphs-datasets/<mydataset>") # For the train set (replace by valid or test as needed) dataset_pg_list = [Data(graph) for graph in dataset_hf["train"]] dataset_pg = DataLoader(dataset_pg_list) ``` ## Dataset Structure ### Data Properties | property | value | |---|---| | #graphs | 150 | | average #nodes | 41.0 | | average #edges | 164.0 | ### Data Fields Each row of a given file is a graph, with: - `node_feat` (list: #nodes x #node-features): nodes - `edge_index` (list: 2 x #edges): pairs of nodes constituting edges - `edge_attr` (list: #edges x #edge-features): for the aforementioned edges, contains their features - `y` (list: #labels): contains the number of labels available to predict - `num_nodes` (int): number of nodes of the graph ### Data Splits This data is split. It comes from the PyGeometric version of the dataset. ## Additional Information ### Licensing Information The dataset has been released under MIT license. ### Citation Information ``` @article{DBLP:journals/corr/abs-2003-00982, author = {Vijay Prakash Dwivedi and Chaitanya K. Joshi and Thomas Laurent and Yoshua Bengio and Xavier Bresson}, title = {Benchmarking Graph Neural Networks}, journal = {CoRR}, volume = {abs/2003.00982}, year = {2020}, url = {https://arxiv.org/abs/2003.00982}, eprinttype = {arXiv}, eprint = {2003.00982}, timestamp = {Sat, 23 Jan 2021 01:14:30 +0100}, biburl = {https://dblp.org/rec/journals/corr/abs-2003-00982.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ```
许可证:MIT协议 任务类别: - 图机器学习(Graph ML) # CSL数据集卡片 ## 目录 - [目录](#目录) - [数据集描述](#数据集描述) - [数据集概述](#数据集概述) - [支持任务与评测基准](#支持任务与评测基准) - [外部使用](#外部使用) - [PyGeometric](#pygeometric) - [数据集结构](#数据集结构) - [数据属性](#数据属性) - [数据字段](#数据字段) - [数据划分](#数据划分) - [附加信息](#附加信息) - [许可证信息](#许可证信息) - [引用信息](#引用信息) - [贡献者信息](#贡献者信息) ## 数据集描述 - **[项目主页](https://github.com/graphdeeplearning/benchmarking-gnns)** - **论文:**(详见引用信息) ### 数据集概述 本CSL数据集为合成数据集,用于测试图神经网络(Graph Neural Network, GNN)的表达能力。 ### 支持任务与评测基准 CSL数据集适用于二元图分类任务,用于判断图是否同构。 ## 外部使用 ### PyGeometric 若需在PyGeometric中加载该数据集,请执行如下代码: python from datasets import load_dataset from torch_geometric.data import Data from torch_geometric.loader import DataLoader dataset_hf = load_dataset("graphs-datasets/<mydataset>") # For the train set (replace by valid or test as needed) dataset_pg_list = [Data(graph) for graph in dataset_hf["train"]] dataset_pg = DataLoader(dataset_pg_list) ## 数据集结构 ### 数据属性 | 属性 | 取值 | |---|---| | 图总数 | 150 | | 平均节点数 | 41.0 | | 平均边数 | 164.0 | ### 数据字段 每个文件的每一行对应一张图,包含以下字段: - `node_feat`(列表:节点数 × 节点特征数):节点特征数据 - `edge_index`(列表:2 × 边数):构成边的节点对索引 - `edge_attr`(列表:边数 × 边特征数):对应边的特征信息 - `y`(列表:标签数):待预测的标签集合 - `num_nodes`(整数):该图的节点总数 ### 数据划分 本数据集已完成划分,其来源为PyGeometric版本的该数据集。 ## 附加信息 ### 许可证信息 本数据集采用MIT协议发布。 ### 引用信息 @article{DBLP:journals/corr/abs-2003-00982, author = {Vijay Prakash Dwivedi and Chaitanya K. Joshi and Thomas Laurent and Yoshua Bengio and Xavier Bresson}, title = {Benchmarking Graph Neural Networks}, journal = {CoRR}, volume = {abs/2003.00982}, year = {2020}, url = {https://arxiv.org/abs/2003.00982}, eprinttype = {arXiv}, eprint = {2003.00982}, timestamp = {Sat, 23 Jan 2021 01:14:30 +0100}, biburl = {https://dblp.org/rec/journals/corr/abs-2003.00982.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} }
数据集概述
数据集描述
- 数据集名称: CSL
- 数据集类型: 合成数据集
- 主要用途: 测试图神经网络的表达能力
- 支持任务: 二元图分类,判断图是否同构
数据集结构
数据属性
- 图数量: 150
- 平均节点数: 41.0
- 平均边数: 164.0
数据字段
node_feat(列表: #nodes x #node-features): 节点特征edge_index(列表: 2 x #edges): 构成边的节点对edge_attr(列表: #edges x #edge-features): 边特征y(列表: #labels): 可预测的标签数量num_nodes(整数): 图的节点数
数据分割
- 数据已分割,源自PyGeometric版本的数据集
额外信息
许可信息
- 许可类型: MIT许可
引用信息
@article{DBLP:journals/corr/abs-2003-00982, author = {Vijay Prakash Dwivedi and Chaitanya K. Joshi and Thomas Laurent and Yoshua Bengio and Xavier Bresson}, title = {Benchmarking Graph Neural Networks}, journal = {CoRR}, volume = {abs/2003.00982}, year = {2020}, url = {https://arxiv.org/abs/2003.00982}, eprinttype = {arXiv}, eprint = {2003.00982}, timestamp = {Sat, 23 Jan 2021 01:14:30 +0100}, biburl = {https://dblp.org/rec/journals/corr/abs-2003-00982.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} }




