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(dataset, config)¶
Bases:
noether.data.base.SubsetWraps the dataset with a noether.data.Subset using indices generated by the properties from the constructor.
- Parameters:
dataset (noether.data.base.Dataset) – The dataset to wrap.
config (noether.core.schemas.dataset.SubsetWrapperConfig) – The configuration to use.
- Raises:
ValueError – If the input parameters are invalid.
RuntimeError – If no valid indices are provided.