Uses of Interface
org.nd4j.linalg.dataset.api.iterator.DataSetIterator
-
-
Uses of DataSetIterator in org.nd4j.autodiff.samediff
Methods in org.nd4j.autodiff.samediff with parameters of type DataSetIterator Modifier and Type Method Description voidSameDiff. evaluate(@NonNull DataSetIterator iterator, @NonNull String outputVariable, @NonNull List<Listener> listeners, @NonNull IEvaluation... evaluations)Evaluate the performance of a single variable's prediction.
For example, if the variable to evaluatate was called "softmax" you would use:voidSameDiff. evaluate(@NonNull DataSetIterator iterator, @NonNull String outputVariable, @NonNull IEvaluation... evaluations)voidSameDiff. evaluate(@NonNull DataSetIterator iterator, @NonNull Map<String,IEvaluation> variableEvals, @NonNull Listener... listeners)Evaluation for multiple-output networks.
SeeSameDiff.evaluate(MultiDataSetIterator, Map, Map, Listener[]).voidSameDiff. evaluateMultiple(DataSetIterator iterator, Map<String,List<IEvaluation>> variableEvals, @NonNull Listener... listeners)Evaluation for multiple output networks - one or more.HistorySameDiff. fit(@NonNull DataSetIterator iter, int numEpochs, @NonNull Listener... listeners)SeeSameDiff.fit(DataSetIterator, int, DataSetIterator, int, Listener...), does not preform validation.HistorySameDiff. fit(@NonNull DataSetIterator iter, int numEpochs, DataSetIterator validationIter, int validationFrequency, @NonNull Listener... listeners)Fit the SameDiff instance based on DataSetIterator for the specified number of epochs.
This method can only be used for singe input, single output SameDiff instances as DataSet only supports a single input and a single output.
Note that aTrainingConfigmust be set viaSameDiff.setTrainingConfig(TrainingConfig)before training can be performed.Map<String,INDArray>SameDiff. output(@NonNull DataSetIterator dataSet, @NonNull String... outputs)Map<String,INDArray>SameDiff. output(@NonNull DataSetIterator iterator, @NonNull List<Listener> listeners, @NonNull String... outputs)Do inference on a network with a single input.
For example, if the variable to infer was called "softmax" you would use:List<Map<String,INDArray>>SameDiff. outputBatches(DataSetIterator iterator, String... outputs)SeeSameDiff.output(DataSetIterator, String...), but without the concatenation of batches.List<Map<String,INDArray>>SameDiff. outputBatches(DataSetIterator iterator, List<Listener> listeners, String... outputs)SeeSameDiff.output(DataSetIterator, List, String...), but without the concatenation of batches. -
Uses of DataSetIterator in org.nd4j.autodiff.samediff.config
Methods in org.nd4j.autodiff.samediff.config with parameters of type DataSetIterator Modifier and Type Method Description EvaluationConfigEvaluationConfig. data(@NonNull DataSetIterator data)Set the data to evaluate on.OutputConfigOutputConfig. data(@NonNull DataSetIterator data)Set the data to use as input.FitConfigFitConfig. train(@NonNull DataSetIterator trainingData)Set the training dataFitConfigFitConfig. train(@NonNull DataSetIterator trainingData, int epochs)Set the training data and number of epochsFitConfigFitConfig. validate(DataSetIterator validationData)Set the validation dataFitConfigFitConfig. validate(DataSetIterator validationData, int validationFrequency)Set the validation data and frequency -
Uses of DataSetIterator in org.nd4j.linalg.dataset
Classes in org.nd4j.linalg.dataset that implement DataSetIterator Modifier and Type Class Description classAsyncDataSetIteratorclassExistingMiniBatchDataSetIteratorclassMiniBatchFileDataSetIteratorclassViewIteratorIterate over a dataset with viewsFields in org.nd4j.linalg.dataset declared as DataSetIterator Modifier and Type Field Description protected DataSetIteratorAsyncDataSetIterator. backedIteratorMethods in org.nd4j.linalg.dataset that return DataSetIterator Modifier and Type Method Description DataSetIteratorDataSet. iterateWithMiniBatches()Constructors in org.nd4j.linalg.dataset with parameters of type DataSetIterator Constructor Description AsyncDataSetIterator(DataSetIterator baseIterator)Create an Async iterator with the default queue size of 8AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize)AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace)AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace, Integer deviceId)AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace, DataSetCallback callback)AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue)Create an Async iterator with the default queue size of 8AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace)AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace, DataSetCallback callback)AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace, DataSetCallback callback, Integer deviceId)AsyncPrefetchThread(@NonNull BlockingQueue<DataSet> queue, @NonNull DataSetIterator iterator, @NonNull DataSet terminator, MemoryWorkspace workspace, int deviceId) -
Uses of DataSetIterator in org.nd4j.linalg.dataset.adapter
Classes in org.nd4j.linalg.dataset.adapter that implement DataSetIterator Modifier and Type Class Description classSingletonDataSetIteratorConstructors in org.nd4j.linalg.dataset.adapter with parameters of type DataSetIterator Constructor Description MultiDataSetIteratorAdapter(DataSetIterator iter) -
Uses of DataSetIterator in org.nd4j.linalg.dataset.api
Methods in org.nd4j.linalg.dataset.api that return DataSetIterator Modifier and Type Method Description DataSetIteratorDataSet. iterateWithMiniBatches()Deprecated. -
Uses of DataSetIterator in org.nd4j.linalg.dataset.api.iterator
Subinterfaces of DataSetIterator in org.nd4j.linalg.dataset.api.iterator Modifier and Type Interface Description interfaceParallelDataSetIteratorClasses in org.nd4j.linalg.dataset.api.iterator that implement DataSetIterator Modifier and Type Class Description classBaseDatasetIteratorclassCachingDataSetIteratorclassKFoldIteratorclassMultipleEpochsIteratorDeprecated.classSamplingDataSetIteratorA wrapper for a dataset to sample from.classTestDataSetIteratorMethods in org.nd4j.linalg.dataset.api.iterator that return DataSetIterator Modifier and Type Method Description DataSetIteratorDataSetIteratorFactory. create()Methods in org.nd4j.linalg.dataset.api.iterator with parameters of type DataSetIterator Modifier and Type Method Description voidStandardScaler. fit(DataSetIterator iterator)Deprecated.Fit the given modelConstructors in org.nd4j.linalg.dataset.api.iterator with parameters of type DataSetIterator Constructor Description CachingDataSetIterator(DataSetIterator sourceIterator, DataSetCache cache)CachingDataSetIterator(DataSetIterator sourceIterator, DataSetCache cache, String namespace)CachingDataSetIterator(DataSetIterator sourceIterator, DataSetCache cache, String namespace, boolean allowPrefetching)MultipleEpochsIterator(int numPasses, DataSetIterator iter)Deprecated. -
Uses of DataSetIterator in org.nd4j.linalg.dataset.api.preprocessor
Methods in org.nd4j.linalg.dataset.api.preprocessor with parameters of type DataSetIterator Modifier and Type Method Description voidAbstractDataSetNormalizer. fit(DataSetIterator iterator)Fit the given modelvoidDataNormalization. fit(DataSetIterator iterator)Iterates over a dataset accumulating statistics for normalizationvoidImagePreProcessingScaler. fit(DataSetIterator iterator)Iterates over a dataset accumulating statistics for normalizationvoidVGG16ImagePreProcessor. fit(DataSetIterator iterator)Iterates over a dataset accumulating statistics for normalization -
Uses of DataSetIterator in org.nd4j.linalg.heartbeat.utils
Methods in org.nd4j.linalg.heartbeat.utils with parameters of type DataSetIterator Modifier and Type Method Description static TaskTaskUtils. buildTask(DataSetIterator dataSetIterator)
-