数据集:

OGB/ogbg-molpcba

英文

ogbg-molpcba数据集简介

数据集概述

ogbg-molpcba数据集是从MoleculeNet适应Stanford团队开发的Open Graph Benchmark的一部分,用于小分子属性预测。

支持的任务和排行榜

ogbg-molpcba应用于分子属性预测(预测128个属性,不是所有图形都具有所有属性),是一个二分类任务。使用的评分是平均精度(AP),对所有任务进行平均。

相关的排行榜在这里: OGB leaderboard 和 Papers with code leaderboard 。

外部使用

PyGeometric

要在PyGeometric中加载数据集,请执行以下步骤:

from datasets import load_dataset

from torch_geometric.data import Data
from torch_geometric.loader import DataLoader

dataset = load_dataset("graphs-datasets/ogbg-molpcba")
# For the train set (replace by valid or test as needed)
graphs_list_pygeometric = [Data(graph) for graph in dataset["train"]]
dataset_pygeometric = DataLoader(graphs_list_pygeometric)

数据集结构

数据属性

property value
scale medium
#graphs 437,929
average #nodes 26.0
average #edges 28.1
average node degree 2.2
average cluster coefficient 0.002
MaxSCC ratio 0.999
graph diameter 13.6

数据字段

给定文件的每一行是一个图形,包含以下内容:

  • node_feat(列表:#nodes x #node-features):图形中的节点
  • edge_index(列表:2 x #edges):构成边的节点对
  • edge_attr(列表:#edges x #edge-features):对应边的特征
  • y(列表:1 x #labels):要预测的标签数(这里有128个标签,如果属性与图形无关,则为零、一,或NaN)
  • num_nodes(整数):图形的节点数量

数据拆分

该数据来自OGB提供的PyGeometric数据集版本,并遵循提供的数据拆分。可以使用以下方式找到这些信息:

from ogb.graphproppred import PygGraphPropPredDataset

dataset = PygGraphPropPredDataset(name = 'ogbg-molpcba')

split_idx = dataset.get_idx_split() 
train = dataset[split_idx['train']] # valid, test

附加信息

许可信息

该数据集采用MIT许可证发布。

引用信息

@inproceedings{hu-etal-2020-open,
  author    = {Weihua Hu and
               Matthias Fey and
               Marinka Zitnik and
               Yuxiao Dong and
               Hongyu Ren and
               Bowen Liu and
               Michele Catasta and
               Jure Leskovec},
  editor    = {Hugo Larochelle and
               Marc Aurelio Ranzato and
               Raia Hadsell and
               Maria{-}Florina Balcan and
               Hsuan{-}Tien Lin},
  title     = {Open Graph Benchmark: Datasets for Machine Learning on Graphs},
  booktitle = {Advances in Neural Information Processing Systems 33: Annual Conference
               on Neural Information Processing Systems 2020, NeurIPS 2020, December
               6-12, 2020, virtual},
  year      = {2020},
  url       = {https://proceedings.neurips.cc/paper/2020/hash/fb60d411a5c5b72b2e7d3527cfc84fd0-Abstract.html},
}

贡献

感谢 @clefourrier 添加了这个数据集。