code: def setRandomSeed(self, seed):
      
      self.seed = seed
      self._random = Random()
      self._random.setSeed(seed)
docs: Reset the nupic random generator. This is necessary to reset random seed to
      generate new sequences.
  
      @param seed       (int)
          Seed for nupic.bindings.Random.