Class ZTransformer

  • All Implemented Interfaces:
    IFilter

    public class ZTransformer
    extends AFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      ZTransformer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void fit​(double[] input)
      The function only fits a single instance of the dataset
      void fit​(double[][] input)  
      void fit​(TimeSeriesDataset input)
      the function computes the needed information for the transform function.
      double[] fitTransform​(double[] input)
      the function fit and transforms a single instance
      double[][] fitTransform​(double[][] input)  
      TimeSeriesDataset fitTransform​(TimeSeriesDataset input)
      a utility function to avoid the added effort of calling the fit and transform function separate
      void setBasselCorrected​(boolean basselCorrected)  
      double[] transform​(double[] input)
      This function transforms only a single instance.
      double[][] transform​(double[][] input)  
      TimeSeriesDataset transform​(TimeSeriesDataset input)
      represents a function working on a dataset by transforming the dataset itself.
      • Methods inherited from class java.lang.Object

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

      • ZTransformer

        public ZTransformer()
    • Method Detail

      • setBasselCorrected

        public void setBasselCorrected​(boolean basselCorrected)
      • transform

        public TimeSeriesDataset transform​(TimeSeriesDataset input)
        Description copied from interface: IFilter
        represents a function working on a dataset by transforming the dataset itself.
        Parameters:
        input - the data set that is to transform
        Returns:
        the transformt dataset
      • fit

        public void fit​(TimeSeriesDataset input)
        Description copied from interface: IFilter
        the function computes the needed information for the transform function.
        Parameters:
        input - the dataset that is to transform
      • fitTransform

        public TimeSeriesDataset fitTransform​(TimeSeriesDataset input)
        Description copied from interface: IFilter
        a utility function to avoid the added effort of calling the fit and transform function separate
        Specified by:
        fitTransform in interface IFilter
        Overrides:
        fitTransform in class AFilter
        Parameters:
        input - the dataset that is to be transfromed
        Returns:
        the transformed dataset
      • transform

        public double[] transform​(double[] input)
        Description copied from interface: IFilter
        This function transforms only a single instance.
        Parameters:
        input - the to transform instance
        Returns:
        the transformed instance
      • fit

        public void fit​(double[] input)
        Description copied from interface: IFilter
        The function only fits a single instance of the dataset
        Parameters:
        input - The to fit instance
      • fitTransform

        public double[] fitTransform​(double[] input)
        Description copied from interface: IFilter
        the function fit and transforms a single instance
        Parameters:
        input - the to fit and transform instance
        Returns:
        the transformed instance
      • transform

        public double[][] transform​(double[][] input)
      • fit

        public void fit​(double[][] input)
      • fitTransform

        public double[][] fitTransform​(double[][] input)