Documentation of 'org.encog.util.normalize.input.InputField' Java class
InputField
org.encog.util.normalize.input

Interface InputField

    • Method Detail

      • applyMinMax

        void applyMinMax(double d)
        Update the min and max values for this field with the specified values.
        Parameters:
        d - The current value to use to update min and max.
      • getCurrentValue

        double getCurrentValue()
        Returns:
        The current value of the input field. This is only valid, while the normalization is being performed.
      • getMax

        double getMax()
        Returns:
        The maximum value for all of the input data, this is calculated during the first pass of normalization.
      • getMin

        double getMin()
        Returns:
        The minimum value for all of the input data, this is calculated during the first pass of normalization.
      • getUsedForNetworkInput

        boolean getUsedForNetworkInput()
        Returns:
        True, if this field is used for network input. This is needed so that the buildForNetworkInput method of the normalization class knows how many input fields to expect. For instance, fields used only to segregate data are not used for the actual network input and may not be provided when the network is actually being queried.
      • getValue

        double getValue(int i)
        Called for input field types that require an index to get the current value. This is used by the InputFieldArray1D and InputFieldArray2D classes.
        Parameters:
        i - The index to read.
        Returns:
        The value read.
      • setCurrentValue

        void setCurrentValue(double d)
        Set the current value of this field. This value is only valid while the normalization is occurring.
        Parameters:
        d - The current value of this field.
      • setMax

        void setMax(double max)
        Set the current max value.
        Parameters:
        max - The maximum value encountered on this field so far.
      • setMin

        void setMin(double min)
        Set the current min value.
        Parameters:
        min - The minimum value encountered on this field so far.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.