Modifier and Type | Method and Description |
---|---|
DataSet |
LFWLoader.convertListPairs(List<DataSet> images) |
DataSet |
LFWLoader.fromImageFile(int label,
File image) |
DataSet |
LFWLoader.getAllImagesAsMatrix() |
DataSet |
LFWLoader.getAllImagesAsMatrix(int numRows) |
DataSet |
LFWLoader.getDataFor(int i) |
static DataSet |
IrisUtils.loadIris() |
Modifier and Type | Method and Description |
---|---|
List<DataSet> |
LFWLoader.getFirst(int num)
Get the first num found images
|
List<DataSet> |
LFWLoader.getImages(int label,
File file) |
List<DataSet> |
LFWLoader.getImagesAsList() |
static List<DataSet> |
IrisUtils.loadIris(int from,
int to) |
Modifier and Type | Method and Description |
---|---|
DataSet |
LFWLoader.convertListPairs(List<DataSet> images) |
Modifier and Type | Class and Description |
---|---|
class |
Example |
Modifier and Type | Method and Description |
---|---|
DataSet |
DataSet.copy() |
static DataSet |
DataSet.empty() |
DataSet |
DataSet.filterBy(int[] labels)
Strips the data set of all but the passed in labels
|
DataSet |
DataSet.get(int i)
Gets a copy of example i
|
static DataSet |
DataSets.iris() |
static DataSet |
DataSets.iris(int num) |
static DataSet |
DataSets.lfw() |
static DataSet |
DataSets.lfw(int num) |
static DataSet |
DataSet.load(File path) |
static DataSet |
DataSet.merge(List<DataSet> data) |
static DataSet |
DataSets.mnist() |
static DataSet |
DataSets.mnist(int num) |
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,
org.apache.commons.math3.random.RandomGenerator rng)
Sample without replacement
|
DataSet |
DataSet.sample(int numSamples,
org.apache.commons.math3.random.RandomGenerator rng,
boolean withReplacement)
Sample a dataset
|
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)
Partitions the data set by the specified number.
|
Iterator<DataSet> |
DataSet.iterator() |
List<List<DataSet>> |
DataSet.sortAndBatchByNumLabels()
Sorts the dataset by label:
Splits the data set such that examples are sorted by their labels.
|
Pair<DataSet,DataSet> |
DataSet.splitTestAndTrain(int numHoldout) |
Pair<DataSet,DataSet> |
DataSet.splitTestAndTrain(int numHoldout) |
Modifier and Type | Method and Description |
---|---|
void |
DataSet.addRow(DataSet d,
int i) |
Modifier and Type | Method and Description |
---|---|
static DataSet |
DataSet.merge(List<DataSet> data) |
Modifier and Type | Field and Description |
---|---|
protected DataSet |
BaseDataFetcher.curr |
Modifier and Type | Method and Description |
---|---|
DataSet |
MnistDataFetcher.next() |
DataSet |
BaseDataFetcher.next() |
DataSet |
LFWDataFetcher.next() |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseDataFetcher.initializeCurrFromList(List<DataSet> examples)
Initializes this data set fetcher from the passed in datasets
|
Modifier and Type | Method and Description |
---|---|
DataSet |
SamplingDataSetIterator.next() |
DataSet |
DataSetFetcher.next()
Returns the next data set
|
DataSet |
BaseDatasetIterator.next() |
DataSet |
DataSetIterator.next(int num)
Like the standard next method but allows a
customizable number of examples returned
|
DataSet |
SamplingDataSetIterator.next(int num) |
DataSet |
BaseDatasetIterator.next(int num) |
Constructor and Description |
---|
SamplingDataSetIterator(DataSet sampleFrom,
int batchSize,
int totalNumberSamples) |
Modifier and Type | Method and Description |
---|---|
DataSet |
ListDataSetIterator.next() |
DataSet |
ListDataSetIterator.next(int num) |
Constructor and Description |
---|
ListDataSetIterator(Collection<DataSet> coll)
Initializes with a batch of 5
|
ListDataSetIterator(Collection<DataSet> coll,
int batch) |
Modifier and Type | Method and Description |
---|---|
static void |
DrawMnist.drawMnist(DataSet mnist,
org.jblas.DoubleMatrix reconstruct) |
Modifier and Type | Method and Description |
---|---|
DataSet |
ImageVectorizer.vectorize() |
DataSet |
Vectorizer.vectorize()
Vectorizes the input source in to a dataset
|
Modifier and Type | Method and Description |
---|---|
void |
BaseMultiLayerNetwork.initialize(DataSet data)
Sets the input and labels from this dataset
|
Modifier and Type | Method and Description |
---|---|
DataSet |
TestDataSetIterator.next() |
DataSet |
TestDataSetIterator.next(int num) |
Modifier and Type | Method and Description |
---|---|
static DataSet |
MatrixUtil.xorData(int n) |
static DataSet |
MatrixUtil.xorData(int n,
int columns) |
Copyright © 2014. All Rights Reserved.