org.encog.util.normalize.input
public class InputFieldArray2D extends BasicInputField implements HasFixedLength
| Constructor and Description |
|---|
InputFieldArray2D(boolean usedForNetworkInput,
double[][] array,
int index2)
Construct a 2D array input field.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue(int i)
Read a value from the specified index.
|
int |
length() |
applyMinMax, getCurrentValue, getMax, getMin, getUsedForNetworkInput, setCurrentValue, setMax, setMin, setUsedForNetworkInputpublic InputFieldArray2D(boolean usedForNetworkInput,
double[][] array,
int index2)
usedForNetworkInput - Is this field used for neural network input?array - The array to use.index2 - The secondary index to read the field from.public double getValue(int i)
getValue in interface InputFieldgetValue in class BasicInputFieldi - The index.public int length()
length in interface HasFixedLengthCopyright © 2014. All Rights Reserved.