ksuit.data.base.wrapper

Classes

DatasetWrapper

Wrapper around arbitrary ksuit.data.Dataset instances to generically change something about the dataset.

Module Contents

class ksuit.data.base.wrapper.DatasetWrapper(dataset)

Wrapper around arbitrary ksuit.data.Dataset instances to generically change something about the dataset. For example: - Create a subset of the dataset (ksuit.data.Subset) - Define which properties/items to load from the dataset, i.e., which getitem_* methods to call (ksuit.data.ModeWrapper) What exactly is changed depends on the specific implementation of the DatasetWrapper child class.

Parameters:

dataset (ksuit.data.base.dataset.Dataset) – base dataset to be wrapped

dataset