

def __init__(self, X, y, iter_class='SequentialSubsetIterator', batch_size=100, num_batches=None, rng=None):
    self.X = X
    self.y = y
    self.batch_size = batch_size
    self.num_batches = num_batches
    self.iter_class = iter_class
    self.rng = rng
    self.iterator = getattr(iterators, self.iter_class)

dataset/ETHPy150Open hycis/Pynet/pynet/datasets/dataset.py IterMatrix.__init__/original