ogbg-molhiv 数据集是一个小型的分子属性预测数据集,由斯坦福大学的团队根据 MoleculeNet 改编而来,作为开放图基准的一部分。
应使用 ogbg-molhiv 进行分子属性预测(预测分子是否抑制HIV),这是一个二分类任务。使用的评分指标是ROC-AUC。
相关的排行榜在这里: OGB leaderboard 和 Papers with code leaderboard 。
要在 PyGeometric 中加载数据集,请执行以下操作:
from datasets import load_dataset
from torch_geometric.data import Data
from torch_geometric.loader import DataLoader
ogbg_molhiv = load_dataset("graphs-datasets/ogbg-molhiv")
# For the train set (replace by valid or test as needed)
ogbg_molhiv_pg_list = [Data(graph) for graph in ogbg_molhiv["train"]]
ogbg_molhiv_pg = DataLoader(ogbg_molhiv_pg_list)
| property | value |
|---|---|
| scale | small |
| #graphs | 41,127 |
| average #nodes | 25.5 |
| average #edges | 27.5 |
| average node degree | 2.2 |
| average cluster coefficient | 0.002 |
| MaxSCC ratio | 0.993 |
| graph diameter | 12.0 |
给定文件的每一行都是一个图,其中包含:
这些数据来自OGB提供的PyGeometric版本数据集,并遵循提供的数据拆分。可以使用以下方式找回该信息:
from ogb.graphproppred import PygGraphPropPredDataset dataset = PygGraphPropPredDataset(name = 'ogbg-molhiv') 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 添加了该数据集。