Documentation of 'org.encog.ml.data.versatile.normalizers.strategies.NormalizationStrategy' Java class
NormalizationStrategy
org.encog.ml.data.versatile.normalizers.strategies

Interface NormalizationStrategy

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    BasicNormalizationStrategy


    public interface NormalizationStrategy
    extends java.io.Serializable
    Defines the interface to a normalization strategy.
    • Method Detail

      • normalizedSize

        int normalizedSize(ColumnDefinition colDef,
                           boolean isInput)
        Calculate how many elements a column will normalize into.
        Parameters:
        colDef - The column definition.
        isInput - True, if this is an input column.
        Returns:
        The number of elements needed to normalize this column.
      • normalizeColumn

        int normalizeColumn(ColumnDefinition colDef,
                            boolean isInput,
                            java.lang.String value,
                            double[] outpuData,
                            int outputColumn)
        Normalize a column, with a string input.
        Parameters:
        colDef - The column definition.
        isInput - True, if this is an input column.
        value - The value to normalize.
        outpuData - The output data.
        outputColumn - The element to begin outputing to.
        Returns:
        The new output element, advanced by the correct amount.
      • denormalizeColumn

        java.lang.String denormalizeColumn(ColumnDefinition colDef,
                                           boolean isInput,
                                           MLData output,
                                           int idx)
        Normalize a column, with a double input.
        Parameters:
        colDef - The column definition.
        isInput - True, if this is an input column.
        output - The output data.
        idx - The element to begin outputing to.
        Returns:
        The new output element, advanced by the correct amount.
      • normalizeColumn

        int normalizeColumn(ColumnDefinition colDef,
                            boolean isInput,
                            double value,
                            double[] outpuData,
                            int outputColumn)
        Normalize a column, with a double value.
        Parameters:
        colDef - The column definition.
        isInput - True, if this is an input column.
        value - The value to normalize.
        outpuData - The output data.
        outputColumn - The element to begin outputing to.
        Returns:
        The new output element, advanced by the correct amount.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.