Interface IFilter

    • Method Detail

      • transform

        TimeSeriesDataset2 transform​(TimeSeriesDataset2 input)
        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
        Throws:
        NoneFittedFilterExeception - used if transform is called without fit
        java.lang.IllegalArgumentException - used if dataset to transform is empty
      • transform

        double[] transform​(double[] input)
        This function transforms only a single instance.
        Parameters:
        input - the to transform instance
        Returns:
        the transformed instance
        Throws:
        NoneFittedFilterExeception
      • transform

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

        void fit​(TimeSeriesDataset2 input)
        the function computes the needed information for the transform function.
        Parameters:
        input - the dataset that is to transform
      • fit

        void fit​(double[] input)
        The function only fits a single instance of the dataset
        Parameters:
        input - The to fit instance
      • fit

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

        TimeSeriesDataset2 fitTransform​(TimeSeriesDataset2 input)
        a utility function to avoid the added effort of calling the fit and transform function separate
        Parameters:
        input - the dataset that is to be transfromed
        Returns:
        the transformed dataset
        Throws:
        NoneFittedFilterExeception - used if transform is called without fit
        java.lang.IllegalArgumentException - used if dataset to transform is empty
      • fitTransform

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

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