docs: public static BatchRecord fromDataSet(DataSet dataSet) {
          BatchRecord batchRecord = new BatchRecord();
          for (int i = 0; i < dataSet.numExamples(); i++) {
              batchRecord.add(CSVRecord.fromRow(dataSet.get(i)));
          }
  
          return batchRecord;
      }