org.encog.util.normalize.input
public class InputFieldArray1D extends BasicInputField implements HasFixedLength
| Constructor and Description |
|---|
InputFieldArray1D(boolean usedForNetworkInput,
double[] array)
Construct the 1D array field.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue(int i)
Get the value from the specified index.
|
int |
length() |
applyMinMax, getCurrentValue, getMax, getMin, getUsedForNetworkInput, setCurrentValue, setMax, setMin, setUsedForNetworkInputpublic InputFieldArray1D(boolean usedForNetworkInput,
double[] array)
usedForNetworkInput - True if this field is used for the actual
input to the neural network. See getUsedForNetworkInput for more info.array - The array to use.public double getValue(int i)
getValue in interface InputFieldgetValue in class BasicInputFieldi - The index to retrieve.public int length()
length in interface HasFixedLengthCopyright © 2014. All Rights Reserved.