Class DataBatch.BatchIterator

java.lang.Object
ml.dmlc.xgboost4j.java.DataBatch.BatchIterator
All Implemented Interfaces:
Iterator<DataBatch>
Enclosing class:
DataBatch

static class DataBatch.BatchIterator extends Object implements Iterator<DataBatch>
  • Field Details

    • base

      private final Iterator<ml.dmlc.xgboost4j.LabeledPoint> base
    • batchSize

      private final int batchSize
  • Constructor Details

    • BatchIterator

      BatchIterator(Iterator<ml.dmlc.xgboost4j.LabeledPoint> base, int batchSize)
  • Method Details