Class SineTransform

  • All Implemented Interfaces:
    IFilter

    public class SineTransform
    extends ATransformFilter
    Calculates the sine transform of a time series. For this implementation, the definition as given in "Non-isometric transforms in time series classification using DTW" by Tomasz Gorecki and Maciej Luczak (2014) is used. The sine transform f = {f(k): k = 1 to n} of a time series T = {T(i): i = 1 to n } is defined as f(k) = sum_{i=1}^{n} T(i) * sin[(PI/n)*(i-0.5)*k].
    • Constructor Detail

      • SineTransform

        public SineTransform()
    • Method Detail

      • 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