Skip to content

QM7bDataset

QM7bDataset(base_dir: Optional[str] = None)

Bases: Dataset

QM7b dataset from the "MoleculeNet: A Benchmark for Molecular Machine Learning" paper, consisting of 7,211 molecules with 14 regression targets.

Parameters:

Name Type Description Default
base_dir Optional[str]

Directory where to store dataset files. Default is in the local directory .mlx_graphs_data/.

None
Source code in mlx_graphs/datasets/qm7b.py
def __init__(self, base_dir: Optional[str] = None):
    super().__init__(name="qm7b", base_dir=base_dir)

from mlx_graphs.datasets import QM7bDataset · mlx_graphs/datasets/qm7b.py