ksuit.data.wrappers.dataset_wrappers.subset_wrapper =================================================== .. py:module:: ksuit.data.wrappers.dataset_wrappers.subset_wrapper Classes ------- .. autoapisummary:: ksuit.data.wrappers.dataset_wrappers.subset_wrapper.SubsetWrapper Module Contents --------------- .. py:class:: SubsetWrapper(dataset, indices = None, start_index = None, end_index = None, start_percent = None, end_percent = None) Bases: :py:obj:`ksuit.data.base.Subset` Wraps the dataset with a ksuit.data.Subset using indices generated by the properties from the constructor. :param dataset: The dataset to wrap. :param indices: The indices used for Subset. Defaults to None. :param start_index: The starting index of the Subset. Defaults to None. :param end_index: The ending index of the Subset. Defaults to None. :param start_percent: The starting percentage of the Subset. Defaults to None. :param end_percent: The ending percentage of the Subset. Defaults to None. :raises ValueError: If the input parameters are invalid. :raises RuntimeError: If no valid indices are provided.