Skip to content

graphchem.datasets.load_mon

Loads motor octane number data.

Returns

Tuple[List[str], torch.Tensor] A tuple containing two elements: - List[str]: A list of SMILES strings. - torch.Tensor: A tensor of MON values with dtype float32.

Source code in graphchem/datasets/sets.py
68
69
70
71
72
73
74
75
76
77
78
79
def load_mon() -> Tuple[List[str], torch.Tensor]:
    """
    Loads motor octane number data.

    Returns
    -------
    Tuple[List[str], torch.Tensor]
        A tuple containing two elements:
        - List[str]: A list of SMILES strings.
        - torch.Tensor: A tensor of MON values with dtype float32.
    """
    return _load_set("mon")