ogbg-molpcba数据集是从MoleculeNet适应Stanford团队开发的Open Graph Benchmark的一部分,用于小分子属性预测。
ogbg-molpcba应用于分子属性预测(预测128个属性,不是所有图形都具有所有属性),是一个二分类任务。使用的评分是平均精度(AP),对所有任务进行平均。
相关的排行榜在这里: OGB leaderboard 和 Papers with code leaderboard 。
要在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 |
给定文件的每一行是一个图形,包含以下内容:
该数据来自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 添加了这个数据集。