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

Class PassThroughNormalizer

  • All Implemented Interfaces:
    java.io.Serializable, Normalizer


    public class PassThroughNormalizer
    extends java.lang.Object
    implements Normalizer
    A normalizer that simply passes the value through unnormalized.
    See Also:
    Serialized Form
    • Constructor Detail

      • PassThroughNormalizer

        public PassThroughNormalizer()
    • Method Detail

      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • outputSize

        public int outputSize(ColumnDefinition colDef)
        Determine the normalized size of the specified column.
        Specified by:
        outputSize in interface Normalizer
        Parameters:
        colDef - The column to check.
        Returns:
        The size of the column normalized.
      • normalizeColumn

        public int normalizeColumn(ColumnDefinition colDef,
                                   java.lang.String value,
                                   double[] outputData,
                                   int outputColumn)
        Normalize a column from a string. The output will go to an array, starting at outputColumn.
        Specified by:
        normalizeColumn in interface Normalizer
        Parameters:
        colDef - The column that is being normalized.
        value - The value to normalize.
        outputData - The array to output to.
        outputColumn - The index to start at in outputData.
        Returns:
        The new index (in outputData) that we've moved to.
      • denormalizeColumn

        public java.lang.String denormalizeColumn(ColumnDefinition colDef,
                                                  MLData data,
                                                  int dataColumn)
        Denormalize a value.
        Specified by:
        denormalizeColumn in interface Normalizer
        Parameters:
        colDef - The column to denormalize.
        data - The data to denormalize.
        dataColumn - The starting location inside data.
        Returns:
        The denormalized value.
      • normalizeColumn

        public int normalizeColumn(ColumnDefinition colDef,
                                   double value,
                                   double[] outputData,
                                   int outputColumn)
        Description copied from interface: Normalizer
        Normalize a column from a double. The output will go to an array, starting at outputColumn.
        Specified by:
        normalizeColumn in interface Normalizer
        Parameters:
        colDef - The column that is being normalized.
        value - The value to normalize.
        outputData - The array to output to.
        outputColumn - The index to start at in outputData.
        Returns:
        The new index (in outputData) that we've moved to.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.