def METHOD_NAME(
    self, data: Dataset, **kwargs
) -> DataLoader:
    """
    Create a data loader for training purposes.
    Parameters
    ----------
    data
        Dataset from which to create the data loader.
    Returns
    -------
    DataLoader
        The data loader, i.e. and iterable over batches of data.
    """
    raise NotImplementedError