org.encog.util.normalize.input
Class InputFieldMLDataSet
- java.lang.Object
-
- org.encog.util.normalize.input.BasicInputField
-
- org.encog.util.normalize.input.InputFieldMLDataSet
-
- All Implemented Interfaces:
- java.io.Serializable, InputField
public class InputFieldMLDataSet extends BasicInputField
An input field based on an Encog NeuralDataSet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description InputFieldMLDataSet(boolean usedForNetworkInput, NeuralDataSet data, int offset)Construct a input field based on a NeuralDataSet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description NeuralDataSetgetNeuralDataSet()intgetOffset()-
Methods inherited from class org.encog.util.normalize.input.BasicInputField
applyMinMax, getCurrentValue, getMax, getMin, getUsedForNetworkInput, getValue, setCurrentValue, setMax, setMin, setUsedForNetworkInput
-
-
-
-
Constructor Detail
-
InputFieldMLDataSet
public InputFieldMLDataSet(boolean usedForNetworkInput, NeuralDataSet data, int offset)Construct a input field based on a NeuralDataSet.- Parameters:
usedForNetworkInput- Is this field used for neural input.data- The data set to use.offset- The input or ideal index to use. This treats the input and ideal as one long array, concatenated together.
-
-
Method Detail
-
getNeuralDataSet
public NeuralDataSet getNeuralDataSet()
- Returns:
- The neural data set to read.
-
getOffset
public int getOffset()
- Returns:
- The field to be accessed. This treats the input and ideal as one long array, concatenated together.
-
-
DMelt 3.0 © DataMelt by jWork.ORG