class_docstr: Class for loading data.
docstr: Return a randomised portion of the training data.
docstr_tok: ["Return","a","randomised","portion","of","the","training","data","."]
code: def random_batch(self):
      """Return a randomised portion of the training data."""
      idx = np.random.permutation(list(range(0, len(self.strokes))))[
          0 : self.batch_size
      ]
      return self._get_batch_from_indices(idx)
  
imports: import random
  import numpy
label_desc: Use image node_id 8 for calling the DataLoader obj's underlying member method code with example usage: obj.random_batch() and returns: self