torch_geometric.datasets.NeuroGraphDataset
- class NeuroGraphDataset(root: str, name: str, transform: Optional[Callable] = None, pre_transform: Optional[Callable] = None, pre_filter: Optional[Callable] = None, force_reload: bool = False)[source]
Bases:
InMemoryDataset来自“NeuroGraph: Benchmarks for Graph Machine Learning in Brain Connectomics”论文的NeuroGraph基准数据集。
NeuroGraphDataset包含五个神经影像图学习数据集,涵盖了人口统计、心理状态和认知特征的多个类别。更多详情请参阅文档和Github。数据集
#图表
任务
HCPTask7,443
图分类
HCPGender1,078
图分类
HCPAge1,065
图分类
HCPFI1,071
图回归
HCPWM1,078
图回归
- Parameters:
root (str) – Root directory where the dataset should be saved.
name (str) – 数据集的名称(可以是
"HCPGender","HCPTask","HCPAge","HCPFI","HCPWM"中的一个)。transform (callable, optional) – A function/transform that takes in an
torch_geometric.data.Dataobject and returns a transformed version. The data object will be transformed before every access. (default:None)pre_transform (callable, optional) – A function/transform that takes in an
torch_geometric.data.Dataobject and returns a transformed version. The data object will be transformed before being saved to disk. (default:None)pre_filter (callable, optional) – A function that takes in an
torch_geometric.data.Dataobject and returns a boolean value, indicating whether the data object should be included in the final dataset. (default:None)force_reload (bool, optional) – Whether to re-process the dataset. (default:
False)