Package | Description |
---|---|
org.nd4j.linalg.dataset | |
org.nd4j.linalg.dataset.api | |
org.nd4j.linalg.dataset.api.iterator | |
org.nd4j.linalg.dataset.api.iterator.fetcher |
Modifier and Type | Method and Description |
---|---|
DataSet |
DataSet.copy()
Clone the dataset
|
static DataSet |
DataSet.empty()
Returns a single dataset
|
DataSet |
DataSet.filterBy(int[] labels)
Strips the data transform of all but the passed in labels
|
DataSet |
DataSet.get(int i)
Gets a copy of example i
|
DataSet |
DataSet.get(int[] i)
Gets a copy of example i
|
DataSet |
SplitTestAndTrain.getTest() |
DataSet |
SplitTestAndTrain.getTrain() |
static DataSet |
DataSet.merge(List<DataSet> data)
Merge the list of datasets in to one list.
|
static DataSet |
DataSet.merge(List<DataSet> data,
boolean clone)
Merge the list of datasets in to one list.
|
DataSet |
MiniBatchFileDataSetIterator.next() |
DataSet |
ExistingMiniBatchDataSetIterator.next() |
DataSet |
ViewIterator.next() |
DataSet |
MiniBatchFileDataSetIterator.next(int num) |
DataSet |
ExistingMiniBatchDataSetIterator.next(int num) |
DataSet |
ViewIterator.next(int num) |
DataSet |
DataSet.reshape(int rows,
int cols)
Reshapes the input in to the given rows and columns
|
DataSet |
DataSet.sample(int numSamples)
Sample without replacement and a random rng
|
DataSet |
DataSet.sample(int numSamples,
boolean withReplacement)
Sample a dataset numSamples times
|
DataSet |
DataSet.sample(int numSamples,
Random rng)
Sample without replacement
|
DataSet |
DataSet.sample(int numSamples,
Random rng,
boolean withReplacement)
Sample a dataset
|
Modifier and Type | Method and Description |
---|---|
List<DataSet> |
DataSet.asList() |
List<List<DataSet>> |
DataSet.batchBy(int num)
Partitions a dataset in to mini batches where
each dataset in each list is of the specified number of examples
|
List<List<DataSet>> |
DataSet.batchByNumLabels() |
List<DataSet> |
DataSet.dataSetBatches(int num)
Partitions the data transform by the specified number.
|
Iterator<DataSet> |
DataSet.iterator() |
List<List<DataSet>> |
DataSet.sortAndBatchByNumLabels()
Sorts the dataset by label:
Splits the data transform such that examples are sorted by their labels.
|
Modifier and Type | Method and Description |
---|---|
void |
DataSet.addRow(DataSet d,
int i) |
void |
SplitTestAndTrain.setTest(DataSet test) |
void |
SplitTestAndTrain.setTrain(DataSet train) |
Modifier and Type | Method and Description |
---|---|
static DataSet |
DataSet.merge(List<DataSet> data)
Merge the list of datasets in to one list.
|
static DataSet |
DataSet.merge(List<DataSet> data,
boolean clone)
Merge the list of datasets in to one list.
|
Constructor and Description |
---|
MiniBatchFileDataSetIterator(DataSet baseData,
int batchSize) |
MiniBatchFileDataSetIterator(DataSet baseData,
int batchSize,
boolean delete) |
MiniBatchFileDataSetIterator(DataSet baseData,
int batchSize,
boolean delete,
File rootDir) |
SplitTestAndTrain(DataSet train,
DataSet test) |
ViewIterator(DataSet data,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
DataSet |
DataSet.copy() |
DataSet |
DataSet.filterBy(int[] labels) |
DataSet |
DataSet.get(int i) |
DataSet |
DataSet.get(int[] i) |
DataSet |
DataSet.reshape(int rows,
int cols) |
DataSet |
DataSet.sample(int numSamples) |
DataSet |
DataSet.sample(int numSamples,
boolean withReplacement) |
DataSet |
DataSet.sample(int numSamples,
Random rng) |
DataSet |
DataSet.sample(int numSamples,
Random rng,
boolean withReplacement) |
Modifier and Type | Method and Description |
---|---|
List<DataSet> |
DataSet.asList() |
List<List<DataSet>> |
DataSet.batchBy(int num) |
List<List<DataSet>> |
DataSet.batchByNumLabels() |
List<DataSet> |
DataSet.dataSetBatches(int num) |
Iterator<DataSet> |
DataSet.iterator() |
List<List<DataSet>> |
DataSet.sortAndBatchByNumLabels() |
Modifier and Type | Method and Description |
---|---|
void |
DataSet.addRow(DataSet d,
int i) |
Modifier and Type | Method and Description |
---|---|
DataSet |
SamplingDataSetIterator.next() |
DataSet |
BaseDatasetIterator.next() |
DataSet |
MultipleEpochsIterator.next()
Returns the next element in the iteration.
|
DataSet |
SamplingDataSetIterator.next(int num) |
DataSet |
BaseDatasetIterator.next(int num) |
DataSet |
MultipleEpochsIterator.next(int num)
Like the standard next method but allows a
customizable number of examples returned
|
DataSet |
DataSetIterator.next(int num)
Like the standard next method but allows a
customizable number of examples returned
|
Modifier and Type | Method and Description |
---|---|
void |
StandardScaler.fit(DataSet dataSet) |
void |
StandardScaler.transform(DataSet dataSet)
Transform the data
|
Constructor and Description |
---|
SamplingDataSetIterator(DataSet sampleFrom,
int batchSize,
int totalNumberSamples) |
SamplingDataSetIterator(DataSet sampleFrom,
int batchSize,
int totalNumberSamples,
boolean replace) |
Modifier and Type | Field and Description |
---|---|
protected DataSet |
BaseDataFetcher.curr |
Modifier and Type | Method and Description |
---|---|
DataSet |
DataSetFetcher.next()
Returns the next data applyTransformToDestination
|
DataSet |
BaseDataFetcher.next() |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseDataFetcher.initializeCurrFromList(List<DataSet> examples)
Initializes this data transform fetcher from the passed in datasets
|
Copyright © 2015. All Rights Reserved.