org.encog.util.simple
public class TrainingSetUtil extends Object
| Constructor and Description |
|---|
TrainingSetUtil() |
| Modifier and Type | Method and Description |
|---|---|
static MLDataSet |
loadCSVTOMemory(CSVFormat format,
String filename,
boolean headers,
int inputSize,
int idealSize)
Load a CSV file into a memory dataset.
|
static ObjectPair<double[][],double[][]> |
trainingToArray(MLDataSet training) |
public static MLDataSet loadCSVTOMemory(CSVFormat format, String filename, boolean headers, int inputSize, int idealSize)
format - The CSV format to use.filename - The filename to load.headers - True if there is a header line.inputSize - The input size. Input always comes first in a file.idealSize - The ideal size, 0 for unsupervised.public static ObjectPair<double[][],double[][]> trainingToArray(MLDataSet training)
Copyright © 2014. All Rights Reserved.