Modifier and Type | Method and Description |
---|---|
DataSet |
DataSet.copy() |
static DataSet |
DataSet.empty() |
DataSet |
DataSet.get(int i) |
static DataSet |
DataSet.load(File path) |
static DataSet |
DataSet.merge(List<DataSet> data) |
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) |
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 |
BaseDataFetcher.next() |
Modifier and Type | Method and Description |
---|---|
DataSet |
DataSetFetcher.next() |
DataSet |
BaseDatasetIterator.next() |
Modifier and Type | Method and Description |
---|---|
DataSet |
ListDataSetIterator.next() |
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 |
---|---|
static DataSet |
MatrixUtil.xorData(int n) |
static DataSet |
MatrixUtil.xorData(int n,
int columns) |
Copyright © 2014. All Rights Reserved.