Class ATransformFilter

    • 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
      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

      • ATransformFilter

        public ATransformFilter()
    • Method Detail

      • transform

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

        public double[][] transform​(double[][] input)
        Specified by:
        transform in interface IFilter
      • fit

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

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

        public void fit​(double[][] input)
        Specified by:
        fit in interface IFilter
      • 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
        Parameters:
        input - the dataset that is to be transfromed
        Returns:
        the transformed dataset
      • fitTransform

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

        public double[][] fitTransform​(double[][] input)
        Specified by:
        fitTransform in interface IFilter