code: public static SequenceBatchCSVRecord fromDataSet(MultiDataSet dataSet) {
          SequenceBatchCSVRecord batchCSVRecord = new SequenceBatchCSVRecord();
          for (int i = 0; i < dataSet.numFeatureArrays(); i++) {
              batchCSVRecord.add(Arrays.asList(BatchCSVRecord.fromDataSet(new DataSet(dataSet.getFeatures(i),dataSet.getLabels(i)))));
          }
  
          return batchCSVRecord;
      }
docs: Return a batch record based on a dataset
  @param dataSet the dataset to get the batch record for
  @return the batch record