|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.ml.data.auto.AutoFloatDataSet
public class AutoFloatDataSet
Nested Class Summary | |
---|---|
class |
AutoFloatDataSet.AutoFloatIterator
|
Constructor Summary | |
---|---|
AutoFloatDataSet(int theInputCount,
int theIdealCount,
int theInputWindowSize,
int theOutputWindowSize)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoFloatDataSet(int theInputCount, int theIdealCount, int theInputWindowSize, int theOutputWindowSize)
Method Detail |
---|
public Iterator<MLDataPair> iterator()
iterator
in interface Iterable<MLDataPair>
public int getIdealSize()
getIdealSize
in interface MLDataSet
public int getInputSize()
getInputSize
in interface MLDataSet
public boolean isSupervised()
isSupervised
in interface MLDataSet
public long getRecordCount()
MLDataSet
getRecordCount
in interface MLDataSet
public void getRecord(long index, MLDataPair pair)
MLDataSet
getRecord
in interface MLDataSet
index
- The index to read.pair
- The pair that the record will be copied into.public MLDataSet openAdditional()
MLDataSet
openAdditional
in interface MLDataSet
public void add(MLData data1)
MLDataSet
add
in interface MLDataSet
data1
- The data item to be added.public void add(MLData inputData, MLData idealData)
MLDataSet
add
in interface MLDataSet
inputData
- Input data.idealData
- Ideal data.public void add(MLDataPair inputData)
MLDataSet
add
in interface MLDataSet
inputData
- A MLDataPair object that contains both input and ideal data.public void close()
MLDataSet
close
in interface MLDataSet
public int size()
size
in interface MLDataSet
public MLDataPair get(int index)
get
in interface MLDataSet
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 set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |