Class ExistingDataSetIterator

    • Constructor Detail

      • ExistingDataSetIterator

        public ExistingDataSetIterator​(@NonNull
                                       @NonNull Iterator<DataSet> iterator)
        Note that when using this constructor, resetting is not supported
        Parameters:
        iterator - Iterator to wrap
      • ExistingDataSetIterator

        public ExistingDataSetIterator​(@NonNull
                                       @NonNull Iterator<DataSet> iterator,
                                       @NonNull
                                       @NonNull List<String> labels)
        Note that when using this constructor, resetting is not supported
        Parameters:
        iterator - Iterator to wrap
        labels - String labels. May be null.
      • ExistingDataSetIterator

        public ExistingDataSetIterator​(@NonNull
                                       @NonNull Iterable<DataSet> iterable)
        Wraps the specified iterable. Supports resetting
        Parameters:
        iterable - Iterable to wrap
      • ExistingDataSetIterator

        public ExistingDataSetIterator​(@NonNull
                                       @NonNull Iterable<DataSet> iterable,
                                       @NonNull
                                       @NonNull List<String> labels)
        Wraps the specified iterable. Supports resetting
        Parameters:
        iterable - Iterable to wrap
        labels - Labels list. May be null
      • ExistingDataSetIterator

        public ExistingDataSetIterator​(@NonNull
                                       @NonNull Iterable<DataSet> iterable,
                                       int totalExamples,
                                       int numFeatures,
                                       int numLabels)