mattertune.data.matbench
Classes
|
|
|
Configuration for the Matbench dataset. |
- class mattertune.data.matbench.MatbenchDatasetConfig(*, type='matbench', task=None, property_name=None, fold_idx=0)[source]
Configuration for the Matbench dataset.
- Parameters:
type (Literal['matbench'])
task (str | None)
property_name (str | None)
fold_idx (Literal[0, 1, 2, 3, 4])
- type: Literal['matbench']
Discriminator for the Matbench dataset.
- task: str | None
The name of the self.tasks to include in the dataset.
- property_name: str | None
Assign a property name for the self.task. Must match the property head in the model.
- fold_idx: Literal[0, 1, 2, 3, 4]
The index of the fold to be used in the dataset.
- class mattertune.data.matbench.MatbenchDataset(config)[source]
- Parameters:
config (MatbenchDatasetConfig)
- __init__(config)[source]
- Parameters:
config (MatbenchDatasetConfig)