code: def _split_rand(self, labels, split_ratio=0.7, seed=0, shuffle=True):
      num_entries = len(labels)
      indices = list(range(num_entries))
      np.random.seed(seed)
      np.random.shuffle(indices)
      split = int(math.floor(split_ratio * num_entries))
      train_idx, valid_idx = indices[:split], indices[split:]
  
      print(
          "train_set : test_set = %d : %d",
          len(train_idx),
          len(valid_idx),
      )
  
      return train_idx, valid_idx
  
file_path: dgl/examples/mxnet/gin/dataloader.py
imports: import math
  import dgl
  import numpy
  from mxnet import nd
  from mxnet.gluon.data import DataLoader, Sampler
  from sklearn.model_selection import StratifiedKFold
label_desc: Use image node_id 4 for calling the GraphDataLoader obj's underlying member method code with example usage: obj._split_rand(labels, split_ratio, seed, shuffle) and returns: train_idx,  valid_idx