

def __init__(self, vocab_size=None, dbpath=None, nDocTotal=None, nBatch=None, nLap=20, dataorderseed=42):
    ' Constructor for creating an iterator over the batches of data\n    '
    self.vocab_size = vocab_size
    self.nBatch = nBatch
    self.nLap = nLap
    self.dbpath = dbpath
    self.nDocTotal = nDocTotal
    self.nObsBatch = (nDocTotal / nBatch)
    self.curLapPos = (- 1)
    self.lapID = 0
    self.dataorderseed = int((int(dataorderseed) % MAXSEED))
    self.obsIDByBatch = self.configObsIDsForEachBatch()

dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/data/AdmixMinibatchIteratorDB.py AdmixMinibatchIteratorDB.__init__/original