 	 << " " << startYDataId << "-" << endYDataId
 	 << endl;
     */
+
     std::copy(xData_.begin() + startXDataId,
         xData_.begin() + endXDataId,
         x.begin() + startXId);

  for (size_t numEpoch = 0; numEpoch < epochs_; ++numEpoch) {
    std::cerr << "Starting epoch #" << numEpoch << std::endl;
    size_t startId = 0;
    size_t endId = startId + maxBatchSize_;

    while (endId < numExamples) {
      PrepareBatch(startId, endId, maxBatchSize_, shuffle, xt, yt);
      *inX_ = xt;
      *inY_ = yt;


  std::vector<float> x(batchSize * numFeatures_);
  std::vector<float> y(batchSize * numClasses_);
  
  //cerr << "batchSize=" << batchSize << endl;
  /*
  cerr << "startId=" << startId
       << " " << endId
