code: public Instances trainCV(int numFolds, int numFold, Random random) {
          Instances train = trainCV(numFolds, numFold);
          train.randomize(random);
          return train;
      }
docs: Train cv.
  
  @param numFolds the num folds
  @param numFold
  @param random the random
  @return the instances