public abstract class DeepLearningTest extends Object
Constructor and Description |
---|
DeepLearningTest() |
Modifier and Type | Method and Description |
---|---|
List<Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix>> |
getFaces()
LFW Dataset: pick all faces
|
static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> |
getFaces(int num)
LFW Dataset: pick first num faces
|
static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> |
getFacesMatrix()
LFW Dataset: pick all faces
|
static List<Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix>> |
getFirstFaces(int num)
LFW Dataset: pick first num faces
|
static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> |
getIris() |
static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> |
getIris(int num) |
static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> |
getMnistExample(int example)
Gets an mnist example as an input, label pair.
|
static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> |
getMnistExampleBatch(int batchSize)
Gets an mnist example as an input, label pair.
|
List<Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix>> |
getMnistExampleBatches(int batchSize,
int numBatches)
Gets an mnist example as an input, label pair.
|
public static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> getIris() throws IOException
IOException
public static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> getIris(int num) throws IOException
IOException
public static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> getFaces(int num) throws Exception
num
- Exception
public static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> getFacesMatrix() throws Exception
num
- Exception
public static List<Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix>> getFirstFaces(int num) throws Exception
num
- Exception
public List<Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix>> getFaces() throws Exception
num
- Exception
public static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> getMnistExample(int example) throws IOException
example
- the example to getIOException
public List<Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix>> getMnistExampleBatches(int batchSize, int numBatches) throws IOException
example
- the example to getbatchSize
- the batch size of examples to getIOException
public static Pair<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix> getMnistExampleBatch(int batchSize) throws IOException
example
- the example to getbatchSize
- the batch size of examples to getIOException
Copyright © 2014. All Rights Reserved.