noether.data.base.wrappers.subset

Classes

SubsetWrapperConfig

SubsetWrapper

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.SubsetWrapperConfig(/, **data)

Bases: noether.data.base.wrapper.DatasetWrapperConfig

Parameters:

data (Any)

kind: str = 'noether.data.base.wrappers.SubsetWrapper'
indices: collections.abc.Sequence | None = None
start_index: int | None = None
end_index: int | None = None
start_percent: float | None = None
end_percent: float | None = None
class noether.data.base.wrappers.subset.SubsetWrapper(config, dataset)

Bases: noether.data.base.subset.Subset

Wraps the dataset with a noether.data.Subset using indices generated by the properties from the constructor.

Example

dataset_wrappers:
    kind: noether.data.base.wrappers.SubsetWrapper
    start_index: 100
    end_index: 200
Parameters:
Raises: