Documentation of 'Catalano.MachineLearning.FeatureScaling.LogarithmNormalization' Java class
LogarithmNormalization
Catalano.MachineLearning.FeatureScaling

Class LogarithmNormalization

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


    public class LogarithmNormalization
    extends java.lang.Object
    implements IFeatureScaling
    Logarithm Normalization. sign(x) * log10(abs(x)+1)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      LogarithmNormalization()
      Initializes a new instance of the LogarithmNormalization class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double[][] Apply(DecisionVariable[] variables, double[][] data)
      Apply the normalization.
      double[][] Apply(double[][] data)
      Apply the normalization.
      void ApplyInPlace(DecisionVariable[] variables, double[][] data)
      Apply the normalization in place of the original data.
      void ApplyInPlace(double[][] data)
      Apply the normalization in place of the original data.
      double[] Compute(DecisionVariable[] variables, double[] feature)
      Normalize the feature.
      double[] Compute(double[] feature)
      Normalize the feature.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LogarithmNormalization

        public LogarithmNormalization()
        Initializes a new instance of the LogarithmNormalization class.
    • Method Detail

      • Apply

        public double[][] Apply(double[][] data)
        Description copied from interface: IFeatureScaling
        Apply the normalization.
        Specified by:
        Apply in interface IFeatureScaling
        Parameters:
        data - Data to be normalized.
        Returns:
        Normalized data.
      • Apply

        public double[][] Apply(DecisionVariable[] variables,
                                double[][] data)
        Description copied from interface: IFeatureScaling
        Apply the normalization.
        Specified by:
        Apply in interface IFeatureScaling
        Parameters:
        variables - Decision variables.
        data - Data to be normalized.
        Returns:
        Normalized. data.
      • ApplyInPlace

        public void ApplyInPlace(double[][] data)
        Description copied from interface: IFeatureScaling
        Apply the normalization in place of the original data.
        Specified by:
        ApplyInPlace in interface IFeatureScaling
        Parameters:
        data - Data to be normalized.
      • ApplyInPlace

        public void ApplyInPlace(DecisionVariable[] variables,
                                 double[][] data)
        Description copied from interface: IFeatureScaling
        Apply the normalization in place of the original data.
        Specified by:
        ApplyInPlace in interface IFeatureScaling
        Parameters:
        variables - Decision variables.
        data - Data to be normalized.
      • Compute

        public double[] Compute(double[] feature)
        Description copied from interface: IFeatureScaling
        Normalize the feature.
        Specified by:
        Compute in interface IFeatureScaling
        Parameters:
        feature - Feature to be normalized.
        Returns:
        Normalized feature.
      • Compute

        public double[] Compute(DecisionVariable[] variables,
                                double[] feature)
        Description copied from interface: IFeatureScaling
        Normalize the feature.
        Specified by:
        Compute in interface IFeatureScaling
        Parameters:
        variables - Decision variables.
        feature - Feature.
        Returns:
        Normalized feature.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.