class_docstr: An object that defines a random order in which the distance profiles are calculated for a given Matrix Profile
class_docstr_tok: ["An","object","that","defines","a","random","order","in","which","the","distance","profiles","are","calculated","for","a","given","Matrix","Profile"]
code: def __init__(self, m, random_state=None):
      self.idx = -1
      self.indices = np.arange(m)
      self.random_state = random_state
  
      if self.random_state is not None:
          np.random.seed(self.random_state)
  
      np.random.shuffle(self.indices)
  
file_path: matrixprofile-ts/matrixprofile/order.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
label_desc: Use image node_id 1 to create a new randomOrder object from inherited base classes: Order with example: obj = randomOrder(m, random_state)