org.encog.ml.data.auto
public class AutoFloatDataSet extends Object implements Serializable, MLDataSet
| Modifier and Type | Class and Description |
|---|---|
class |
AutoFloatDataSet.AutoFloatIterator |
| Constructor and Description |
|---|
AutoFloatDataSet(int theInputCount,
int theIdealCount,
int theInputWindowSize,
int theOutputWindowSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(MLData data1)
Add a object to the dataset.
|
void |
add(MLData inputData,
MLData idealData)
Add a set of input and ideal data to the dataset.
|
void |
add(MLDataPair inputData)
Add a an object to the dataset.
|
void |
addColumn(float[] data) |
void |
close()
Close this datasource and release any resources obtained by it, including
any iterators created.
|
MLDataPair |
get(int index) |
int |
getIdealSize() |
int |
getInputSize() |
float |
getNormalizedMax() |
float |
getNormalizedMin() |
void |
getRecord(long index,
MLDataPair pair)
Read an individual record, specified by index, in random order.
|
long |
getRecordCount()
Determine the total number of records in the set.
|
boolean |
isNormalizationEnabled() |
boolean |
isSupervised() |
Iterator<MLDataPair> |
iterator() |
void |
loadCSV(String filename,
boolean headers,
CSVFormat format,
int[] input,
int[] ideal) |
MLDataSet |
openAdditional()
Opens an additional instance of this dataset.
|
void |
setNormalizationEnabled(boolean normalizationEnabled) |
void |
setNormalizedMax(float normalizedMax) |
void |
setNormalizedMin(float normalizedMin) |
int |
size() |
public AutoFloatDataSet(int theInputCount,
int theIdealCount,
int theInputWindowSize,
int theOutputWindowSize)
public Iterator<MLDataPair> iterator()
iterator in interface Iterable<MLDataPair>public int getIdealSize()
getIdealSize in interface MLDataSetpublic int getInputSize()
getInputSize in interface MLDataSetpublic boolean isSupervised()
isSupervised in interface MLDataSetpublic long getRecordCount()
MLDataSetgetRecordCount in interface MLDataSetpublic void getRecord(long index,
MLDataPair pair)
MLDataSetpublic MLDataSet openAdditional()
MLDataSetopenAdditional in interface MLDataSetpublic void add(MLData data1)
MLDataSetpublic void add(MLData inputData, MLData idealData)
MLDataSetpublic void add(MLDataPair inputData)
MLDataSetpublic void close()
MLDataSetpublic MLDataPair get(int index)
public void addColumn(float[] data)
public void loadCSV(String filename, boolean headers, CSVFormat format, int[] input, int[] ideal)
public float getNormalizedMax()
public void setNormalizedMax(float normalizedMax)
normalizedMax - the normalizedMax to setpublic float getNormalizedMin()
public void setNormalizedMin(float normalizedMin)
normalizedMin - the normalizedMin to setpublic boolean isNormalizationEnabled()
public void setNormalizationEnabled(boolean normalizationEnabled)
normalizationEnabled - the normalizationEnabled to setCopyright © 2014. All Rights Reserved.