Class MultipleEpochsIterator

    • Field Detail

      • epochs

        protected int epochs
        Deprecated.
      • numEpochs

        protected int numEpochs
        Deprecated.
      • batch

        protected int batch
        Deprecated.
      • lastBatch

        protected int lastBatch
        Deprecated.
      • ds

        protected DataSet ds
        Deprecated.
      • batchedDS

        protected List<DataSet> batchedDS
        Deprecated.
      • log

        protected static final org.slf4j.Logger log
        Deprecated.
      • newEpoch

        protected boolean newEpoch
        Deprecated.
      • iterationsCounter

        protected AtomicLong iterationsCounter
        Deprecated.
      • totalIterations

        protected long totalIterations
        Deprecated.
    • Constructor Detail

      • MultipleEpochsIterator

        @Deprecated
        public MultipleEpochsIterator​(int numEpochs,
                                      DataSetIterator iter,
                                      int queueSize)
        Deprecated.
      • MultipleEpochsIterator

        @Deprecated
        public MultipleEpochsIterator​(DataSetIterator iter,
                                      int queueSize,
                                      long totalIterations)
        Deprecated.
      • MultipleEpochsIterator

        @Deprecated
        public MultipleEpochsIterator​(int numEpochs,
                                      DataSet ds)
        Deprecated.
    • Method Detail

      • next

        public DataSet next​(int num)
        Deprecated.
        Like the standard next method but allows a customizable number of examples returned
        Specified by:
        next in interface DataSetIterator
        Parameters:
        num - the number of examples
        Returns:
        the next data applyTransformToDestination
      • trackEpochs

        public void trackEpochs()
        Deprecated.
      • inputColumns

        public int inputColumns()
        Deprecated.
        Input columns for the dataset
        Specified by:
        inputColumns in interface DataSetIterator
        Returns:
      • totalOutcomes

        public int totalOutcomes()
        Deprecated.
        The number of labels for the dataset
        Specified by:
        totalOutcomes in interface DataSetIterator
        Returns:
      • reset

        public void reset()
        Deprecated.
        Resets the iterator back to the beginning
        Specified by:
        reset in interface DataSetIterator
      • batch

        public int batch()
        Deprecated.
        Batch size
        Specified by:
        batch in interface DataSetIterator
        Returns:
      • hasNext

        public boolean hasNext()
        Deprecated.
        Returns true if the iteration has more elements. (In other words, returns true if next(int) would return an element rather than throwing an exception.)
        Specified by:
        hasNext in interface Iterator<DataSet>
        Returns:
        true if the iteration has more elements
      • remove

        public void remove()
        Deprecated.
        Removes from the underlying collection the last element returned by this iterator (optional operation). This method can be called only once per call to next(int). The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method.
        Specified by:
        remove in interface Iterator<DataSet>
        Throws:
        UnsupportedOperationException - if the remove operation is not supported by this iterator
        IllegalStateException - if the next method has not yet been called, or the remove method has already been called after the last call to the next method