src/nupic/encoders/sdr_category.py
def _seed(self, seed=-1):
    """
    Initialize the random seed
    """
    if seed != -1:
      self.random = NupicRandom(seed)
    else:
      self.random = NupicRandom()
def _seed(self, seed=-1):
    """
    Initialize the random seed
    """
    if seed != -1:
      self.random = NupicRandom(seed)
    else:
      self.random = NupicRandom()
def _seed ( self , seed = - 1 ) : if seed != - 1 : self . random = NupicRandom ( seed ) else : self . random = NupicRandom ( )
Initialize the random seed
Initialize the random seed