noether.data.base.wrappers.subset¶
Classes¶
Wraps the dataset with a noether.data.Subset using indices generated by the properties from the constructor. |
Module Contents¶
- class noether.data.base.wrappers.subset.SubsetWrapper(config, dataset)¶
Bases:
noether.data.base.SubsetWraps the dataset with a noether.data.Subset using indices generated by the properties from the constructor.
- Parameters:
config (noether.core.schemas.dataset.SubsetWrapperConfig) – The configuration to use. See
SubsetWrapperConfigfor available options.dataset (noether.data.base.Dataset | noether.data.base.wrapper.DatasetWrapper) – The dataset to wrap.
- Raises:
ValueError – If the input parameters are invalid.
RuntimeError – If no valid indices are provided.