|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.util.arrayutil.TemporalWindowArray
public class TemporalWindowArray
Produce a time-series from an array.
Constructor Summary | |
---|---|
TemporalWindowArray(int theInputWindow,
int thePredictWindow)
Construct a time-series from an array. |
Method Summary | |
---|---|
void |
analyze(double[] array)
Analyze the 1D array. |
void |
analyze(double[][] array)
Analyze the 2D array. |
int |
countInputFields()
Count the number of input fields, or fields used to predict. |
int |
countPredictFields()
Count the number of fields that are that are in the prediction. |
TemporalWindowField[] |
getFields()
|
int |
getInputWindow()
|
int |
getPredictWindow()
|
MLDataSet |
process(double[] data)
Process the array. |
MLDataSet |
process(double[][] data)
Processes the specified data array in an IMLDataset. |
MLDataPair |
processToPair(double[] data)
Process the data array and returns an MLdatapair. |
void |
setInputWindow(int theInputWindow)
|
void |
setPredictWindow(int thePredictWindow)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemporalWindowArray(int theInputWindow, int thePredictWindow)
theInputWindow
- The size of the input window.thePredictWindow
- The size of the predict window.Method Detail |
---|
public final void analyze(double[] array)
array
- The array to analyze.public final void analyze(double[][] array)
array
- The 2D array to analyze.public final int countInputFields()
public final int countPredictFields()
public final TemporalWindowField[] getFields()
public final int getInputWindow()
public final int getPredictWindow()
public final MLDataSet process(double[] data)
data
- The array to process.
public final void setInputWindow(int theInputWindow)
theInputWindow
- the inputWindow to setpublic final void setPredictWindow(int thePredictWindow)
thePredictWindow
- the predictWindow to setpublic MLDataSet process(double[][] data)
data
- The data.
public MLDataPair processToPair(double[] data)
data
- The array to process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |