parameters: (self)
docstring: Shuffle the data.
docstring_summary: Shuffle the data.
docstring_tokens: Shuffle the data .
function: def _shuffle_data(self):
          """Shuffle the data."""
          # shuffle index
          np.random.shuffle(self.idx)
          # get the data by corresponding index
          self.data = _getdata_by_idx(self.data, self.idx)
          self.label = _getdata_by_idx(self.label, self.idx)
function_tokens: def _shuffle_data ( self ) : # shuffle index np . random . shuffle ( self . idx ) # get the data by corresponding index self . data = _getdata_by_idx ( self . data , self . idx ) self . label = _getdata_by_idx ( self . label , self . idx )